Take advantage of web services, integrations, and libraries to optimize how your Android app handles network connectivity, errors, data management, and more.
- [David] My name is David Gassner. This course for Android developers describes how to integrate your mobile apps with restful web services. I'll start with an overview of different methods for communicating with web services from Android. And will describe some techniques for working with background threads to make sure that your web service calls don't freeze an app's user interface. I'll then describe how to prepare your app for network communications, including declaring permissions and checking network connectivity. And then, I'll show you a number of different ways to retrieve data over the web using both traditional Java APIs and some third party libraries that can greatly simplify your code and make your app more maintainable.
I hope this course helps you get started working with web services in your Android apps.
IInstructor David Gassner starts with an overview discussion about available networking strategies, and then dives into how to declare networking permissions, make network requests, handle responses, parse data returned from a web service, and pass user credentials to services that support HTTP basic authentication. He also provides an overview of popular higher-level networking libraries, including OkHttp and Picasso, and offers recommendations for improving performance in network-connected apps. David also covers using static feeds, using dynamic PHP pages hosted on a public server web service, and integrating apps with network data storage.
- Integrating mobile apps
- Communicating with Android
- Preventing app freezes with background threads
- Preparing an app for network communication
- Declaring permissions
- Checking network connectivity
- Retrieving data over the web
- Using traditional APIs
- Using third-party libraries