Method for managing and controlling camera resources of Android system
A resource management and camera technology, applied in the field of Android smart TVs, can solve problems such as blocked user behavior, affecting user product experience, and inability to use cameras
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] Such as figure 1 As shown, the present invention provides a method for managing and controlling camera resources in an Android system, comprising the following steps:.
[0020] (1) Start application A in the foreground and connect to the camera;
[0021] (2) Execute the camera resource control function wouldEvictLocked();
[0022] (3) Determine whether the camera is being used by other application B; if not, the foreground application has successfully obtained the camera resource, and the control process ends here; if so, proceed to the next step;
[0023] (4) Obtain the process scores of the foreground application and other application B separately. If the process score of the foreground application A is lower than that of other application B, the system will automatically disconnect the other application B from the camera, release the camera, and the foreground application A has obtained the camera. Resources, the management and control process ends here; if the pro...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
