Chapter     4

Communications and Networking

The key to many successful mobile applications is their ability to connect and interact with remote data sources. Web services and APIs are abundant in today’s world, allowing an application to interact with just about any service, from weather forecasts to personal financial information. Bringing this data into the palm of a user’s hand and making it accessible from anywhere is one of the greatest powers of the mobile platform. Android builds on the web foundations that Google is known for and provides a rich toolset for communicating with the outside world.

4-1. Displaying Web Information

Problem

HTML or image data from the Web needs to be presented in the application without any modification or ...

Get Android Recipes: A Problem-Solution Approach, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.