我在哪里可以找到在Android应用数据 [英] where do i find app data in android
问题描述
我的目的是从应用程序数据保存在进一步分析的文本文件。我用确切的code作为在这个环节上给出的数据保存:
My purpose is to save data from app in a text file for further analysis. I used the exact code as given in this link for saving data:
HTTP://www.mysamplecode.com / 2012/06 / Android的内部外部storage.html
中的数据存储和检索根据应用程序,但我不能在手机上找到MySampleFile.txt(即使使用搜索功能)。
The data is stored and retrieved according to the app, but I am not able to find MySampleFile.txt(even using the search functionality) on the phone.
我不能Android->数据 - > COM找到它。的 的。我有一个三星Galaxy S3。是什么不同在这款手机上?
I can't find it in Android->data->com... I have a Samsung Galaxy S3. Is anything different in this phone?
我应该做任何修改的电话吗?
Should I make any modifications in the phone?
推荐答案
要看到数据
,你的手机必须是根
。三星Galaxy S3不是来自厂商的根,你需要获取手机Root权限访问内部存储器/存储,你只可以在手机SD卡即
To see data
, you phone must be root
. Samsung Galaxy S3 is not a root from vendor, you need to root your phone to access internal memory/storage, you can only access external memory/storage in your phone i.e. sdcard
不过,我会建议你使用仿真器
而获取手机Root权限。
But, i would suggest you to use Emulator
rather root your phone.
下面,是关于什么是生根一些链接,你可以通过这些:
Here, are some links about what is rooting, you can go through these:
http://gizmodo.com/5982287/reasons-to-根你-Android的设备
的http://lifehacker.com/5789397/the-always-up+to+date-guide-to-rooting-any-android-phone
http://en.wikipedia.org/wiki/Android_rooting
但同样我会建议使用模拟器,除非你是不是高手,足以根并重新安装固件时,你不希望你的手机的根。
But again I would suggest to use Emulator unless you are not expert enough to root and Install firmwares again when you don't want your phone root.
请使用仿真器
看数据 - > com.package
在Windows菜单 - > ShowView->其他 - > android->档案总管,你可以看到该文件在设备
From Windows Menu->ShowView->Others->android->fileExplorer you can see the file in your device
在AndroidManifest.xml中指定权限:
Specify permission in AndroidManifest.xml:
<使用许可权的android:NAME =android.permission.WRITE_EXTERNAL_STORAGE/>
这篇关于我在哪里可以找到在Android应用数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!