blob: f15ee295fa9ca05ca369d5d71ed8d7e9fc1e55de [file] [log] [blame]
page.title=Remembering Users
<div id="tb-wrapper">
<div id="tb">
<h2>Requirements and prerequisites</h2>
<li>Android 2.0 (API level 5) or higher</li>
<li>Experience with <a href="{@docRoot}guide/components/services.html">Services</a></li>
<li>Experience with <a href="">OAuth 2.0</a></li>
<h2>You should also read</h2>
SampleSyncAdapter app</a></li>
<p>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.</p>
<p>In this class, you will learn multiple techniques for interacting with your
user's identity, enabling you to:</p>
<li>Personalize your app by remembering users by their account name(s)
<li>Authenticate the user to make sure they are who they say they are
<li>Gain permission to access the user's online data via services like
the Google APIs
<li>Add a custom account to the user's device to authenticate your own
back-end services
<dt><b><a href="identify.html">Remembering Your User</a></b></dt>
<dd>Use {@link android.accounts.AccountManager} to learn the user's account name(s).</dd>
<dt><b><a href="authenticate.html">Authenticating to OAuth2 Services</a></b></dt>
<dd> Use OAuth2 to help users get permission to access web services without needing to type in a
login name or password. </dd>
<dt><b><a href="custom_auth.html">Creating a Custom Account Type</a></b></dt>
<dd>Add your own account type to the Android Account Manager.</dd>