Android模拟器相机自定义图像 [英] Android emulator camera custom image

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

问题描述

有人知道模拟器摄像头启动时可以打开一些个人图片吗?

Does anybody know is it possible to open some personal picture when emulator camera starts?

我有一个基于图像分析的应用程序,当我单击照相机按钮时,我希望照相机打开的不是默认的Android模拟器运动图像.我希望它打开一些设置为默认图像的图像.因此,当我选择拍照时,它将仅显示该图像,而当我拍照时,该图像将被保存到图库,而不是Android默认图像.

I have an application which is based on image analysis and I would like when I click a button for camera that camera opens not that default Android emulator moving image. I want it to open some image which I set as a default image. So when I choose to take a picture it will show only that image and when I take a take a picture, that image will be saved to gallery, not Android default image.

推荐答案

从以下url下载源.这是模拟器中另一个画廊的工作. 通过传递意图以从相机捕获图像时,请选择此图库.这看起来像三星移动3d画廊.这将在模拟器中返回默认图像.还有一点,只有在3.0版之后,它才能正常工作.

Download the source from following url . This is work as the another Gallery in the emulator. While passing intent to capture image from camera choose this gallery. this is looks like samsung mobile 3d gallery.. this will return the default images.. in emulators . one more thing it will work fine after 3.0 versions only.

https://github.com/c-jiang/Gallery3D-Mod

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

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