aspose file tools*
The moose likes Java Micro Edition and the fly likes AT Commands in MIDlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "AT Commands in MIDlets" Watch "AT Commands in MIDlets" New topic
Author

AT Commands in MIDlets

Carlos PQ
Greenhorn

Joined: May 07, 2003
Posts: 8
Hello!!
I am developing (or trying to develop MIDlets using JBuilder and Nokia Developer's Suite).
How can I send/recieve/manage SMS in a MIDlet???
Is that using AT-Commands??? How can i use them in the Midlet?
Anybody could help me???
Thanks!!!
David Price
Ranch Hand

Joined: Jan 22, 2003
Posts: 93
You can't use AT commands in a MIDlet: AT commands should be sent to the phone over a serial connection from e.g. a PC.
Only two Nokia phones currently allow you to send and receive SMS messages in a MIDlet:
The Nokia 3650 (Symbian GSM camera phone) implements the Wireless Messaging API (http://www.jcp.org/en/jsr/detail?id=120).
Early versions of the Nokia 3410 (low-end GSM phone) support Nokia's proprietary "Nokia SMS API", which is almost identical to the Wireless Messaging API. Later versions of the Nokia 3410 support both the Nokia SMS API and the standard Wireless Messaging API.
No other Nokia phones (so far) support either of these APIs.
Both the Wireless Messaging API and the Nokia SMS API are illustrated in Forum Nokia's example "A MIDlet Example Using the Wireless Messaging API and the Nokia SMS API: Chat v1.0" (see their "Java Code and Examples" section). Forum Nokia is at: http://www.forum.nokia.com/java
I know much less about other manufacturers' phones. I'm not aware of any that support the standard Wireless Messaging API, but I know that some manufacturers had their own proprietary SMS APIs.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: AT Commands in MIDlets