This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I want to send SMS using my j2me application. I have seen WMA APIs and have code with me for this but for MIDP 2.0 only . Just want to know do MIDP1.0 support WMA for sending sms as it is in MIDP2.0. If not then is there any other API with will support MIDP1.0 devices for sending SMS.
There are no MIDP 1.0 APIs for sending SMS messages. Even the 2.0 APIs are optional and not supported by every phone.
Your best bet will be to setup a server that can act as a gateway for your messages and use an HTTP POST operation to send data from your J2ME client to your server.
Alternatively, some carriers have e-mail aliases for sending text messages to phones via e-mail. You could write a J2ME application that sends messages to an SMTP server which would then be converted to SMS messages and sent to the target.
I took a note of your reply. As my application is still in design phase I will take care of it. I have one more query is it possible to know Midp version of mobile connecting to server. Actually whenever request for a midlet.jar arrives on Web Server, I want to push Midlet.jar(version midp1.0) to mobile supporting Midp1.0 and Midlet.jar(version midp2.0) to mobile supporting Midp2.0. To do this i need to know the midp version on server. Kindly tell me is it possible ?? if yes kindly provide some details.
Joined: Dec 08, 2004
I want to push Midlet.jar(version midp1.0) to mobile supporting Midp1.0 and Midlet.jar(version midp2.0) to mobile supporting Midp2.0.
From that page, I can see that this phone supports MIDP 1.0 and CLDC 1.0. You take it from there.
No promises for other carriers, but most WAP browsers will include some kind of browser identifer in the headers. If you build a library of device IDs matched to capabilities, you can provision the appropriate application.