A method for silently taking pictures on an android platform
A mute, platform technology, applied in the field of taking pictures on the Android platform, can solve the problem that the sound of taking pictures cannot be perfectly eliminated
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2019-01-04
Smart Images

Figure 1
Abstract
Description
technical field
[0001] The invention relates to the technical field of photographing on an Android platform, in particular to a method for how to hide a photographing prompt sound sent by a system when photographing. technical background
[0002] In the current scene where mobile phones are used to take pictures, in many cases, in order to achieve the purpose of capturing pictures, it is necessary to complete the shooting process without disturbing the subject. However, due to the limitations of the Android system, when taking pictures on different mobile phones, an The photo prompt sound, some existing technical solutions can hide the photo prompt sound on some mobile phones when taking pictures, but they cannot take effect on all mobile phones.
[0003] In the process of taking pictures of traditional Android mobile phones, the takePicture method is used to take pictures. When taking pictures through the takePicture method, the Android system will search for the photo prom...
Examples
Embodiment Construction
[0028] In order to make the purpose, technical solution and advantages of the present invention clearer, the specific implementation manners of the present invention will be further described in detail below.
[0029] see figure 1 , the method applicable to the silent photographing of the Android platform of the present embodiment comprises the following steps:
[0030] (1) Start the camera function of the Android device;
[0031] In this embodiment, when the user presses the camera function of the Android device, the device enters the state of taking pictures.
[0032] (2) Start the preview;
[0033] In this embodiment, the viewfinder screen is previewed by using the camera viewfinder interface.
[0034] (3) Register preview frame callback;
[0035] Make the camera return the preview frame data to the application through the onPreviewFrame method after obtaining the data of each frame;
[0036] The preview frame data format is YUV format;
[0037] The onPreviewFrame met...