我的应用程序文件夹在 android 中?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10168211/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 02:43:42  来源:igfitidea点击:

where is my application folder in android?

androidfilefilesystems

提问by Evan_HZY

My application records some data from a sensor of my phone, and it store the data to a file in the application's directory.

我的应用程序记录了来自我手机传感器的一些数据,并将数据存储到应用程序目录中的文件中。

I run my application under the debug mode. And I was trying to find the application's folder and open the file with the saved data. However, I was not able to even find the app's folder.In the log information, it said the app's location is

我在调试模式下运行我的应用程序。我试图找到应用程序的文件夹并使用保存的数据打开文件。但是,我什至找不到应用程序的文件夹。在日志信息中,它说应用程序的位置是

" '/data/app/myAppPackage.apk' (success) ---"

but I can not find it anywhere by browsing the phone's disk.

但是我无法通过浏览手机磁盘在任何地方找到它。

Any hints?

任何提示?

thx in advance

提前谢谢

采纳答案by UPGRAYEDD

From my understanding you will not be able to view this data on the mobile device. When you test the app in eclipse you will be able to see in the applications folder the new data sets, But on your phone, it is encapsulated by the APK.

据我了解,您将无法在移动设备上查看此数据。当你在 eclipse 中测试应用程序时,你将能够在应用程序文件夹中看到新的数据集,但在你的手机上,它被 APK 封装。

Try saving the values to sd card?

尝试将值保存到 SD 卡?