If my app's installed on the SD card, is the private data there too?

只谈情不闲聊 提交于 2019-12-07 10:18:45

问题


I am presuming that an app's private data, such as SharedPreferences and SQLite databases, live on the phone's internal storage rather than the SD card, even if the app itself is installed on the SD card.

I can't find a simple explicit confirmation of this anywhere. Can someone please confirm?


回答1:


Yes, private data reside in internal storage. I've tested this by exploring file system on rooted device.

If app is "installed" on SD card, only APK file is stored on card in some encrypted form. All other app data are in /data/data// folder.



来源:https://stackoverflow.com/questions/7450250/if-my-apps-installed-on-the-sd-card-is-the-private-data-there-too

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!