我的应用程序文件夹在android中? [英] where is my application folder in android?

查看:110
本文介绍了我的应用程序文件夹在android中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

 ' /data/app/myAppPackage.apk'(成功)---

但我找不到任何地方都可以通过浏览手机的磁盘。



任何提示?

提前

解决方案

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

将值保存到SD卡?


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

解决方案

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.

Try saving the values to sd card?

这篇关于我的应用程序文件夹在android中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆