The moose likes Java Micro Edition and the fly likes how to find result of platformRequest prompt? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "how to find result of platformRequest prompt? " Watch "how to find result of platformRequest prompt? " New topic
Author

how to find result of platformRequest prompt?

mohsen fakhary
Greenhorn

Joined: Aug 16, 2011
Posts: 4
As you know Midlet.platformRequest (when used for http) usually prompts user to grant access to connect to internet.

How can I find if user has granted this access or not?

On SonyEricsson handsets it throws a SecurityException if user cancels connection, but it seems nokia handsets just go to the next line of code if user cancels the connection, and it causes some problems for me

Regards
 
 
subject: how to find result of platformRequest prompt?
 
Threads others viewed
How to make disapear the GPRS's indicator after closing a HTTP connection
MIDlet Connection via Operator Proxy?
Implementing cancel for long running web reuests
stop synchronous web service call
DRM in MIDP 1.0
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture