Questions tagged [screen-resolution]

The number of distinct pixels in each dimension that the screen can display, usually quoted as width × height with the units in pixels.

It is usually quoted as width × height, with the units in pixels. The screen resolution signifies the number of dots (pixels) on the entire screen. For example, a 640-by-480 pixel screen is capable of displaying 640 distinct dots on each of 480 lines, or about 300,000 pixels. This translates into different dpi measurements depending on the size of the screen. For example, a 15-inch VGA monitor (640x480) displays about 50 dots per inch.

1404 questions
20
votes
1 answer

Google Play blocking out Samsung devices when their resolution is changed

Recently we've had issues where users can't download our app from the Google Play store due to the message "Your device isn't compatible with this version", even though the device is listed as compatible on the device manager of the app release and…
Jimmy
  • 229
  • 1
  • 4
20
votes
5 answers

Changing iPad/iPhone simulator resolution for Xcode 4.3.2

I am working on a Philips 19" and upgraded Xcode to version 4.3.2. On the new "Retina Display" on iPad 3 (oh, sorry, on The New iPad) my iPad simulator changes it's resolution and the simulator has vertical and horizontal scroll bars! How do I…
Aleksey Potapov
  • 3,683
  • 5
  • 42
  • 65
19
votes
2 answers

Can I detect the display size/resolution in Emacs?

I'd like to change the window/frame size of my XEmacs based on the current display resolution. This is useful when I run my laptop either by itself or attached to a docking station with an external monitor. In either situation, I'd like Emacs to…
David R Tribble
  • 11,918
  • 5
  • 42
  • 52
18
votes
2 answers

Objective C - how to get current screen resolution?

is there any way to get the users screen resolution with objective c? Thanks. Solution: int width = [[NSScreen mainScreen] frame].size.width; int height = [[NSScreen mainScreen] frame].size.height;
dan
  • 5,377
  • 13
  • 39
  • 44
18
votes
4 answers

what is the smallest screen resolution that I should care when building a website?

So what's the lowest screen resolution, especially width, that I should consider when building a website.
phoxd
  • 1,546
  • 3
  • 12
  • 26
17
votes
7 answers

Getting custom DPI percentage in Delphi

Trying to my Delphi 2010 application more user freindly in high DPI modes in Windows 7 I have been trying several methods to retrive PixelsPerInch and compare to 96. Alas, no matter what I tried I always get 96. My questions are: What is the best…
asafadd
  • 265
  • 1
  • 3
  • 15
17
votes
4 answers

preview stretches in camera2 apis

Following are the screenshots when using texture view in camera2 apis.In full screen the preview stretches,but it works when using lower resolution(second image). How to use this preview in full screen without stretching it.
17
votes
5 answers

Responsive design with media query : screen size?

I'm working on responsive designed web site using media queries. But i do not know how to take a good width set. As you can see on this table, there is a lot of different resolution even for a single type of device. And as resolution is coming…
16
votes
3 answers

Resize display resolution using python with cross platform support

Resize display resolution using a python function. It should be cross platform, ie support for windows, linux and mac (it is okay to have multiple cases depending on the operating system) I have code which I think works on linux (Ubuntu) I am…
sj7
  • 1,291
  • 1
  • 12
  • 26
15
votes
4 answers

How to find PPI programmatically with precision

I am trying to find out PPI(Pixels Per Inch) in iOS. I couldn't find any direct way to query this like we do for display size UIScreen.mainScreen().bounds There is a way to do it by multiplying scale with standard generic PPI for iPhone(163) or…
Durai Amuthan.H
  • 31,670
  • 10
  • 160
  • 241
15
votes
3 answers

GetSystemMetrics() returns wrong value for SM_CXSCREEN

I've run into an interesting problem. At least in Vista, getSystemMetrics(SM_CXSCREEN) returns an incorrect value when the desktop DPI settings aren't set at 100%. For example, I tried 150% in a 1366x768 screen and getSystemMetrics() returns 911…
ggambetta
  • 3,312
  • 6
  • 32
  • 42
15
votes
2 answers

Spoofing / faking screen-resolution?

While browsing the web, I need to fake my screen resolution to websites I'm viewing but keep my viewport the same (Chrome's or FF's emulating doesn't solve my problem). For instance, if I go to http://www.whatismyscreenresolution.com/ from a browser…
Poky
  • 151
  • 1
  • 1
  • 5
15
votes
4 answers

Specifying custom screen resolution in Selenium tests

As mentioned in the below blog, we can modify screen resolution during selenium test runs. http://blog.testingbot.com/2013/03/15/screen-resolution-option-now-available-for-all-selenium-tests Tried the below code(as mentioned in…
Srikanth Nakka
  • 758
  • 4
  • 16
  • 35
15
votes
5 answers

Change font size depending on resolution

I'm developing a Web page that uses different sizes for its different paragraphs, h... and so on. I'm using em sizes: font-size: 2em;, as an example. But when I change my screen resolution to a lower one, I want that size to a smaller one. For that…
Sonhja
  • 8,230
  • 20
  • 73
  • 131
14
votes
5 answers

How to support all the different resolutions of android products

All the different resolutions of the different Android products are driving me nuts. My first android app that I wrote was designed so it supported the three commonly used resolutions: 240x320 (LDPI), 320x480 (MDPI) and 480x800 (HDPI). The 480x854…
patrick
  • 1,282
  • 4
  • 21
  • 37
1 2
3
93 94