【问题标题】:How do I create an Android App with an account on user's device ?如何使用用户设备上的帐户创建 Android 应用程序? 【发布时间】:2015-10-07 16:26:19 【问题描述】: 例如,Facebook、Whatsapp 等应用程序在设备上有一个单独的帐户。我想要有类似的行为。 【问题讨论】: 查看 Android 文档 => stuff.mit.edu/afs/sipb/project/android/docs/training/id-auth/… 请看一下这个堆栈帖子:http://stackoverflow.com/questions/24227274/how-to-add-programmatically-a-custom-account-in-android/39686087#39686087。 标签: android user-accounts 【解决方案1】: 您正在寻找 AccountManager http://developer.android.com/reference/android/accounts/AccountManager.html How to add programmatically a custom account in android? 【讨论】: 谢谢!这正是我想要的:)