views:

376

answers:

1

A month ago I asked this question. 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.

Now I stumbled across the Android AccountManager 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?

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?

+1  A: 

I don't think so. In my experiments accounts are deleted if the package containing the authenticator that creates them is deleted.

Phil