*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
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: 6
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
 
Don't get me started about those stupid light bulbs.
 
subject: how to find result of platformRequest prompt?
 
Similar Threads
How to make disapear the GPRS's indicator after closing a HTTP connection
DRM in MIDP 1.0
stop synchronous web service call
MIDlet Connection via Operator Proxy?
Implementing cancel for long running web reuests