android之相機開發

在android中應用相機功能,通常有兩種:一種是直接調用系統相機,一種本身寫的相機。 我將分別演示兩種方式的使用: 第一種:是使用Intent跳轉到系統相機,action爲:android.media.action.STILL_IMAGE_CAMERA 關鍵代碼:html Intent intent = new Intent(); //調用照相機 intent.setAction("an
相關文章
相關標籤/搜索