# third-party-camera **Repository Path**: kingwild/third-party-camera ## Basic Information - **Project Name**: third-party-camera - **Description**: harmony os camera - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-14 - **Last Updated**: 2025-04-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # System-Level Camera Experience for a Third-Party Camera App This sample demonstrates a third-party camera app featuring system-level camera-level effects and functionalities, such as resolution control, moving photo, video stabilization, and continuous zoom. These capabilities are achieved through the open camera capabilities of HarmonyOS. ## Preview ![Preview](screenshots/capture.en.png) ![Preview](screenshots/record.en.png) ## How to Use You can touch the round button at the bottom of the screen to take a photo, adjust the zoom and flash settings, and preview the photo. ## Project Directory ``` ├──entry/src/main/ets/ │ ├──constants │ │ └──CameraConstants.ets │ ├──entryability │ │ └──EntryAbility.ets │ ├──pages │ │ ├──Index.ets // Home page │ │ └──MovingPhotoPage.ets // Moving photo preview page │ ├──utils │ │ ├──CameraShooter.ets // Photographing │ │ └──VideoRecorder.ets // Video recording └──entry/src/main/resource // Static resources ``` ## How to Implement Use Camera Kit to take photos and use **photoAccessHelper** to save photos and videos. ## Required Permissions 1. Apply for the access control list permission to obtain the permission to save photos to the system app Gallery. 2. Camera permissions: **ohos.permission.CAMERA** and **ohos.permission.MICROPHONE** 3. Media library permissions: **ohos.permission.READ_IMAGEVIDEO** and **ohos.permission.WRITE_IMAGEVIDEO** ## Constraints 1. The sample app is supported only on Huawei phones running the standard system. 2. The HarmonyOS version must be HarmonyOS NEXT Developer Beta1 or later. 3. The DevEco Studio version must be DevEco Studio NEXT Developer Beta1 or later. 4. The HarmonyOS SDK version must be HarmonyOS NEXT Developer Beta1 or later.