The mksdcard utility creates the SD card image whereever you specify it. It is just a normalxamp file on your host computer file system. The ls command will show you when it has been created. At that point the emulator does not know anything about it and you can create many SDCard images if you want._After_ it has been created you will need to start your emulator again with the location where it is on your host file system. (I do not think it would auto refresh this if it did not exist there in the first place). The emulator will now mount the file on the host computer as a filesystem under /sdcard. _Then_ your emulator has a writable file system under /sdcard (better use the environment to get it as it could change for devices), so any push operation will go to /sdcard/myfile.
I can see in the example code below that you are trying to push with the name of file on the host file system (D:...etc). That does not exist on the emulator. The emulator has /sdcard/ etc. HTH. Ludwig 2008/10/10 guru <[EMAIL PROTECTED]> > > I have been trying to push an mp3 file for quite a while but i am > getting the error. > > ----------------------------------------------------------------------------------------------------------------------------------------------- > D:\android-sdk-windows-1.0_r1\tools>mksdcard 1024M sdcard.img > > D:\android-sdk-windows-1.0_r1\tools>adb push D:/android-sdk- > windows-1.0_r1/tools/anirudh.mp3 /sdcard > 530 KB/s (0 bytes in 4031977.007s) > > D:\android-sdk-windows-1.0_r1\tools>adb push D:/android-sdk- > windows-1.0_r1/tools/anirudh.mp3 \sdcard > failed to copy 'D:/android-sdk-windows-1.0_r1/tools/anirudh.mp3' to > '\sdcard': Read-only file system > > > ----------------------------------------------------------------------------------------------------------------------------------------------- > > When i see in the emulator,I dont see the file i have pushed.Thanks > for your help. > > Thanks > Guru > > > On Sep 24, 2:50 pm, Sudha <[EMAIL PROTECTED]> wrote: > > in addition to the above mail > > > > I tried to pull out the default image coming the camera > > folder( apperas in the pictures in the emulator) and tried to push teh > > same back to /sdcar/dcim/camera. > > now also teh image appreas liek red block and blank screen when > > selected.. > > > > Nothing is happening with the 1.0 > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

