pixels, for devices with true pixel densities equal to logical values on pixel density levels, 1DP = 1/160 inch, for devices not equal to logical values, such as the second device in the table above, 180.27! = 160 This difference Android The operating system is scaled to compensate. For example, in this device to use the 160DP to the end of the actual number of pixels on the screen, which actually went through 2 steps:
In the DP progr
Document directory
1: Main Screen Size
2: Mobile Phone size
1: pixel (PX)
2: Resolution resolution
3: density Density
4: DPI densitydpi
5: Dip (DP) device independent Pixel
Note: There is a formula
6: SP pixel Amplification
7: Resolution of each screen
I have n
From: http://bbs.dospy.com/thread-6036281-1-1.html
Our commonly used mobile phone screen uses the same LCD screen as the notebook, the resolution of the LCD screen is fixed, each point is a pixel. In addition, the cell phone
screen will be tilted to the braid and should not be used in the high temperature sun for a long time [recommended, if the screen temperature is high during charging, please use less machine to charge]4. Fear of magnetic field: especially the electromagnetic field. If the small magnet is placed on the capacitive screen for a while, the capacitive
) keyboard.2) in the notification bar with the button, as long as a click, you can automatically.4. Huawei Glory Mobile screenshotThe first is Huawei's own shortcut keys, press and hold the volume minus the power button, you can intercept the screen. Here is a little trick, is to hold down the volume minus, and then press the power button, while holding down for two or three seconds. Press the Start button first, it becomes the lock screen.The second
91 Where do you want to check the screen after the assistant's cell phone is censored? Now, a lot of people are using the software of 91 assistants. After using this software to screen, many people are asking, 91 Assistant mobile phone s
New ui-get phone screen size and common resolution, screen adaptation, the problem of the portrait and the screen--Reprint Please indicate source: Coder-pig, welcome reprint, do not use for commercial use!Piglet Android Development Exchange Group has been established, welcom
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-i
This article mainly introduces how to solve the problem of jQuery's dynamic acquisition of cell phone screen height and width. If you need it, you can refer to this article to help colleagues solve the problem of using jQuery to obtain dynamic cell phone
1/** 2 * switch from DP unit to PX (pixel) 3 */4 public static int dip2px (context, float dpvalue) based on the cell phone resolution) {5 Final float scale = context. getresources (). getdisplaymetrics (). density; 6 Return (INT) (dpvalue * scale + 0.5f); 7} 8 9/** 10 * based on the resolution of the phone from PX (pixel) to DP 11 */12 public static int px2dip (c
Basic mobile phone resolution knowledge (DPI, DIP computing)
1. terms and concepts
Terms
Description
Remarks
Screen size)
It refers to the actual physical size of the mobile phone, such as the commonly used 2.8 inch, 3.2 inch, 3.5 inch, 3.7 inch
Mobile phone station development encountered some problems, design page Use how large size? To do some research, in addition to the iphone special some, currently on the market Android system actually display the width of the page, are 360px.
Mobile phone model
Vertical screen width
IPhone
The screen size of Android mobile phones has always been a headache for developers. Because the screen sizes used by mobile phone manufacturers are different, the presentation and layout of user UI interfaces are naturally different. Therefore, when developing Android mobile appsProgramIn addition to understanding the
Get the phone screen size
Displaymetrics
Example
When developing mobile apps, in addition to the underlying understanding of the API, the most important thing is the concept of screen resolution. Because mobile phone manufacturers use different
Hello everyone, This section describes how Android gets the screen size of a mobile phone. This section mainly uses three objects.
Textview ,
Button , And
Displaymetrics , Where
Displaymetrics Is the Key class for getting the phone screen
In Android development, you often need to obtain the screen size of the mobile phone. The common method is to use the displaymetrics class to obtain the screen width and height of the mobile phone. The sample code is as follows:
Package whu. ISS. wuxianglong; import andro
problem of accuracy rate, hot zone and dead angle.
There is a qualitative change in the research of touch-screen mobile phone interaction and PC interaction. Input devices from the mouse keyboard into a finger, on the one hand, the operational accuracy of the challenge, in the intensive information processing, users often appear many misoperation; On the other hand, the finger operation of the special "De
Android discussion --- getting the phone screen size
SurfaceView simple example
Go to Android --- UI --- ZoomControls to zoom in and out images
For more information, here is a summary of the operations on the mobile phone screen in android:
1. Get the
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.