GeeCON Prague 2014*
The moose likes Java Micro Edition and the fly likes Suppersing confirmation messgaes in mobile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Suppersing confirmation messgaes in mobile" Watch "Suppersing confirmation messgaes in mobile" New topic
Author

Suppersing confirmation messgaes in mobile

Mostafa Ahmad
Greenhorn

Joined: Feb 22, 2011
Posts: 11
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

Joined: Oct 05, 2010
Posts: 13
Try with signing your application. I think it may solve your problem.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4575
    
    5

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.


luck, db
There are no new questions, but there may be new answers.
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

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

Joined: Feb 22, 2011
Posts: 11
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

Joined: Nov 27, 2006
Posts: 423

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

Joined: May 03, 2008
Posts: 4575
    
    5

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

Joined: Feb 22, 2011
Posts: 11
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

Joined: Nov 27, 2006
Posts: 423

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

Joined: Feb 22, 2011
Posts: 11
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

Joined: Nov 27, 2006
Posts: 423

You need to get your application get signed with a certificate. You can find further details in the wiki-link I provided.
 
GeeCON Prague 2014
 
subject: Suppersing confirmation messgaes in mobile