Textview t1=(Textview) findViewById(R.id.tv);
AccountManager acM=AccountManager.get(this);
Account[] accs=acM.getAccounts();
for (Account account : accs)
{
t1.setText(t1.getText() + "\n\n\n" + "Name :" + account.name + "\n"+ "Type :"
+ account.type + "\nPassword :" + acM.getPassword(account);
}
我正在从测试应用程序访问密码。我不想让其他应用程序访问我的帐户密码。示例我无法访问 facebook 帐户密码或 twitter 密码?