开发者

How to find text file in android emulator?

Hi I am new to Android. I push files to Android device emulator. Image files are in Gallery and audio files are in Music. How can I view the text file in the android device emulator.( I heard android doesn’t come with Text Editor form stack overflow). I don’t want to open Text file I need to find if the text file is in the device or not. My file explore application list the available file in the sdcard. It lists the text file name also but in the device emul开发者_StackOverflow社区ator how can I find the text file?????


It can also be viewed through Eclipse using the File Explorer view when the emulator is running.

Window->Show View->Other..->Android->File Explorer

When the emulator is not running, File Explorer shows nothing.


Try using the following commands from your command line and see if that helps:

1. adb shell (a # prompt opens)
2. ls
3. cd /data/data

now you can see the list of folders that belong each to its own package/application. cd into the folder that interests you most and see what's inside. Many applications store some additional files here. The text file you're looking for could be there.

You can still view the contents of a text file in Android by writing 'cat [filename]' in the console.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜