• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Suppersing confirmation messgaes in mobile

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try with signing your application. I think it may solve your problem.
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic