android之相机开发

在android中应用相机功能,通常有两种:一种是直接调用系统相机,一种本身写的相机。 我将分别演示两种方式的使用: 第一种:是使用Intent跳转到系统相机,action为:android.media.action.STILL_IMAGE_CAMERA 关键代码:html Intent intent = new Intent(); //调用照相机 intent.setAction("an
相关文章
相关标签/搜索