1- page.title=Identifying Your User
2- parent.title=Identifying and Authenticating Users
1+ page.title=Remembering Your User
2+ parent.title=Remembering and Authenticating Users
33parent.link=index.html
44
55trainingnavtop=true
@@ -17,8 +17,8 @@ next.link=authenticate.html
1717 <li><a href="#TaskTwo">Decide What Type of Account to Use</a></li>
1818 <li><a href="#GetPermission">Request GET_ACCOUNT permission</a></li>
1919 <li><a href="#TaskFive">Query AccountManager for a List of Accounts</a></li>
20- <li><a href="#IdentifyUser">Use the Account Object to Identify the User </a></li>
21- <li><a href="#IdIsEnough">Decide Whether Identification is Enough</a></li>
20+ <li><a href="#IdentifyUser">Use the Account Object to Personalize Your App </a></li>
21+ <li><a href="#IdIsEnough">Decide Whether an Account Name is Enough</a></li>
2222</ol>
2323 </div>
2424</div>
@@ -31,8 +31,8 @@ a tablet as well as a phone. But how do you know who your user is? And how do
3131you recognize them on a new device?</p>
3232
3333<p>For many applications, the answer is the {@link android.accounts.AccountManager} APIs. With the
34- user's permission, you can use Account Manager to uniquely identify a user
35- by the online identity that the user has stored on their device.</p>
34+ user's permission, you can use Account Manager to fetch the account names
35+ that the user has stored on their device.</p>
3636
3737<p>Integration with the user's accounts allows you to do a variety of things such as:</p>
3838<ul>
@@ -43,10 +43,10 @@ by the online identity that the user has stored on their device.</p>
4343
4444<h2 id="ForYou">Determine if AccountManager for You</h2>
4545
46- <p>Applications typically identify the user in three different ways :</p>
46+ <p>Applications typically try to remember the user using one of three techniques :</p>
4747<ol type="a">
4848<li>Ask the user to type in a username </li>
49- <li>Use a unique device identifier rather than a user identifier </li>
49+ <li>Retrieve a unique device ID to remember the device </li>
5050<li>Retrieve a built-in account from {@link android.accounts.AccountManager}</li>
5151</ol>
5252
@@ -63,7 +63,7 @@ your app no longer remembers them.</p>
6363
6464<p>Option (c) is the preferred technique. Account Manager allows you to get
6565information about the accounts that are stored on the user's device. As we'll
66- see in this lesson, using Account Manager lets you identify your user, no matter
66+ see in this lesson, using Account Manager lets you remember your user, no matter
6767how many devices the user may own, by adding just a couple of extra taps to your
6868UI.</p>
6969
@@ -113,7 +113,7 @@ Account[] accounts = am.getAccountsByType("com.google");
113113the array, you should present a dialog asking the user to select one.</p>
114114
115115
116- <h2 id="IdentifyUser">Use the Account Object to Identify the User </h2>
116+ <h2 id="IdentifyUser">Use the Account Object to Personalize Your App </h2>
117117
118118<p>The {@link android.accounts.Account} object contains an account name, which for Google accounts
119119is an
@@ -126,12 +126,12 @@ hand.</li>
126126</p>
127127
128128
129- <h2 id="IdIsEnough">Decide Whether Identification is Enough</h2>
129+ <h2 id="IdIsEnough">Decide Whether an Account Name is Enough</h2>
130130
131- <p>Account names are a good way to identify the user, but the {@link android.accounts.Account}
131+ <p>An account name is a good way to remember the user, but the {@link android.accounts.Account}
132132object by
133- itself doesn't protect your data or give you access to anything. If you intend
134- to access private data, you'll need something stronger: authentication.
133+ itself doesn't protect your data or give you access to anything besides the user's account name . If your app
134+ needs to allow the user to go online to access private data, you'll need something stronger: authentication.
135135The next lesson explains how to authenticate to existing online services. The lesson after that
136136deals with writing a custom authenticator so that you can install your own
137137account types.</p>
0 commit comments