Basic knowledge of mobile resolution (DPI,DIP calculation)
1. Terminology and concepts
Terms
Description
Note
Screen size (on-screen dimensions)
Refers to the actual physical size of the phone, such as 2.8-inch, 3.2-inch, 3.5-inch, 3.7-inch
Motorola Milestone mobile phone is 3.7 inches
Aspect Ratio (Wide-high ratio)
Refers to the actual physical dimensions of the wide-high ratio, divided into long and nolong
Milestone is 16:9 and belo
of the size of the chalk and the corresponding relationship, for the development of Android games can take into account the future of 3.0 and a lot of tablet needs.Conventional we may only consider QVGA,HVGA,WVGA,FWVGA and DVGA, but left the phone to talk about, may use the tablet like WSVGA 1024x576 and WXGA 1280x768 and so on.QVGA = 320 * 240;WQVGA = 320 * 480;WQVGA2 = 400 * 240;WQVGA3 = 432 * 240;HVGA = 480
I. FAQ1. determine whether your camera supports uvc standard input lsusb // list usb devices [cpp] Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0c45: 62f1 Microdia // camera Bus 002 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 1a40: 0101 terminus technology inc. bus 002 Device 003: ID 17ef: 6025 Lenovo more detailed tree structure lsusb-t [cpp]/: Bus 02. port 1: Dev 1, Class = root_hub, Driver = musb-hdrc/1 p,
Previously, I used a horizontal game, and then generally used the following code to adapt to multiple resolutions:
typedef struct tagResource{ CCSize sizeInPixel; CCSize sizeDesign; char directory[100];}Resource;static Resource resPhone = { CCSizeMake(480, 320), CCSizeMake(480, 320), "iphone" };static Resource resPhoneRetina = { CCSizeMake(960, 640), CCSizeMake(
Android screen adaptation solution and android screen adaptation
RepostDisableIt is used for commercial purposes and cannot carry virtual currency, points, registration, and other additional conditions. The source and author @ JiongBull must be indicated in the reprint.
Android screen adaptation solution
Statistical Analysis 1. Active Android devices
Parameter table:
Model
Resolution
Pixel density
Screen width
Samsung Galaxy Note2
720*1280
Xhdpi
360dp
. Therefore, in these two versions, the platform version identifier can only precisely match the current Android version. That is to say, if it is only v3, only Android 1.5 will satisfy this identifier. This bug has been fixed in Android 1.6 and later versions.
Layout Direction)
Example:Ldrtl and ldltr
Ldrtl indicates the layout from right to left, and LDLR indicates the layout from left to left.Minimum API Level: 17 (Android 4.2)
Minimum screen width(SmallestWidth)
Sw
Generally, the LCD screen of a mobile phone is made of TFT material. VGA WVGA qvga hvge XGA only indicates the screen resolution. It is a code and it does not matter with the material.
Resolution table:
Code
Resolution
Code
Resolution
Qvga
320*240 pixels
Wqvga
400*240 pixels
Hvga
320*480 pixels
VGA
640*480 pixels
WVGA
Android divides the screen size into four types: small, normal, large, xlarge;The screen density is divided into: low (LDPI), Medium (MDPI), High (hdpi), Extra High (xhdpi), and the relationship between each screen density such as the following:
Density name Reference
value for density (DPI)
Relationship
the corresponding screen resolution
xxxhdpi
640dpi
xxhdpi
480dpi
xhdpi
32
/microphone, VGA output, six in one card reader
Camera: Front 1 million pixel
Fuselage size and Weight: 259*387*36-15.5mm mm, weighing 2.7 kg
Price: USD 1099 (about 6742 RMB)
Appearance design and details
As with the former Y500, Lenovo IdeaPad Y510p also adopted a black drawing style of aluminum top cover and deck, the overall style is relatively low-key, and opened the notebook, you can see the red button and speaker design, for the overall design brought a trace of vitality. In addition,
1. Commit phase, call Mysql-connector-net-6.6.5.msi error using VBSThe VBS script is as follows:Solution:Open the%temp% directory to see the file name beginning with the MSI. Log end of the installation error logging file (random name, such as MSIeb1c8.LOG) ... Win7 the file is generated by default, and XP is said to need to set click to open linkThen put the above code WScript.CreateObject .... The WScript
When writing an application Host Program (supporting automatic deployment and automatic upgrade), you need to install the VC runtime and Python environment during the installation process. Therefore, you want to call "\" C: /Windows/system32/msiexec.exe \ "/I E:/software/python-3.3.0.msi "". "The installation package cannot be opened. Make sure the package exists and you have the right to access it, or contact the application vendor to confirm that it
debugging process, which are listed below to deepen your understanding. I am a newbie, so most of the content is rectified Based on the online materials.
Msi interruption and traditional interruption
The PCI-E supports two types of interruptions: Traditional intx interrupt and MSI interrupt. Comparing the two kinds of interruptions allows us to understand the ins and outs of the Development of PCI specific
ApplicationMicrosoft® .NET Compact Framework 1.0 Microsoft Visual Studio® .NET 2003
Profile
Learn how to create a stand-alone. msi file that runs from the desktop to install the application on a different Pocket PC device. The development process is automated, so you can easily create and package the required components to an. msi file. The sample code is written in C # and VB.net languages.
Content Summ
Android in Dip, DP, PX, SP and screen density 1. Dip:device independent pixels (device independent pixels). Different devices have different display effects, this is related to the device hardware, generally we support WVGA, HVGA and QVGA recommended use this, do not rely on pixels.It is important to note that dip is related to screen density and that the screen density is related to specific hardware and that the hardware settings are incorrect and may cause the dip to not display properly. On
At first, I developed the simulator selected as WVGA854, with a resolution of 854*480. I developed after the 800*480 on the phone when the feeling is OK, but to 480*320, and 320*240 resolution on the phone, a lot of the interface is distorted, then I feel the importance of self-adaptation of the app.There are two major problems with self-adaptation: horizontal sc
The article is reproduced prohibited for commercial purposes, and cannot be accompanied by virtual currency, points, registration and other additional conditions. Reprint shall be marked by the provenance Mulgore grassland and author @jiongbull.Android screen adaptation scheme
Statistical analysis 1. 2014q1 Active Android Device statsParameter table:
Model
resolution
pixel density
Screen Width
Samsung Galaxy Note2
720 *
xhdpi
Article transferred from: http://blog.csdn.net/zpf03/article/details/5903484
During this time, I developed an image recognition project based on wince6.0 + 6410, using the Development Board of youjian hengtian. This development board has an ov9650 camera connection port, but one of the biggest problems is that the image obtained by the camera is too small and only 320*240 images can be seen. I need 1280*1024 images, therefore, it can only be modified. If you want the driver to provide an interf
Php uses regular expressions to process values that are not required in strings. Today, when collecting images from the Momo website, the resolution of the images will be changed to 320*480, and the original images contain pixel information. For example, the clear Hut (320 today, when collecting images on Mo's Web site, because I will eventually change the image resolution to 320*480, the original image con
based on screen resolution only. That is, the device is based on the screen resolution. This is also the source of the commonly seen VGA class name:Differentiate different devices according to different screen resolutions, such as some common names:
QVGA: 240*320 Quarter VGA One-fourth meaning (for a quarter) HVGA: 320*480 Half size VGA meaning one-second (1 = a) VGA: 480*640 T
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.