I am working on an Android App where a file is given its location like the code given below.
The method is like this:
public boolean log(ApplicationInfo aplinfo)
objAppinfo = apinfo;
_strFilePath = objAppinfo.dataDir;
_strFilePath += "/";
09-07 06:34:41.355: INFO/System.out(525):
This lives in the android filesystem, which is different from your computer's file system. To view the files in android filesystem, use adb shell on the command prompt. Run: adb shell ls /data/data/com.andr.activity. Make sure your device/emulator is connected before you do this. Or if you are using eclipse, switch to DDMS view and check out the file explorer.
To View file:
Inside shell use:
Or Use adb pull to copy file to your computer's local filesystem and then view it using any editor. Read more about adb pull here