Resolution ratio acquiring method and device of external camera of android system

An acquisition method and technology of an acquisition device, applied in the field of mobile terminal equipment, can solve the problems of mismatching preview screens and inability to dynamically update, and achieve the effects of improving display effect, improving compatibility, and being convenient to use.

Active Publication Date: 2014-01-29
TCL CORPORATION
View PDF6 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method and device for obtaining the resolution of an external camera in an android system in view of the above-mentioned defects of the prior art, aiming to solve the problem that the resolution of the external

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resolution ratio acquiring method and device of external camera of android system
  • Resolution ratio acquiring method and device of external camera of android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention provides a method and device for acquiring the resolution of an external camera in an android system. In order to make the purpose, technical solution and advantages of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0032] see figure 1 , figure 1 The flow chart of a preferred embodiment of the method for obtaining the resolution of an external camera in the android system provided by the present invention, as shown in the figure, the method for obtaining the resolution of an external camera in the android system includes the following steps:

[0033] Step S100, obtaining all supported resolutions of the external camera through the video driver layer;

[0034] Step S200, converti...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a resolution ratio acquiring method and device of an external camera of an android system. The resolution ratio acquiring method includes acquiring all supported resolution rates of the external camera by a video driving layer, and converting the supported resolution rates of the external camera into a character string list containing resolution rate information; calling the character string list and writing the same into a camera application attribute of the android system; matching and calculating according to size of a preview interface of a camera application of the android system and the supported resolution rates of the external camera, and selecting the most matching resolution rate as resolution rate of the preview interface. By the resolution ratio acquiring method and device, different supported resolution rates of the external camera can be displayed by the camera application of the android system, the resolution rate of the external camera can be better matched with a display screen of an android system terminal, compatibility of the android system for the external camera is improved, and display effect is greatly improved.

Description

technical field [0001] The present invention relates to mobile terminal equipment, in particular to a method and device for acquiring the resolution of an external camera connected to an android system. Background technique [0002] With the popularization of mobile terminals, especially 3G smart phones, many applications are integrated on the mobile terminal, such as Internet access function, camera function and video camera function and so on. Take the terminal using the android system as an example. On the android system, the camera application has become more and more popular. Due to the limitations of the android system, when using the camera, the system itself cannot use the resolution supported by the inserted camera. To update dynamically, only fixed resolution can be supported. When different cameras are inserted, the application layer cannot obtain the resolution list supported by the currently inserted camera. The existing technology is that if the bottom layer ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N5/232
Inventor 郝占峰陆琳
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products