This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic