Android Development How To: SMS Integration

Wednesday Oct 22nd 2008 by Datamation.com Staff
Share:

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!

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved