开发者

programatically add google account to android

开发者 https://www.devze.com 2023-04-10 16:16 出处:网络
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

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. :)

0

精彩评论

暂无评论...
验证码 换一张
取 消