Working with files

Put your problem here if it does not fit any of the other categories.

Working with files

Postby Mina » Fri May 23, 2008 9:58 am

Hi,
In my application, i want to use files that are in my computer. I want to open a file on the Emulator.

Please, how can i do it ?

Thank you.
Mina
Junior Developer
Junior Developer
 
Posts: 13
Joined: Thu Apr 10, 2008 8:59 am

Top

Postby borya » Mon Jul 07, 2008 7:41 pm

I don't know of a way to directly access the file system on your computer from an android program, maybe some one more experienced has an idea, but you could try looking at using "adb push" to copy files onto the file system on the emulator, or to put your files on a virtual sd card and have the emulator read from that.

http://code.google.com/android/reference/emulator.html explains how to make an sd card.
borya
Developer
Developer
 
Posts: 27
Joined: Wed Jul 02, 2008 7:50 pm
Location: California, USA

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google Feedfetcher and 17 guests