No Images Found in Gallery

≯℡__Kan透↙ 提交于 2019-12-11 03:55:18

问题


I need to test a function that needs to picks some images from the gallery of Android JellyBean Emulator.

So I have downloaded from internet using the own browser of the emulator (that is slow as the hell) some images.

The images appears in the downloaded files but not in the Gallery of Emulator.

In the GingerBread emulator when I download an images from the browser these appear automatically in the gallery.

How could I force the emulator to find the images?


回答1:


In the old emulator the media scanner was enabled, due to large amount of resource needed the new version has the media scanner disabled by default.

If you want to see the images in the gallery, in the main menu of Jelly Bean Emulator go in:

DevTools->Media Provider and click "Scan SD Card".

In this way you should see the images in the gallery

If doesn't, probably the images saved aren't properly located in SD card,

-use DDMS(you can find it in the Android\android-sdk\tools folder

-Click on device menu and select File Explorer

-Go to mnt\sdcard

-Click the button "Push file into device" to upload images




回答2:


If I correct, you want some pictures in emulator's gallery. I think you can upload a picture file in DDMS file browser, or using 'adb push' command.



来源:https://stackoverflow.com/questions/13003477/no-images-found-in-gallery

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!