 is a named value in the bundle. The name of the value
        // is stored in the constant AccountManager.KEY_AUTHTOKEN.
        token = bundle.getString(AccountManager.KEY_AUTHTOKEN);
        ...
    }
}
</pre>

<p>If all goes well, the <code><a href="../../reference/android/os/Bundle.html">Bundle</a></code> contains a valid token in the <code><a href="../../reference/android/accounts/AccountManager.html#KEY_AUTHTOKEN">KEY_AUTHTOKEN</a></code> key and you're off to the races. Things don't
always go that s