Adding images in gallery of emulator

橙三吉。 提交于 2019-12-23 14:03:41

问题


I want to display images in my application. But in emulator there no any picture present by default. So it needs to add some images to emulator. I tried it with adding images in sdcard by could't be successful. Please specify steps.


回答1:


You can use DDMS or adb push command to push images onto sdcard. Make sure to run MediaScanner from dev tools, post that.



来源:https://stackoverflow.com/questions/5062806/adding-images-in-gallery-of-emulator

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