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

Suppersing confirmation messgaes in mobile

 
Mostafa Ahmad
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone

I tried to send an sms message using j2me bases application , but before it sends the message , it asks me for confimation, and says: Allow application blah blah to send text message to blah blah?

I want to suppress such confirmation messages, as I want the mobile to send message without confirmation, how should I do this?

thanks
 
sampath premarathna
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try with signing your application. I think it may solve your problem.
 
Darryl Burke
Bartender
Posts: 5149
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sampath premarathna wrote:Try with signing your application. I think it may solve your problem.

No, a signed application has certain other privileges, but the SMS sending confirmation can't be suppressed.
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on different factors. Nokia, for example, allows since MIDP 2.0.1 for trusted 3rd party domains to configure the application to allow always sending SMS. See here. But in general it depends on vendor, device, etc. You will not find a solution that will work everywhere equally and out-of-the-box.
 
Mostafa Ahmad
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My application runs on Nokia N70. I do not know if this piece of info helps.
As I know there is in j2se class called robot, it imitate pressing a button on keyboard. Does something similar in j2me exist? So I can suppress this screen ?

Also I have another idea to solve this problem :
Can I read from the current displayed object (i.e The confirmation message) using my application, and pass an ok to this screen? I think this is logic but I have no clue how I can accomplish this

Thanks
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know to which series the N70 belongs to but you find an overview in the Nokia Wiki (under "API access settings on real phones") which device is capable of what. This site should answer more or less all your questions regarding this topic.
 
Darryl Burke
Bartender
Posts: 5149
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I know there is in j2se class called robot, it imitate pressing a button on keyboard. Does something similar in j2me exist?

No.

Can I read from the current displayed object (i.e The confirmation message) using my application

No.
 
Mostafa Ahmad
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:
As I know there is in j2se class called robot, it imitate pressing a button on keyboard. Does something similar in j2me exist?

No.

Can I read from the current displayed object (i.e The confirmation message) using my application

No.




So? What should I do then?
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joachim Rohde wrote:Nokia, for example, allows since MIDP 2.0.1 for trusted 3rd party domains to configure the application to allow always sending SMS.
 
Mostafa Ahmad
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joachim Rohde wrote:
Joachim Rohde wrote:Nokia, for example, allows since MIDP 2.0.1 for trusted 3rd party domains to configure the application to allow always sending SMS.


I am sorry for asking the following question:

How can I make may application be dealt as trusted ?

I am 99% sure that this is a stupid question, but I am new to this field.

Thanks
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to get your application get signed with a certificate. You can find further details in the wiki-link I provided.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic