Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何访问可供用户使用的内部存储分区?在我的 HTC 路径/storage/emmc中Xperia /mnt/ext_card。是否有任何用于获取内部分区的功能,就像外部存储一样Environment.getExternalStorageDirectory().toString()
/storage/emmc
Xperia /mnt/ext_card
Environment.getExternalStorageDirectory().toString()
要在您的应用程序的内部存储上查找位置,请getFilesDir()在任何上下文(例如您的活动,以获取文件对象)上调用 , 。
getFilesDir()
看看这个答案