wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes How to send sms using j2me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to send sms using j2me" Watch "How to send sms using j2me" New topic
Author

How to send sms using j2me

prakash narkodu
Greenhorn

Joined: May 23, 2003
Posts: 5
Can anyone help me in the basic setup, which is needed for sending SMS from j2me applications to mobile phones.

Thanks in advance.
Lindikaya Ntshinga
Greenhorn

Joined: Jan 15, 2003
Posts: 7
You need the Wireless Toolkit Version 2.0 (it contains MIDP 2.0 with the WMA reference implementation). This is already setup to send SMSs from one emulator to another. Run the SMSDemo.
You need to open two instances of the emulator,
representing the sender and reciever. After you have seen these in action, you must code through the applications code to see how it is done.
Hope this helps
Neil Stamps
Greenhorn

Joined: May 23, 2003
Posts: 5
you will need a phone/emulator with the optional Wireless Messaging API (JSR 120) implemented. I believe that currently the only nokia phone (in Europe) is the 3510i. Nokia supply emulators which implement this JSR, and also provide an example chat application using either their early Nokia SMS api, or the standard WM api.
Standard J2ME does not support SMS capability, as the only mandatory protocol is HTTP.
David Price
Ranch Hand

Joined: Jan 22, 2003
Posts: 93
Close, Neil, but wrong phone
The Nokia 3510i doesn't support either the standard Wireless Messaging API or Nokia's earlier proprietary "Nokia SMS API". A MIDlet running in a Nokia 3510i has no way to send or receive an SMS. What you need is a Nokia 3410 or a Nokia 3650. For more details, see my answer in the topic "AT Commands in MIDlets".
Neil Stamps
Greenhorn

Joined: May 23, 2003
Posts: 5
I stand corrected, 3410 was the phone I had in mind.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to send sms using j2me