• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=Remembering Users
2
3trainingnavtop=true
4startpage=true
5next.title=Remembering Your User
6next.link=identify.html
7
8@jd:body
9
10
11<div id="tb-wrapper">
12<div id="tb">
13
14<h2>Requirements and prerequisites</h2>
15<ul>
16  <li>Android 2.0 (API level 5) or higher</li>
17  <li>Experience with <a href="{@docRoot}guide/components/services.html">Services</a></li>
18  <li>Experience with <a href="http://oauth.net/2/">OAuth 2.0</a></li>
19</ul>
20
21<h2>You should also read</h2>
22<ul>
23  <li><a
24href="http://developer.android.com/resources/samples/SampleSyncAdapter/index.html">
25SampleSyncAdapter app</a></li>
26</ul>
27
28</div>
29</div>
30
31
32<p>Android users get attached to their devices and to applications that they
33love. One way to make your application lovable is to make it personal. Android
34devices know who your user is, what services they have access to, and where they
35store your data. With your user's permission, you can use that information to
36make your application a richer, more personal experience.</p>
37
38<p>In this class, you will learn multiple techniques for interacting with your
39user's identity, enabling you to:</p>
40
41<ul>
42<li>Personalize your app by remembering users by their account name(s)
43<li>Authenticate the user to make sure they are who they say they are
44<li>Gain permission to access the user's online data via services like
45the Google APIs
46<li>Add a custom account to the user's device to authenticate your own
47back-end services
48</ul>
49
50
51<h2>Lessons</h2>
52
53<dl>
54  <dt><b><a href="identify.html">Remembering Your User</a></b></dt>
55    <dd>Use {@link android.accounts.AccountManager} to learn the user's account name(s).</dd>
56
57  <dt><b><a href="authenticate.html">Authenticating to OAuth2 Services</a></b></dt>
58    <dd> Use OAuth2 to help users get permission to access web services without needing to type in a
59login name or password. </dd>
60
61  <dt><b><a href="custom_auth.html">Creating a Custom Account Type</a></b></dt>
62    <dd>Add your own account type to the Android Account Manager.</dd>
63
64</dl>
65
66