File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
wood burning stoves
 
subject: how to find result of platformRequest prompt?