i want to know how to push images to the emulator gallery. I tried using with push command but its not displayed in gallery and not accessed by my code. Actually i have to access the image taken by the camera in my code. i tried to push a jpeg image to sdcard/DCIM/Camera and file is shown there using shell. but its not displayed in camera pictures folder in gallery and also not accessible by my code :S
plz help On 10/8/09, Jeffrey Blattman <jeffrey.blatt...@gmail.com> wrote: > http://developer.android.com/guide/tutorials/views/hello-gallery.html > > On 10/7/09 5:03 PM, wahib haq wrote: >> thanks john. how to enter images in the gallery ??? >> >> On 10/7/09, jbrohan<jbro...@gmail.com> wrote: >> >>> I'm a beginner too. >>> I use ddms. Run the command window in Windows, then type ddms here. If >>> you have the paths set up properly it will work, else you need to go >>> to<android sdk folder>/tools and enter ddms. This program links with >>> the debugger and provides real time readings of logcat and also >>> device>file explorer shows the files and offers an easy upload and >>> download. >>> >>> Images as such do not show up in teh gallery, they need to be entered >>> into the gallery which creates a thumbnail for them. >>> best of luck >>> John >>> On Oct 5, 10:40 pm, wahib<wahib.t...@gmail.com> wrote: >>> >>>> hi !! I have created a image file in a folder /androidimages and when >>>> i try to run emulator from terminal giving path to this image file it >>>> gives error: >>>> >>>> i try => $ emulator -sdcard /home/soms/androidemuimages/androidnew.img >>>> -avd androidnew >>>> error=> SDL init failure, reason is: No available video device >>>> >>>> as a second alternative i give path to this image file in AVD manager >>>> in eclipse but even it doesnt recognises it i guess. coz when i try to >>>> use camera it display the toast that sdcard is not enabled. >>>> >>>> ============= >>>> >>>> second problem is that when i try to push a .bmp file to sdcard using >>>> $ adb push bar3.bmp /sdcard >>>> there is no error but there is no change in logcat and no image added >>>> to gallery. or is it somewhere else?:S >>>> >>>> Plz forgive if i sound childish. >>>> >>>> Thanks in advance, >>>> regards, >>>> wahib >>>> >>>> >>> >> >> > > -- > > > > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---