screen

Wakelock is not turning on the screen? Help?

Hey all, I have a signal that puts my app to sleep for a given number of minutes (using AlarmManager) and then wakes it back up. Everything is working except the screen doesn't ever come on. I'm using a wakelock like so from a BroadcastReceiver class: KeyguardManager key = (KeyguardManager) context.getSystemService(Context.KEYGU...

Android activity image background size.

Hello, I am a bit confused on creating an image which will be acting as a background for my activities. So, in short, my aim is that my application should be able to fit the different screen sizes. Therefore, what size in pixel should my three images be to be able to fill the screen of the device in ldpi, mdpi and hdpi? Thank you for a...

portrait view inside landscape activity

Hi Guys, I have a question, how to show a portrait view inside landscape activity (eg. camera activity) for example: i have a camera activity (which should always on landscape mode), but i want my button (which is overlay on top of camera screen) following handset orientation. so when i turn my handset as a landscape, then my button o...

iPad wall paper

Is it possible to write app wich will change wall paper on iPad And is it possible to insert certain texture for horizontal or vertical position? ...

Reading a file in Python while logging data in screen

Background To capture data from a logic controller, I'm using screen as a terminal emulator and connecting my MacBook via the KeySpan USA-19HS USB Serial Adapter. I've created the following bash script, so that I can type talk2controller <filename> where filename is the name of the data file. #!/bin/bash if [ -z "$1" ]; then echo P...

Android - QVGA screen hides some pixels

Hi all, I have a problem with missing pixels on QVGA screen on Android (all versions including 2.2). The original problem was with LinearLayout and margin="1px". It was OK on the normal screen but on QVGA there was sometimes no space between GUI controls, like if margin="0px" and not 1px. So I tried to make the example simple (to be sur...

screen color filtering

Hi everybody! I want to create a filter over a specific area of the screen to perform filtering opertions. Examples what a filtering opertion might be:     - inverting (e.g. change black pixel to white pixels, red to cyan)     - masking pixels (e.g. mask = ff0000; input c79001 -> c70000)     - operations like photoshop's layer effects ...

How can I capture screen with sound in iphone, then convert to video and email?

Similar to "Talking Tom Cat" app. How can I possibly achieve this? Are there any API out there I can use? Sorry for this noob question..... >_< ...

Touch Screen System: Can we run our normal dot net application on touch screen computer system without any change

Hi, I have an application that is build in dot net 3.5. Basically it's a web application (asp.net and flash). Is this application need any modification while opening on Touch Screen Computer System. I mean to say who will manage interaction with an application. Is application required any change or system will manage it self. Thanks in ...

Touch Screen Simulator: Are there any windows simulator to test application in touch screen environment.

Hi, I want to test my application in touch screen environment. My application is a web site build in asp.net(.net framework 3.5) and flash. I want to test my application with the simulator with Windows XP/Vista/7. Please let me know is there any simulator released by Microsoft or any third party where I can test my application. Thanks...

Hide mouse cursor on whole screen in Java

How can I hide the mouse cursor on whole screen in Java? I used the transparent gif techinique, but it only works on the JFrame area. I need it to work outside the JFrame bounds. ...

C# Identfiy screens number?

How to have a function in C# to run the window identification, which will show the numbers 1, 2, ... on the screen same way as we do it by right click on the screen (properties) then we go to Screen Resolution and show the numbers by clicking on Identify. Can we do that in C#? ...

android full screen textview

I am trying to create an app that has a simple textview displaying a count down. All the menus and such will be hidden under a long press or with the menu button. I'm trying to find away to make the text in that text view automatically scale and take up the whole screen something like android:textSize="100%" Despite lots of search I ca...

[Android] How my app can unlock screen programatically ?

My application is launched on car docking event, i want to wake up phone (done by system) and unlock screen when i plug my device. Is it posssible ? ...

Quickly getting the color of some pixels on the screen in Python on Windows 7

I need to get the color of some pixels on the screen or from the active window, and I need to do so quickly. I've tried using win32gui and ctypes/windll, but they're much too slow. Each of these programs gets the color of 100 pixels: import win32gui import time time.clock() for y in range(0, 100, 10): for x in range(0, 100, 10): ...

Is it possible to scrape content and generate an rss feed from a membership site?

Is it Possible to scrape content from a membership site so that i can create an Rss feed for import into my inbox? You see, I'm a member of several sites that provide casting calls for the performing arts industry (some paid, some free), but most of them don't provide Rss feeds of the newest casting call updates with means that I have t...

How can I take a picture from screen?

I want to write a program that shows one PC's screen to the others... something like presentation systems. how can i take a picture from current screen? ...

Android ExpandableListView does not work (Black/Empty Screen)

Hi @ll, i try to build a ExpandableListView with a own ExpandableListAdapter but the ExpandableListView is not visible in my activity :-( Below you find my Source-Code. Thanks for your help :-) Greetings, Kangee Here the Code from the activity: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceS...

How to return back to app after clicking on anchor that has target="_webapp"?

I link an external site through target"_webapp" hence it will open in the same window in my full screen mode. However, i want the user to have an option of going back to my app. How do i do that? ...

Shortcut on the home screen to an action in my app

In my app I have a ListView when user click on an item some action is performed. Now I want to make a context menu for list item with possibility to add this action to home screen as a shortcut. Could somebody offer me some link or a hint how to do this? ...