if you want to read the file from sdcard by programatically
File myfile  = new File("/sdcard/sample.xml");

or if you want to get the dump the file to your system from command prompt
you can use

to get the file --> adb pull

to insert the file to sdcard --> adb push

OR  you can do it by

open ddms while running emulator/devise

in device category choose file explore
then it will display tree structure

under sdcard you can found your files

use given menu options pull  and push to transfer files to and from the
device

i think this will help you

Thank you

if you want


On Mon, Mar 16, 2009 at 11:57 AM, AlexNguyen <alexnt...@gmail.com> wrote:

>
> I have the file in sdcard: sample.xml
> I want to read it, so I dont know some code to connect to sdcard in
> android.
> Anyone help me, please?
>
> Thanks
>
> >
>


-- 
Dilli Rao. M

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to