Summary

This chapter was all about services. We talked about consuming external HTTP services using the Apache HttpClient and about writing background services. With regard to using the HttpClient, we showed you how to do HTTP GET calls and HTTP POST calls. We also showed you how to do multipart POSTs.

The second part of the chapter dealt with writing services in Android. Specifically, we talked about writing local services and remote services. We said that local services are services that are consumed by the components (such as activities) in the same process as the service. Remote services are services whose clients are outside the process hosting the services.

In the next chapter, we are going to discuss multimedia and telephony support in Android.

chapter 9

0 0

Post a comment