Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I find app data in Android

Tags:

file

android

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

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.

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?

like image 254
user2155669 Avatar asked Mar 19 '13 10:03

user2155669


1 Answers

Do the following to be able to see your data stored in the phone's internal memory.

  1. Turn on USB Debugging on your phone.
  2. Connect your phone to the system.
  3. Open DDMS perspective in your Eclipse.
  4. Select your device from the devices tab on the left.
  5. On the right, the last tab will be File Explorer. Open that.
  6. Traverse to data/data/your.app.package to find the data you want to see.

P.S:- NEVER root your phone, unless you're a developer who loves to mess around with the System apps.

like image 126
Rahul Avatar answered Nov 03 '22 00:11

Rahul