programatically add google account to android
I need to be able to programatically add a google account 开发者_JAVA百科in android for testing purposes. The reason for this is because the data in the device can get wiped and I would like a way of easily adding the test users again with a function rather than doing it again manually.
any ideas please?
You can use AccountManager.
I dont have any experience in doing what you want. :)
精彩评论