Summary

In this chapter, we talked about the Android media framework and the telephony APIs. With respect to media, we showed you how to play audio and video. We also showed you how to record audio. Refer to Chapter 12 for more discussion of media—video capture, intents to record audio/video, and more.

In the second part of the chapter, we talked about telephony services in Android. Specifically, we showed you how to send text messages and how to monitor incoming text messages. We also showed you how to access the various SMS folders on the device. We concluded with a discussion of the TelephonyManager class.

In the next chapter, we are going to turn our attention to 3D graphics by discussing how to use OpenGL with your Android applications.

case TelephonyManager.CALL_STATE_IDLE:

Log.d(TAG, "call state idle...incoming number is["+ "]");break;

case TelephonyManager.CALL_STATE_RINGING:

Log.d(TAG, "call state ringing...incoming number is["+ "]");break;

case TelephonyManager.CALL_STATE_OFFHOOK:

Log.d(TAG, "call state Offhook...incoming number is["+ "]");break; default:

Log.d(TAG, "call state ["+state+"]incoming number is["+ "]");break;

chapter 10

0 0

Post a comment