Wednesday, December 4, 2024

Android Development How To: SMS Integration

Datamation content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

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!

Subscribe to Data Insider

Learn the latest news and best practices about data science, big data analytics, artificial intelligence, data security, and more.

Similar articles

Get the Free Newsletter!

Subscribe to Data Insider for top news, trends & analysis

Latest Articles