page.title=Remembering Users page.tags="privacy","oauth","accounts" trainingnavtop=true startpage=true @jd:body

Requirements and prerequisites

You should also read

Android users get attached to their devices and to applications that they love. One way to make your application lovable is to make it personal. Android devices know who your user is, what services they have access to, and where they store your data. With your user's permission, you can use that information to make your application a richer, more personal experience.

In this class, you will learn multiple techniques for interacting with your user's identity, enabling you to:

Lessons

Remembering Your User
Use {@link android.accounts.AccountManager} to learn the user's account name(s).
Authenticating to OAuth2 Services
Use OAuth2 to help users get permission to access web services without needing to type in a login name or password.
Creating a Custom Account Type
Add your own account type to the Android Account Manager.