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