在Android模拟器中看不到的图像. [英] Image not seen in Android emulator.

查看:115
本文介绍了在Android模拟器中看不到的图像.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Android 4.0.3.我已经在sdcard中添加了图像,但是当我打开模拟器库时没有看到任何照片.但是在DDMS File Explorer窗口中,图像已成功添加.但是在模拟器中没有打开任何图像.我该怎么办?

I am using Android 4.0.3 .I have add the image in sdcard but when I open my emulators Gallery No any photo seen.But looking at DDMS File Explorer Window the image is added successfully.But nothing open in emulator.What should I do?

推荐答案

运行MediaScanner,除非MediaScanner找到了它们,否则Gallery将不会拾取文件.
如果您在模拟器上具有开发工具应用程序,则可以使用媒体扫描仪"选项来强制进行媒体扫描.否则,请尝试使用相机拍照,这也会触发扫描.

不得已的办法是自己编写一个应用程序以强制进行媒体扫描.

希望这会有所帮助,
弗雷德里克(Fredrik)
Run the MediaScanner, the Gallery won''t pick up files unless the MediaScanner has found them.
If you have the Dev Tools app on the emulator there''s a Media Scanner option that forces a media scan. Otherwise try using the camera to take a picture, that should also trigger a scan.

Last resort would be to write an application yourself to force a media scan.

Hope this helps,
Fredrik


这篇关于在Android模拟器中看不到的图像.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆