• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what to do for SMS Push

 
Chong Zi Xin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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
 
Jay Sanchez
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic