Preparing an Android development environment
This recipe will present you with how to prepare the android development environment, showing you how to install Android Studio and how to configure virtual devices to start running the recipes. This recipe also presents you how you can create a new Android application through Android Studio.
Getting ready
To run this recipe you need Java 8 and Maven installed, because all the client applications will interact with an API provided by an OAuth 2.0 Provider application. You also have to install Android Studio to create and run the clients that will be implemented throughout this chapter. The OAuth 2.0 Provider is already created and you can download it from GitHub (from the server
project created within the Chapter07
directory) at https://github.com/PacktPublishing/OAuth-2.0-Cookbook/tree/master/Chapter07/server. This server application provides both the Authorization Server and the Resource Server components, which allows the use of most grant types...