Is there any API in j2me to make silent http requests without the connection selection prompt?

144 Views Asked by At

In my j2me application, I am trying to fetch some data over the network but I want to do it silently if the connection is available. I know that user settings are available for prompting/not prompting for IAP selection dialog but I want that even if the user has selected "Ask first", the request be made silently in my application.

Is there some API in s40 platform to achieve this?

1

There are 1 best solutions below

0
Gorkem Ercan On

This is about MIDP security rather than the APIs. The current security policy by default asks for a prompt on network access. You can bypass them if your application is manufacturer or operator signed.