resolution

Changing Resolution in OpenTK

I've been searching around for this, I've managed to find out out to change the size of our window, and how to change the resolution of the monitor. But I can't seem to find how to tell OpenGL where and how big my viewport is. Example: the game starts up in 400x300, and I expand the window to 800x600. I now have a 800x600 window, but o...

Initialize a UIView in high resolution for iPhone 4

Hi All, How can i init a uiview to be in high resolution (640x960) on iphone4? i tried to put a scaleFactor of 2.0 to the uiview but that did nothing also how can i test that the device the app is running on accept high resolution ie. it is an iphone 4 thanks in advance, Benoit ...

What's the deal with Android web browser resolution?

Here are two images of the same android phone, once in Portrait mode, once in Landscape mode. Shouldn't one resolution be the opposite of the other? I.e. if one is 800x1360, the other should be 1360x800? What's going on here? If I try the same thing on my ipod touch, it reports the same resolution regardless of orientation. Also, on ...

making android emulator work for 1600x1200

I've tried editing android's skin layout in the emulator to be 1600x1200 and the emulator fails to bring up a window. It works fine for smaller resolutions like 1024x480 and such but not big resolutions. Although even with 1024x480, part of the emulator window is inaccessible and not visible. My question is whether anyone has made this w...

What is the average resolution i.e pixel width for a standard web page?

Hi, I just finished constructing web pages and am trying to decide what the optimal lay out should look like. I am trying to decide between a fixed width for my main divs (about 1200 pixles or so) and a variable percentage width. I worry that the variable width will look awful under lower resolutions of under 1600 by 900. I am assuming ...

iPhone Image Resolution

I am creating an app that has images in a picker view, but I have noticed that these images appear pixelated. Currently, I have the resolution set at 72 pixels/inch. I have increased it to 300 pixels/inch, but have not noticed a change. Has anyone run into the issue? ...

How to change screen resolution in WPF?

Hi, how I can change screen resolution programmatically? And how to get a list of available resolutions for display? I tried to make how described in this article: http://www.c-sharpcorner.com/UploadFile/Joshy_geo/changescreenresolution10102006112110AM/changescreenresolution.aspx But Screen and Resolution classes do not exist in System...

HTML Image Tags

I was asked to resolve an issue with shtml file and the problem is like this: A person was asked to edit an shtml file to add a new radio button. She downloaded the file, added some content and uploaded it to the web server. To my utter shock, the img src="images/Front_Page_22.jpg is now pointing to file:///C|\path1\path2\images\Front_P...

How to get X & Y resolution in DPI for the android platform?

How do I obtain the X & Y resolution of a Bitmap in DPI on the android platform? I'm expecting some api like 'GetXResInDPI()' like below : double getXResolution(Bitmap bmp) { double lXRes = Bmp.GetXResInDPI(); return lXRes; } I'm unable to obtain any such method for the android platform in spite of scourging through the java do...

win32: detect if start menu is auto-hidden?

I want to position a window at the bottom of the screen. If the start menu is present, I want it to lie along the top of the start menu. If it is not (or it is auto-hidden), I still want it to be in the same position as it would be if the start menu was there, meaning there will be a gap of a few pixels. Currently I get the monitor work...

android screen resolutions and sizes

I am currently working on an android app that is causing me some trouble. My app is heavily dependent on images that are fitted correctly to the screen they are being displayed on. Unfortunately things like the FWVGA/WVGA resolution difference 854 vs 800 is causing me some real problems, and that's aside from the other sizes/densieites a...

How to zoom in and out to a bitmap without loosing resolution ?

I am trying to implement pinch zoom and it is working but when i zoom out and then zoom in again the resolution of the image(bitmap) decreases. I am aware that this is just normal behavior of my code and i want to know how to do this with right way . here is the relevant code : Matrix matrix = new Matrix() ; float scale = newDist / old...