• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to find result of platformRequest prompt?

 
mohsen fakhary
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!