Android calls the system camera to take photos and record videos

This paper implements the call of Android system camera to take photos

The layout of the project is quite simple, with only one button:

First, open the manifest file under the packages \ apps \ camera folder and find the following code:

Relevant codes are as follows:

The relevant code for activating the video recording function is also very simple:

source: http://www.cnblogs.com/wuyudong/

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>