Single sign-on to Google sites using AccountManager
In the first part of this series, we presented how the standard Android online account management framework works and explored how Google account authentication and authorization modules are implemented on Android. In this article we will see how to use the Google credentials stored on the device to log in to Google Web sites automatically. Note that this is different from using public Google API's, which generally only requires putting an authentication token (and possibly an API key) in a request header, and is quite well supported by the Google APIs Client Library . First, some words on what motivated this whole exercise (may include some ranting, feel free to skip to the next section). Android developer console API: DIY If you have ever published an application on the Android Market Google Play Store, you are familiar with the Android developer console . Besides letting you publish and update your apps, it also shows the number of total and active installs (notoriously