Method for supporting dual cameras in Android
A dual-camera, camera-based technology, applied to program control devices, etc., can solve problems such as heavy workload, limited time, and high development costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] According to the existing architecture of the Android 2.1 system, the application operation flow chart after realizing dual camera support is as follows figure 1 shown.
[0025] according to figure 1 As shown in the process, there are mainly the following steps to realize dual camera support:
[0026] Step 1: Add preference settings resources
[0027] SharedPreferences is a utility class for storing simple data in Android. It provides a lightweight data storage method by storing simple data types in the private directory of the application ( / data / data / $PACKAGE_NAME / shared_prefs / ) defined by key-value pairs (key-value) xml file.
[0028] Android 2.1 Camera application (package / apps / Camera directory, hereinafter marked as $CAM_PACK) has already adopted this method to record some configuration parameters of the camera. To realize dual cameras, only a new parameter needs to be added on the original basis—the one currently in use camera. The dual camera is divided into...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 