title: Using the android Account Manager to keep a username even if the app is deleted
body: <p>A month ago I asked this <a href="https://stackoverflow.com/questions/2411281/iphone-like-keychain-in-android">question</a>. Even with a Bounty nobody came up with a better answer then using the Imei of the device to identify the user and then sync the phone with the server. </p>
  
  <p>Now I stumbled across the Android <a href="http://developer.android.com/reference/android/accounts/AccountManager.html" rel="nofollow noreferrer">AccountManager</a> classes. Would it be possible to use this classes to store a username and a password that could be accessed after a delete/reeinstall cycle of my application?  </p>
  
  <p>If yes how would I do this? And would that require the user to enter its keystore credentials every time the application runs and the keystore isn't opened already?</p>