screen-resolution

Changing Screen Resolution

I have a C# WPF application, I want it, when launched, to change the screen resolution if it is not what it should work on, like the games. I know how to retrieve the screen resolution, but I don`t know how to set it to what I want. NOTE: I`m not working with ASP or WEB, just a desktop APP ...

Visual Basic and Resolution/Zoom?

Is it possible to change the resolution of the form without changing the resolution of the computer? And if not, then I suppose I'll ask, how would I be able to zoom/blow up the form to make it bigger? Thank you. ...

IPhone 4 images Local vs Server?

So I have been doing some research on how to handle the different resolutions of iPhone screens. In the documention, found here: https://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/SupportingResolutionIndependence/SupportingResolutionIndependence.html#//apple_ref/doc/uid/TP40007072-CH10 Th...

How to select font size and stil being future compatible depending on screen density/size/size of images in Android.

I create a game board with squares. The size of each square (both height and width) is phone_pixel_width/number_of_squares to maximize the size of each square on the game screen depending on resolution (oh and I do not support mdpi devices, thus it does not get to small). Now my problem is that I also write text in these squares. If I u...

How are websites automatically zoomed out when browsed by mobile phones?

In my case I made the div width 500px, but it automatically zoomed out when browsed in a mobilephone How's the magic done exactly,is it device specific? ...

What is the ipads resolution minus the address bar in the browser!?

What is the browser resolution? I have been searching for a while on google and somehow I can't find it! ...

Handling different screen resolutions for background images in Android?

My Android app (a text-based games) uses background images a lot in order to provide a better visual ambience. For example, if the action in the game takes you into a tavern, then you get a background image of a tavern in the game. This is a vast improvement, graphically, over the boring black background that you would otherwise get. It...

Target only high-resolution (pixels) devices on Android Market

I want to publish an application that specifically runs only on 800x480 or higher screens. I don't want users with 480x320, 320x240 etc devices to get it from Android Market. How do I configure it? Market Filters seems to have the answer but I still don't get it. ...

Windows Phone 7 target display resolution - recommendations?

The official WP7 emulator uses 800x480 resolution. The only info I can find on planned WP7 phones (eg Samsung Cetus i917) share the same resolution. While I realise the appeal of writing resolution-independant programs, I'd really rather focus on pushing a known set of hardware to the max than sacrificing features and efficiency for one-...

Get available X11 video modes without extensions

I've been searching around and can't find a solution for this. The official NVIDIA Tegra 2 Linux SDK (L4T) doesn't include both XRandR or the VideoMode X11 extension for querying available video modes. My next thought was to parse the log file for video modes. Of course most of the time it's at /var/log/Xorg.0.log but I'd rather not al...

How to calculate screen resolution change

I have an application that is on a mobile device. I am moving resolutions of my app from 240W x 320L to 640W X 480L. I have a bunch of columns that have their width in pixels (say 55 for example). I need to convert this to the new resolution. "Easy", I thought 640/240 = 2 2/3. So I just take 55 * 2.6666667 and that is my new width. ...

For the same screen resolution and DPI settings, Can the pixels for a IDE control change between two OSes?

Assume a GUI application is opened on three machines running Windows XP, Windows Vista and Windows7. In all the three machines, the screen resolution and the DPI settings are set to be the same value. Will there be a difference in the way the application is displayed on the screen in terms of number of pixels used and their position on t...

How to get the screen resolution of android devices in c#

I'm creating a optimized web page for mobile devices with C#. Is there a way to offer a page for larger screens and one for smaller screens on android devices? With Apple i can differentiate between iPad and iPhone, but how can I do this with the galaxy tab or a regular android phone? I don't want to use any javascript in this case. ...

Delveloping for Android high res screens, but supporting low res screens.

I've been developing Android games for the lower res screens (320x480) and then letting Android handle the density adjustments so the games work on high res screens. It allows me to keep the size of my APK files small and I don't have to create multiple versions of every image in my games. It actually works fine, the games still look n...

How do I convert Twips to Pixels in .NET?

I'm working on a migration project in which a database actually stores display sizes in twips. Since I can't use twips in .NET, I was wondering if .NET has a conversion method usable at runtime? Near as I can tell no one has asked this question yet. I've already figured it out, so I figured I'd post in case someone else had a better so...