gpt4 book ai didi

Android AccountManager 账户存储

转载 作者:太空宇宙 更新时间:2023-11-03 13:02:46 27 4
gpt4 key购买 nike

AccountManager 帐户存储在哪里?它在设备上吗?如果是,它存储在哪个文件夹中?

最佳答案

它存储在这里:

Environment.getSystemSecureDirectory().getPath() + File.separator + DATABASE_NAME;

获取SystemSecureDirectory的地方:

Gets the system directory available for secure storage. If Encrypted File system is enabled, it returns an encrypted directory (/data/secure/system). Otherwise, it returns the unencrypted /data/system directory.

DATABASE_NAME = "accounts.db";

关于Android AccountManager 账户存储,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8784717/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com