In this chapter, you will learn how to use the P2P text and data communication protocols of Android, especially instant messaging and SMS (short message service ). With these technologies, you can create applications that communicate between devices, including multi-user games and mobile communication applications.
In this chapter, the android SDK contains an easy-to-understand instant messaging (IM) Service (Gtalk), which provides access to the instant messaging framework. Unfortunately, the im api is removed from the SDK based on security considerations, even though we all hope to provide access interfaces to the IM framework in the later Android release version. This chapter, this technology in earlier Android versions-sending instant text messages and broadcasting intent to distant devices-is a mechanism that allows you to create applications that interact in real time between devices.
Android still provides full access to the SMS function, allowing you to send and receive SMS text messages in your application. Using the android API, you can create your own SMS client program and replace the local application as part of the software stack. In addition, you can create applications that contain the SMS function.
At the end of this chapter, you will use SMS manager in a project that shows how to create an emergency SMS responder. In an emergency, it allows users to quickly or automatically respond to people who care about their safety.
BTW: I'm busy learning cars recently. Let's get started in Chapter 9th. If I have time, I will flip it over. I believe I can stick to it...