screen

Simple C# Screen sharing application

Hi guys, I am looking to create a very basic screen sharing application in C#. No remote control necessary. I just want a user to be able to broadcast their screen to a webserver. How should I implement this? (Any pointer in the right direction will be greatly appreciated). It does NOT need to be high FPS. Would be sufficient to even ...

Can I monitor the iPhone proximity sensor without turning off screen? Also, landscape.

I've got the proximity sensor working so that I can trigger events when in proximity, but I'm trying to use it as a sort of dead man switch. The problem is that whenever in proximity, the screen turns off, which drastically reduces the usability of the app :P Also, the proximity sensor doesn't seem to activate when in landscape mode (I c...

Android network problem under screen off

In my application, have 3 threads: 1. main 2. network send 3. network receive Because the application need keep-alive the session, so thread #2 need send a keep-alive packet to server when idle more than 1 minute. If the screen is on all are ok, but under screen off, thread #2 like blocking somewhere, and if I plug-in the USB cable for ...

activate program while screen is locked

I have an application that sends predetermined messages when you tap a configurable hotkey or when you press a usb enabled HID. How can make program work with a locked screen without entering the password and logging back in? Basically, I need the program to execute the message through pressing the hotkey or clicking the usb device whil...

View does not handle click events after changing screen orientation

Hi all, I have one weird issue. I have developed application (Android 1.5) which does not recreates itself on changing screen orientation (android:configChanges="orientation|keyboardHidden") and do nothing on configChange method (just to forbid recreating activity), but some of my special views lost possibility to handle onClick events, ...

Increase reliability of capistrano deploys

I've used capistrano for a long time, but always for sites that weren't critical. If something went wrong, a few minutes of downtime weren't a big problem. Now I'm working on a more critical service and need to cover my edge cases. One of which is if my local connection to a server becomes interrupted in the middle of a deployment. One...

Can't align fields horizontally on custom pop up screen in Blackberry

What I want to achieve is to have a custom popup screen with specified width and height. On that screen I add two buttons which stay in one row and align center horizontally. public class CustomPopupScreen extends PopupScreen { ButtonField minimizeBf; ButtonField cancelBf; HorizontalFieldManager hfm; public CustomPopupScreen() { s...

UIImagePickerController source (Camera) when dismissed inside a UITabBarController shows blank screen

Hi, I have the following hierarchy in my application: UINavigationController |__ UITabBarController |__ UINavigationController |__ ViewProfilePhotoController (*presentModalViewController:picker is done here) The problem I have is when I press cancel and dismiss my UIImagePickerController in the ...

Android - How to make UI look same across devices?

There is a variety of devices on the market, with different screen sizes, resolutions and pixel density. What are some layout preferences or tips/tricks that are generally used to make sure the app looks the same across devices? Thanks Chris ...

Android emulator - screenOrientation ignored

I have android:screenOrientation="portrait" set for my activity. Creating an AVD with resolution 800x480 and running my activity, the GLSurfaceView is created with dimensions 800x480 (ie. not rotated and width > height). I would expect it to be created with dimensions 480x800 and be rotated 90 degrees. Is this a bug in the emulator or ...

Android acess to native screen buffer from Java

Is it possible, from within my android java app, to capture an image of what is on the screen, even if it was written using native (ndk)? I do not wish to take screen shots of other apps, just my own. I can already capture and image of a canvas that I am aware of, but is there a view or canvas or something like it that always represents ...

Switch Off iPhone Screen

Hi there, I am looking for a way to turn off the iPhone screen without the iPhone going to sleep. I don't really mind if turning the screen off is against apple rules. Would setting window alpha to 0 do the trick? Is there maybe some sort of boolean value I can change? If anyone has an ideas they would be much appreciated. Many thanks...

Over coming screensize issues in asp.net

Hi, my development machine has a fairly large size screen (19inch). Some of my customers have smaller size screens (or they may chose to not maximize my webpage) so the controls on the page are all over the place and overlapping each other. Any idea how I can resolve this? ...

Problems understanding the life cycle when screen goes off and on

Hi, Information: My device is a Nexus One with 2.2 and I have tested two projects, one on 1.5 and one on 2.1. Problem: I have trouble to understand the life cycle of my application when the screen is turned off and on. Here is my output // activity starts 08-04 17:24:17.643: ERROR/PlayActivity(6215): onStart executes ... 08-04 17:24:...

Andriod Home Screen effect

I want to do something like andriod home screen effect. when i click the screen and move. the current view will move and next view also can show. Now the code only can show the current view. Thank you for your help The source as follow: public class test extends Activity implements OnTouchListener{ float downXValue; /** Called whe...

jquery screen size alter filename

Hi I'm struggling in getting the end bit of this jquery correct and I'm not sure if it'd work - want to add to a image filename if the screen is a certain size here's the code <script type="text/javascript"> $(document).ready(function() { if ((screen.width>=1024) && (screen.height>=768)) { var re = new RegExp("(.+)_hover\\.(gif|...

I want to the information about my screen (if it's locked or not), Android

Hi there, i'm making a program that disables your wifi when you lock your screen but i can't find an object the holds that kind of information (wether it's locked or not) ...

Getting screen size to restore after keyboard goes away on iphone

I am a very inexperienced "programmer," and I have been asked to write a web-based app that involves you writing in a text area and clicking some radio buttons/checkboxes. When you click on a text box, it zooms into it and displays the keyboard like it should, and you can write whatever you need to write in it, but the problem is this: ...

How do I listen for specific button presses, and home view user interactions?

My application listens for user input from the touchscreen and the buttons, but I would like to listen for interaction with specific items in the homescreen view. So, for example, I need to listen for the user to tap the menu button, and then to produce output. Is there a paramater I can pass through the onClick() class? Or do I need ...

How can I prevent the display on an iOS device from dimming and turning off?

Hello. I'm diving into iOS development and am building my own alarm clock app to become familiar with platform and SDK. I've noticed some alarm clock apps in the app store keep the screen from dimming and/or turning off when their app is running. How is this implemented? Thanks so much in advance for all your help! ...