• 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

what to do for SMS Push

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,

I am trying to achieve the scenario of the MIDlet being launched automatically upon receiving a sms. am I right to say this is done using sms push?

I know I need to register with the push registry in midlet settings. but iIam not too sure of what to put for the values, especially the connection. I only need to show that it is working with the WMA console that comes with WTK.

and also, do I need to write code in my MIDlet to handle the sms?

please enlighten.

thanks alot in advance.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
With the Push Registry you need to also put code in your MIDlet, in case the MIDlet is already running at the time the SMS message comes in. When the MIDlet is already running the AMS will not fire off the "Push"

Mark
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh and as far as the values, check out the Javadoc that come with the Wireless Toolkit, and also at Sun's J2ME website, there are many quick tutorials on how to do Push Registry.

Mark
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look at JSMS, it is a Java API and can only run on MIDP2.0 profile. This will allow you to create an SMS client as well as listening in for an incoming text message.

The server end would be connected to a SMS server that will send data using your cell phone number and a port. The mobile sms must be runnning listening to a specific port that the servers must use.

Hope this helps.

Regards,

Jay
reply
    Bookmark Topic Watch Topic
  • New Topic