Android Development How To: SMS Integration

Get a leg up on having your Android applications communicate via SMS messages with this tutorial.

Visit the full tutorial and download the full code at DevX.com.

Not since the iPhone has the tech community remained glued by every development surrounding a mobile platform. Now that it's open source, officially available running on hardware and is enjoying expanded support from handset manufacturers, the future appears bright.

And that spells good news for developers.

If you've had a chance to poke around, you have already noticed that the SDK allows generous access to the phone. If you look at the landscape, there are some differences (and similarities) in how Android approaches things.

Pushing data to and from a third-party mobile application on demand has always been a tricky proposition. BREW allows, with the blessing of Qualcoom, SMS messages to be directed at a particular application resident on the phone. Apple's iPhone messaging platform, which, as of press time, is still in testing, allows for similar functionality through HTTP push messaging.

As for Java ME, well, we're just not going to talk about Java ME. Doing data push and remote application activation with Android is somewhat similar to BREW's directed SMS process. By the time you finish this article, you should have a steady grasp of how to send and receive SMS messages from your application in Android.

Visit this DevX tutorial to lean how to receive SMS messages, receiving and reacting to SMS events, and registering for SMS BroadcastIntents, plus code that replaces the getMessagesFromIntent() function which was removed from the Android SDK.

Happy coding!

0 Comments (click to add your comment)
Comment and Contribute


(Maximum characters: 1200). You have characters left.



IT Management Daily
Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that datamation.com may send you Datamation offers via email, phone and text message, as well as email offers about other products and services that Datamation believes may be of interest to you. Datamation will process your information in accordance with the Quinstreet Privacy Policy.