【问题标题】:programatically add google account to android以编程方式将 google 帐户添加到 android
【发布时间】:2011-10-05 13:54:17
【问题描述】:

我需要能够以编程方式在 android 中添加一个 google 帐户以进行测试。这样做的原因是因为设备中的数据可能会被擦除,我想要一种使用函数轻松再次添加测试用户的方法,而不是手动再次添加。

有什么想法吗?

【问题讨论】:

    标签: android testing account


    【解决方案1】:

    您可以使用AccountManager

    我没有任何经验做你想做的事。 :)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-04
      • 2014-08-05
      • 2011-07-04
      相关资源
      最近更新 更多