• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection to gprs

 
Niklas Junel
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I have a connection to http in my midlet, the phone ask for my premission to connect before the program starts. Is it any way of turning the "connection" to gprs off/on, from within the program?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, not sure really about what you are asking. But if you have in the jad file a MIDlet-permission set to the HTTPConnection class and your MIDlet is signed then they won't be asked that question.

Now when they are asked that question, they can choose to allow the Connection forever and they won't be asked again.

What scenario are you looking for?

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic