On Aug 17, 9:11 am, Dany BREARD <[email protected]> wrote: > File doesn't create so i thin k my /sdcard is not recongnized but when > i launch emulator with > > emulator -avd my_avd -sdcard C:\SDCard
Not sure if you got this right or not, but the sdcard is not a directory on your windows box, its an image file, ie something like mysdcard.img which you create with a command from the android tools, mksdcard or something like that. Would then suggest you learn to use the adb shell to get inside the emulator and manually verify that the /sdcard directory exists and that you can create files there. For example, C:> adb shell $ ls /sdcard or use adb to dump a file in the sdcard and then look for it C:> adb push myfile.txt /sdcard/myfile.txt C:> adb shell $ cat /sdcard/myfile.txt You may find it useful to learn a bit of unix/linux-isms, as even though you are sitting at a windows box that is what android is under the covers, and it will occasionally be useful to deal with it on native terms, even if you aren't officially supposed to need to. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

