Android calls the system camera to take photos and record videos
•
Android
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
二维码