I see your problem. The commands you are issuing should do the trick, I cannot see anything wrong with them.Just quickly toying around with it (like using a wrong file path etc) I cannot get Eclipse to give me an error box as you get.
Anyone else an idea? Ludwig 2008/11/19 Asif k <[EMAIL PROTECTED]> > > Hi Ludwig, > > I used following procedure : > 1).first closed the running emulator. > > 2).created sd card image: ..\tools\mksdcard 512M C:\androidapp > \sdcard.img > > It executed successfully and got sdcard.img file in the C:\androidapp > directory. > > 3).In eclipse , in debug configuration of Fileexplorer application , > in target tab , I changed additional commandline options to "-sdcard C: > \androidapp\sdcard.img" > clicked apply and press debug ... but error dialog box came stating > "some error with emulator.exe" > > but when I removed that command line options , emulator was opening > but cannot push file in that. > I hope u will understand my issue now. > > > On Nov 19, 4:44 pm, Ludwig <[EMAIL PROTECTED]> wrote: > > If you do not have an SD card mounted with the -sdcard command, you will > > only see the /sdcard mount point and you will not be able to write to the > > (non-existent) SD card. IMHO no amount of banging your head against the > wall > > will help with that. > > I think there is something wrong in either how you create the SD card or > how > > you specify the path in the eclipse settings for the emulator (-sdcard > ...). > > It seems to work for everyone else, so there are chances that you are > doing > > something wrong. > > You might get more help if you post the exact commands you are using for > > this. > > > > Ludwig > > > > 2008/11/19 Asif k <[EMAIL PROTECTED]> > > > > > > > > > Hi All, > > > > > Thanks again for ur help But Still issues. > > > > > I have deleted sdcard,.image file in my desktop and close the > > > emulator. > > > Then I had created the sdcard image again from starting but in the > > > debug configuration when I gave -sdcard <path of image file> and > > > pressed debug..... error message came that cannot start emulator. > > > so I had removed command line -sdcard <path of image file> and again > > > run ,this time it run successfully and sdcard folder is present in > > > ddms .. but again cannot push filess error : [2008-11-19 16:08:06] > > > Failed to push 1.txt on emulator-5554: Read-only file system > > > > > ????????????? > > > > > waiting 4some inputs. > > > > > On Nov 19, 3:15 pm, "yasmin afrose" <[EMAIL PROTECTED]> wrote: > > > > Hi Asif, > > > > > > Before compling the project, > > > > > > Right Click on the Project -> Debug as -> Open Dubug Dialog -> choose > > > Target > > > > tab -> Then give your sdcard within Additional Infor... (See the .bmp > > > file) > > > > the click "Debug" button.. > > > > > > Then see the link, > > >http://www.anddev.org/tinytut_-_pull-push_files_from-to_the_emulator_. > .. > > > > > > folloe it & push the file. > > > > > > This may help you... > > > > > > Take Care!! > > > > Yasmin > > > > > > On Wed, Nov 19, 2008 at 3:29 PM, Thao <[EMAIL PROTECTED]> wrote: > > > > > > > In fact this is a permission issue. > > > > > What I can state is that you have those permission : d---------- > for > > > > > sdcard when the emulator is not launched with the sdcard mounted. > > > > > When it is mounted we have those permission : d---rwxrwx system > > > > > system 1970-01-01 01:00 sdcard > > > > > > > So if you are using eclipse launch your project with this > additional > > > > > option -sdcard pathToYourImageDisk\myImage.ima > > > > > you should be then able to push file using the DDMS perspective as > > > > > said above. > > > > > > > ++ > > > > > > -- > > > > Everything is Possible For U only > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

