screen

.NET Equivalent of Snipping Tool

I'm looking for .NET code which performs the same as Snipping Tool - capturing a screen area. I believe it uses hooks. Would be interesting to know how does it highlight the selected fragment. Update: Found http://www.codeproject.com/KB/vb/Screen_Shot.aspx . Though people say it's missing some important files for proper compilation. ...

iPhone 4 incorrect screen size?

Could someone tell me why the following code would return Screen Size: 320.000000, 480.000000 on the iPhone 4? CGRect screenRect = [[UIScreen mainScreen] bounds]; NSLog(@"Screen Size: %f, %f", screenRect.size.width, screenRect.size.height); ...

How do I get Monitor resolution in Python?

What is the simplest way to get monitor resolution (Preferably in a tuple)? ...

Screen optimization in android

I want to do screen optimization. That means once I develop the UI in android it should fit exactly the same in all android enabled phones. So how do i do it? ...

Set background image according to screen resolution

I would like to be able to change my webpage background image according to the screen resolution the user uses so: if screen resolution is greater than or equal to 1200*600 then background = mybackground.jpg no-repeat or else. How can I do this? ...

Windows appearing off edge of screen (Delphi)

Windows in my application are popping up off the edge of the screen, and this of course is a problem because some of the windows are modal and can't be dismissed (you don't even know they are there). I'm using the TurboPower Orpheus component which remembers the location and size of each form, then restores it when the form is shown aga...

How can I detemine which screen holds the menubar?

In Cocoa, how can I determine which screen holds the menubar when the computer has multiple screens? Here's what I have so far: NSArray * screens = [NSScreen screens]; NSScreen * mainScreen = [screens objectAtIndex:0]; if ([screens count] > 1) { for (NSScreen * screen in screens) { if (/* screen == the screen that holds...

iPhone - Using Display Recorder with integrated camera?

Hi, I want to use the app Display Recorder by Ryan Petrich to demonstrate my app. My app is using the camera image picker. When Display Recorder is enabled / activated the image picker always returns the last image that was taken before Display Recorder was activated. So I'm guessing that the screen recording blocks the camera to set th...

javascript: lat/lon, lat1/lon1, bearing, distance to x,y screen coordinates?

Hi all, how to project a lat/lon hotspot onto an 360x180 degree panorama image? Using javascript? Real data: lat/lon in decimal degrees and altitude in meters: Camera coordinates: 49.994249, 8.66539, 2 Hotspot coordinates: 49.994163, 8.665388, 2 Distance camera to hotspot in meters: 9.55 Compass bearing camera to hotspot in degrees ...

Android - capture screen of phone as a movie

Hello, for the documentation of a project I would like to record the screen of my Nexus One as a movie or at least in form of a lot of images, which I can convert into a movie. Is that possible? Is there an app for it? For the moment I only know about this screen capture functions in the SDK's tool directory. ...

Launching Android Native Lock Screen

Hi, I'm looking for a way to launch the native android lock screen from my application. I've looked around and found code about KeyGuardLock and KeyGuardManager but I believe that only locks the keyboard from working. REF: http://smartandroidians.blogspot.com/2010/03/enabling-and-disabling-lock-screen-in.html ...

getting music player control in lock screen like Pandora app in iphone.

Hi. iphone Pandora app(in ios-4) supports controlling the audio from the lock screen like play,pause,next and prev. How to get the music player control action from the lock screen. can any one give me an idea about getting the actions of these control to native application from lock screen like pandora app. ...

Android Get Screen dimensions from Service

Hi Guys though i got the Screen Size by using the following from a activity, Display display = getWindowManager().getDefaultDisplay(); But the same thing is not working from a service (for obvious reasons, i know!) but i desperately need to get the display size from a service. Can some1 please explain me any other way for getting the ...

How can I make Ubuntu Firefox render webpages similar to Windows/Mac Firefox?

I just installed Ubuntu as my core operating system and am having a bit of a panic.. Are there any strategy for making the fonts/browser defaults for browsers (and the OS in general) render similarly to Windows Vista or Mac OSX? I'm afraid accurate web design work in this environment will be total guess work.. ...

how can i convert xml document/file to dom in python?

I need to do screen scraping and for that i need to convert xml to dom in python please can anybody tell that how can i do this.... ...

What is the iPhone screen resolution?

I know this has been asked but I'm still confounded. I'm trying to build a dead-simple page for the iPhone: logo at the top, phone number, address, and a BG that takes up the entire screen (no-repeat). When I ran a script that printed the screenwidth and screenheight I got: 320px * 480px. However, when I created a div of those exact d...

How to do something like Photoshop's screen Blending with glBlendFunc (OpenGL ES 1.x)?

I have a simple one channel (8bit) bitmap with luminance data only, and I want to blend it with the existing framebufer like Screen blending mode does it in Photoshop. So the source's white pixels (255) should result white, source's 50% gray pixels (128) should result the framebuffer pixel enlighted by 50%, and source's black pixels sho...

How to check if my activity is the current activity running in the screen.

I used Toast to make notification, but it seems it will appear even its activity is not in the current screen and some other activity has been started. I want to check this situation, when the activity is not the current one, I'd not send the Toast notification. But how to do ? ...

Change the screen when click on the button

Hi I am new to Blackberry..I am developing an application which contain the home screen having a button on it. When clicked on it, it is changing to new screen for that I used UiApplication.getUiApplication().pushScreen(new NewScreen()); in the fieldchangedListener method. In the newscreen I added a verticalFieldManager and add some i...

What language are the Redbox DVD Kiosks written in?

What is the language used for the UI at the Redbox DVD Kiosks? Thanks. ...