Hi there, i'm an IT Student and the language i'm learning is C#, it's quite similar to Java so I gave Android programming a shot. But I have a question:
Is there and event that's fired when the screen is (un)locked?
And if possible, can someone show me a code snippet showing an action done when the screen is (un)locked?
...
Hi,
I'm interested in writing javascript that will programmatically perform a screen capture of what is viewed in the browser, and save the file to the hard disk. I'd like to be able to type in a list of keywords, and use a search engine's api to programmatically view the page, and take a screen capture.
My first question is, does this...
I use this on one of my screen:
protected void makeMenu(Menu menu, int instance){
if (UserData.sessionId != null){
menu.add(logOut);
menu.add(setting);
}
menu.add(exitApp);
}
The "log out" and "setting" menu only appear after the user logs in (hence, the session ID is not null).
How to make the "log out" and "setting" disappe...
I use the same .emacs across multiple machines, operating systems and platforms. I would like the default frame size of Emacs upon invocation to be relative to the available screen size (e.g. 96 lines work very well on a 1600x1200 desktop screen, but on an 1280x800 laptop I need to specify no more than 68 lines).
Is there an emacs-lisp ...
How can I have a portrait-oriented menu in my lanscape-oriented view in Android?Hi,
I'm building an application with some items that must be landscape-oriented. Everything else (menu, view for editing the item, list of item...) should change orientation according to the orientation of the device. To do that I set android:screenOrientati...
I need to create a software simulation demonstration by recording my PC screen, any recommended application based on your experience?
...
I have an activity, on which when I press the Keyguard lock button, the onDestroy() function is called. At then when I disable the keyguard lock, that activity is shown no more as I get a RuntimeException in Illegal View State. How can I prevent from onDestroy() to be called? Please help.
...
Hi guys,
I'm working on a project written in C# that records both the user's screen and webcam. I've currently used Windows Media Encoder for recording the screen but am still working on webcam capture.
I've been looking for information on webcam capture and WME, but it seems that it isn't usually used for such. I feel that it is bett...
ok. I know how to display the splash screen on iPhone. Seems quite simple enough (i.e. setting the Default.png and calling "sleep" command).
But, is the application actually doing anything during this time? My app needs to go and fetch some data from Web before showing the app's first screen, but when I do the splash screen, it doesn't ...
How does JavaScript object window.screen.width detect my ScreenResolution in Firefox under Ubuntu 10.4?
I mean what it accesses in OS to retrieve this data - OS variable or OS config files like a) .xprofile, b) kdm/gdm, c) xorg.conf. ?
...
How to write a home screen widget that should interact with an existing activity class without actually launching the activity? E.i. Is it possible to reuse logic in the activity class from the widget? Do you need to modify the activity in some way to communicate between the widget and the App?
...
ok i am having real troubles with screen orientation. My application has a countdown timer in it along with other variables.
And everytime the screen goes from landscape to portrait mode all my variables get reset to their default value, and the countdown timer gets canceld and reset !!!
Is the onCreate method called everytime the screen...
I had a great idea for a home screen launcher so is there any tutorials on how to create one?
...
Possible Duplicate:
How can I prevent users from taking screenshots of my application window?
So far I have be able to stop the Prt Sc key press and able to clear the clipboard so that my application cannot be screen grab.
However as a test I tried used Corel PaintShop pro and an option it has is to import screen capture whic...
Hi, Im trying to do a screen-flashing application, that flashes the screen according to the music(which will be frequencies, such as healing frequencies, etc...).
I already made the player and know how will I make the screen flash, but I need to make the screen flash super fast according to the music, for example if the music speeds up, ...
Hi there,
I don't think my future lies in Android development, as I am consistently failing at the simplest things...
I've got a button with the label "Game Slot 1". When the user clicks it, I succesfully take them through a couple of activities in which they create a new character. I save the game name in an SQLite database, and the...
Hello everyone,
I thank in advance all those who read this and who will try to help me.
So my problem is that I want to display an alert in the call screen when the user initiates a call.
Currently I have:
- A class MyAlert extends Activity to view and process the alert
- A class CallReceiver extends BroadCastReceiver to process the c...
How one can get the screen resolution where a swing jFrame app is running?
...
want a horizontal field manager to act as a button.. changing background image onfocus..
http://i52.tinypic.com/2cgzqe0.jpg
setbackground image for HorizontalFieldManager and it should change onfoucs(select) and it should act as a button to push some other screen...
under that HorizontalFieldManager i want to add an image and labels t...