Skip to main content

No annoying questions

2 replies [Last post]
hallenberg
Offline
Joined: 2007-01-05
Points: 0

Hi,

I tried searching the forum but didn't find what I was looking for even though I recall it being addressed a while back. I'm running a midlet that needs to connect to the internet, and thus the question whether or not to allow airtime pops up (once, if you manually configure it to only ask once). As far as I've understood, this question should be possible to remove completely by installing some certificate or something like that for that particular midlet. Maybe this is common knowledge in the Java-community, but how does one go about doing that? I'm more of a C kind of guy =)

Thanks
/ Tomas

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ianstrain
Offline
Joined: 2006-12-15
Points: 0

Those "annoying questions" are security dialog boxes displayed by the JVM when the application is accessing sensitive api's. Removing these dialog boxes vary widely on devices, some may allow you the choice of displaying once per session, always etc. You can get your application signed, a trusted third party cert will allow the permissions to change to never show the message, but this may require the user to select this option from the applications permissions options, depending, again, on the device. Higher certificates, operator and manufacturer will enable the box to not to be displayed but these certs are near impossible to get.

hallenberg
Offline
Joined: 2007-01-05
Points: 0

Yes, I'm aware of that, thanks. The question should have been phrased as "How do I get my own installation of PhoneME to not show any of the security dialog boxes when running a certain signed, trusted, third party midlet?". The proper way.

Since I'm the "device manufacturer and operator" myself I of course have full control of what is placed on the device, I'm just not personally aware of the procedure, i.e. how the certificates look and how to install them. Obtaining it should be no big problem once I know what I'm supposed to obtain.

The default settings in PhoneMe (Feature, running directly on the framebuffer on ARM Linux) only allows the user to select "Ask once per session" which isn't really sufficient. Due to the numerous reinstallations I'm doing it would be nice to keep manual interaction at a minimum, which means automatically installing such a certificate.