This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2ME library call

 
Brian Rowland
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
im having a problem with one of the library classes. I am trying to write an application that can make an outgoing connection, e.g. send a text message or surf the web. The problem is when I call connector.open in the javax.microedition.io class. This is what is needed to make a connection but it results in one or two extra screens appearing on the phone requesting the user to hit the command 'yes' should they want to continue.

Does anyone know or can they suggest a way around this? I don't want these screens to come up as I just want to make a straight connection. Clicking 'yes' on both these screens is very time consuming and a waste of time not to mention annoying.

I understand its a library call but there has to be a vay around it...
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The confirmation screens are there because the network connection might cost the user real money. Thus, you shouldn't be able to disable the screens (but the user should be able to disable the screens from his phone's settings menu).
 
manoj pillai
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You wont get the extra screens if you specify the appropriate midlet permissions and then sign the midlet suite - not supported in MIDP1.0 though.
 
Brian Rowland
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
if I create a suite and give it permissions to send SMS's then it will depend on the permissions that are set on the phone? Is that correct? If yes, do you know of what mobile phone models allow applications to run without setting permissions? Also, can I change the permissions on the phone myself?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic