J2ME unnecessary annoying HTTP access request

Some phones only ask the user for permission the first time they connect. Others pop up permission prompts whenever a MIDlet tries to make an HTTP connection! What are the options if we want to suppress the invitation?

Can we sign a JAR using only one certification authority (CA) and work on all devices? Do I have to pay for a signature in each issue?

Is it possible to create our own CA certificate and tell our customers to install it on it?

Alternatively, it seems that simple socket connections do not suffer as much. Is there a free HTTP implementation over TCP for J2ME?

+3
source share
5 answers

Some phones allow you to change the setting manually to set once per session. Or try adding

MIDlet-Permissions: javax.microedition.io.connector.http

to the jad file.

Yes, if the assembly is signed with a root certificate available on most devices, a Verisign Class 3 certificate, for example

As a security measure, devices do not allow you to install your own certificates, even if they are obtained from a CA.

Simple socket connections can add overhead when processing data on the client side. Some security issues are also addressed.

+4
source

JAR . . AFAIK ; , , .

HTTP over , , Socket 80 8080 ( AFAIK).

HTTP - MIDlet ; " ".

, funkybro

+1

Java Verifieds UTI / , , Verisign Thawte ( , , Motorola).

, UTI, , , .

+1

HTTP-, . , jad/jars.

jad/jar , , . , , jad/jar .

, . , , , .

HTTP over TCP - , , , - .

0

Get it Java Verified, and you will find that in all networks and phones the user will be requested only once each time the application is launched to authorize the connection.

0
source

Source: https://habr.com/ru/post/1710928/


All Articles