Where to find application data in Android

My goal is to save data from the application in a text file for further analysis. I used the exact code for here to save the data:

Data is saved and retrieved according to the application, but I cannot find MySampleFile.txt (even using the search function) on the phone.

I can not find it in Android -> data -> com.*.*. I have a Samsung Galaxy S3. Is there something wrong with this phone?

Do I have to make any changes to the phone?

+4
source share
2 answers

To see data , the phone must be root . Samsung Galaxy S3 is not the root provider from the supplier, you need to strengthen your phone to access the internal memory / storage, you can only access the external memory / storage on your phone, i.e. sdcard

But I would advise you to use Emulator , rather, root your phone.

Here are some links about what roots, you can go through the following:

http://gizmodo.com/5982287/reasons-to-root-your-android-device
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 using an emulator if you are not experienced enough to root and install the firmware again when you do not want your phone root.

Use Emulator to see data->com.package

In the menu Windows-> ShowView-> Others-> android-> fileExplorer you can see the file on your device

Specify permission in AndroidManifest.xml:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

+6
source

Follow these steps to see your data stored in the phone’s internal memory.

  • Turn on USB debugging on your phone.
  • Connect the phone to the system.
  • Open the DDMS perspective in Eclipse .
  • Select your device in the device tab on the left.
  • On the right, the last tab will be Explorer . Open it.
  • Go to data/data/your.app.package to find the data you want to see.

PS: - NEVER root your phone, unless you are a developer who likes to mess with System applications.

+5
source

All Articles