File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

AT Commands in MIDlets

Carlos PQ

Joined: May 07, 2003
Posts: 8
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???
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 (
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:
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.
I agree. Here's the link:
subject: AT Commands in MIDlets
It's not a secret anymore!