Thanks a lot!!
I can put the file and see it. This is my note:

If you want put some media files (still image, video, audio) in your
"emulator". You can use the simulated SD card.

1.      make a simulated SD card.

mksdcard <size> <file> , size from 1 byte to 128G and file is your
simulated SD card name.  Use

"mksdcard 128M  mysdcard.img" can create a 128M simulated SD card
named mysdcard.img.

2.      run the emulator with -sdcard <filepath>

run "emulator -sdcard /home/birdy/mysdcard.img" , then your emulator
has a 128M  SD card.

3.      copy file to your SD card

"adb push /home/birdy/pictures/test.png /sdcard/test.png"

This command will copy a file from your host to emulator's SD card.

4.      You must run MediaScanner in DevTools, it will help your
emulator to find the file in SD card and the AP will know there are
some files in SD card.

ps. if your emulator version is 1.5, ignore step 4 .

If you have any question or suggestion please tell me.


On 1月16日, 下午4時51分, rktb <[email protected]> wrote:
> Try "adb remount" ... and then push the files once again.
>
> On Jan 16, 1:43 pm, birdy <[email protected]> wrote:
>
> > Thank you!
> > I use adb push some png files into /data folder. Then run the
> > MediaScanner.
> > But the MediaScanner always only scan the /sdcard folder. So I try to
> > adb push files into /sdcard.
> > It return fail cause it's a read-only file system.
> > I can not see the png file in Pictures now.
> > Do you have more suggestion?
>
> > By the way, I'm sure ImageGallery2.java is part of "Pictures". Still
> > checking...
>
> > birdy
>
> > On 1月15日, 下午7時20分, "for android" <[email protected]> wrote:
>
> > > you need to push picture with the adb tool..
>
> > >http://code.google.com/android/reference/othertools.html#mksdcard
>
> > > You can use the DDMS tools in case you are using Eclipse..there are many
> > > threads which tell you how to push files in the emulator..
>
> > > After pushing you need to scan the MediaScanner in DevTools
>
> > > On Thu, Jan 15, 2009 at 4:44 PM, Jean-Baptiste Queru <[email protected]> 
> > > wrote:
>
> > > > Sorry, I'm not familiar with the implementation details of that
> > > > application. You should be able to put images in the emulator by
> > > > downloading them with the android browser and saving them.
>
> > > > JBQ
>
> > > > On Wed, Jan 14, 2009 at 11:38 PM, birdy <[email protected]> wrote:
>
> > > > > Dear JBQ:
>
> > > > > Sorry, I'm not sure which file(s) is the one that you mean. I check
> > > > > the ImageGallary2.java. It looks like the "Picture" will do. Are there
> > > > > any more files?
>
> > > > >  By the way I can not put still images in emulator. when I run
> > > > > "picture" it always say "no pictures found." . Can anybody tell me how
> > > > > to put the still images in emulator and "Picture" can find these
> > > > > images?
>
> > > > > On 1月12日, 上午8時38分, birdy <[email protected]> wrote:
> > > > >> Thank you! I'll check it.
>
> > > > >> birdy
>
> > > > >> On 1月10日, 下午3時42分, Jean-Baptiste Queru <[email protected]> wrote:
>
> > > > >> > I think it's part of the camera app.
>
> > > > >> > JBQ
>
> > > > >> > On Fri, Jan 9, 2009 at 6:56 PM, birdy <[email protected]> wrote:
>
> > > > >> > > Hi all:
>
> > > > >> > > I am interested in  the Ap named "picture" on the android 
> > > > >> > > emulator.
> > > > >> > > But I can not find thesourcecodeinhttp://android.git.kernel.org/.
> > > > >> > > Does Android release this Ap'ssourceand where can I get this 
> > > > >> > > souce
> > > > >> > >code?  Or where can I get thesourcerelate "show still image" Ap?
> > > > >> > > Thank you!!
>
> > > > >> > > birdy
>
> > > > >> > --
> > > > >> > Jean-Baptiste M. "JBQ" Queru
> > > > >> > Android Engineer, Google.
>
> > > > --
> > > > Jean-Baptiste M. "JBQ" Queru
> > > > Android Engineer, Google.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to