捕捉画面存储到SD卡 [英] capturing picture storing into sdcard

查看:107
本文介绍了捕捉画面存储到SD卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜是新到Android我的要求是拍摄照片并将其存储到SD卡,并retriving它作为一个对象。是否有任何code? plz帮助我

Hi am new to android my requirement is to taking picture and storing it into an sdcard and retriving it as an object. Is there any code? plz help me

推荐答案

您可以使用 ACTION_IM​​AGE_CAPTURE 意图捕捉的画面:

You can capture picture using an ACTION_IMAGE_CAPTURE intent:

Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE );

看一看照相机捕获实例的实现:
http://labs.makemachine.net/2010/03/simple- Android的照片捕捉/

这篇关于捕捉画面存储到SD卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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