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
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.
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".
Joined: May 23, 2003
I stand corrected, 3410 was the phone I had in mind.