Hi,

You first need to emulate an SD card:

http://code.google.com/android/reference/emulator.html#sdcard

Afterwards, you can push files using adb push:

adb push image.png /sdcard/image.png

Finally, launch the Dev Tools app and run "Media Scanner".

Cheers,
James

On Fri, Jan 16, 2009 at 12:12 AM, birdy <[email protected]> wrote:
>
> Dear Jaimin mehta:
>
> Thank you!
> Do you mean use Eclips to import?
> I have to say much clear about my question.
>
> I do not use eclips now. I repo the source from google and build it
> then get the emulator.
> When I run the emulator there is an AP named "Pictures". Turn on this
> AP.   It show "No Pictures found.". So I want put some PNG files into
> the emulator. Someone says we can use "adb push" to copy files into
> emulator. but I don't know which folder I should put in the emulator.
>
> for example:
> I have a test.png file in /home/birdy/pictures/test.png , I want  put
> it into emulator, so I need use
> adb push /home/birdy/pictures/test.png  /xxx/xxx/...
> Then I want turn on "Pictures" and see test.png in this AP.
>
> Is this way correct?
> Which folder in emulator should be ? (/data/xxx  or /sdcard/xxx
> or .....)
> After copy the file to the folder, anything else should I do?
> Then I can see the file in "Pictures".
>
> Thanks again!!
>
> birdy
>
>
>
>
>
> On 1月16日, 下午3時03分, "jaimin mehta" <[email protected]> wrote:
> > hi birdy
> > put ur images in <res><drawable>by cliking rightclick on the mouse and
> > select the import option and select the path
> >
> > On Fri, Jan 16, 2009 at 12:29 PM, birdy <[email protected]> wrote:
> >
> > > HI all:
> >
> > > I want add some images in emulator and show in "Pictures".
> >
> > > 1.Please tell me which folder in emulator I should put those images.
> > > 2.Use adb push <local> <remote> , the folder in emulator will be local
> > > or
> > > remote? Please show me a sample.
> > > Thank you!
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to