If you just start with the default settings there is essentially no SDCard
in the system. (It is really like an empty slot, what you see is the mount
point).

First you need to create an SDCard, there is a mksdcard utility in the tools
directory. It creates a file with a FAT32 file system on it.

Then you need to tell the emulator to use that file as the SDcard. There is
an -sdcard switch on the emulator (somewhere in debug run dialog with
eclipse).

Then you can copy an image onto it, like you tried before.

HTH

Ludwig


2008/9/23 Sudha <[EMAIL PROTECTED]>

>
> I have a few doubts on sdcard.
> 1. How to remove the sd card from t eh device ?
> 2.I can capture the image.One default image is coming in pic folder.
> But how can I move my own images and sound files to the sdcard
> I tried using
> adb push b.jpg /sdcard
> it shows
> failed to copy b.jpg to /sdcard : read only file system
>
>
> On Sep 1, 2:04 pm, Graeme <[EMAIL PROTECTED]> wrote:
> > Hi Guillaume, Bertl
> >
> > Thanks for clarifying this, the comment in the Android docs about
> > 'using relative
> > paths' seems to be a bit misleading, I will use absolute paths as you
> > both
> > recommend.
> >
> > rgds
> > Graeme
> >
> > On Sep 1, 9:00 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Hi, Graeme
> > > In run configurations I put this in "additional emulator command line
> > > options" the following line:
> > > -sdcard /home/gperrot/.android/sdcard (this is the path of the sdcard
> > > I created, this is neither a default directory nor a default file).
> >
> > > On Aug 29, 4:55 pm, Bertl <[EMAIL PROTECTED]> wrote:
> >
> > > > Hi Graeme,
> >
> > > > you need absolute paths, where your sdcard image lays, i.e. if your
> > > > file sdcard.img is in C:\sdcard\sdcard.img, then you should input C:
> > > > \sdcard\sdcard.img, also, the absolute path where your file is.
> >
> > > > Emulator path play no role.
> >
> > > > I hope, that's you needed.
> >
> > > > Regards- Hide quoted text -
> >
> > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to