AMessage/ACodec消息分析(十七)
消息 分析 十七
2023-09-14 09:16:06 时间
Using Existing Camera Apps
A quick way to enable taking pictures or videos in your application without a lot of extra code is to use an Intent
to invoke an existing Android camera application. A camera intent makes a request to capture a picture or video clip through an existing camera app and then returns control back to your application. This section shows you how to capture an image or video using this technique.
The procedure for invoking a camera intent follows these general steps:
- Compose a Camera Intent - Create an
Intent
that requests an image or video, using one of these intent types: