I have been reading through the sample code and i don't understand
something.

The comment on FinishLogin(String authToken) explains:
"We store the authToken that's returned from the server as the
'password' for this account - so we're never storing the user's actual
password locally."

But then i see this happen:
mAccountManager.addAccountExplicitly(account, mPassword, null);
where mPassword only get's set once in the example where: mPassword =
mPasswordEdit.getText().toString();
witch is the password entert by the user.

further more i see this happen.
return NetworkUtilities.authenticate(mUsername, mPassword); as
mPassword should be the token this should always fail.

Am i missing something or is the example just wrong.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to