Android : How To Detect Phone Unlock Event / Not Screen On?
Aug 10, 2010
Is there a way to detect when a user unlocks the phone? I know about ACTION_SCREEN_ON and ACTION_SCREEN_OFF, but these seem to be fired when the screen switches on/off on pressing the power button, but not actually when the phone gets unlocked on pressing the Menu button...
View 2 Replies
Feb 15, 2010
Is there a way, some API one can call to detect if the user has set a screen unlock pattern or not?
View 2 Replies
View Related
Jul 3, 2010
I want to be able to detect the phone lock event. When my app is running, if I press the red button (call end button/power button), the phone gets locked and the screen goes blank. I want to be able to detect this event, is it possible?
View 1 Replies
View Related
Jan 26, 2010
I am developing an application which requires cancellation survey when user tries to deactivate application service. Cancellation survey i am using the third party survey software http://wufoo.com/gallery/templates/surveys/cancellation-survey/. I am able to render the survey (third party html) web view in my activity.When ever the user presses submit button on WebView, activity need to store the status of survey(like user successfully submitted or not). Is there any way to detect the event from web view?
View 3 Replies
View Related
May 20, 2009
I want to do something when the soft keyboard hide. Is there any function to detect that event?
View 3 Replies
View Related
Sep 3, 2010
I want to get information of how to detect device support multi touch without OnTouchListener triggers event.
View 4 Replies
View Related
Aug 27, 2010
I had it before on my evo but I forgot it for my new one?
View 1 Replies
View Related
Nov 28, 2009
If I let my phone sleep long enough to go into a "deep sleep" it is very slow after I unlock it. For example, my phone has been in my pocket for a half of an hour and then I get a new text message. I turn on the screen, and slide to unlock, but I can't pull down the notification bar for about 10 seconds or so, I have to wait for the analog clock to set the right time (which it lags through) and then it's fine after that. I don't have this problem if I lock it then unlock it right away.
View 4 Replies
View Related
May 9, 2010
If you are on 1 of your 7 home screens other than the middle (main?) one, and you press power, then press it once again and proceed to unlock the phone, does Android still have up the last home screen you were on or does it automatically return to the middle one?
View 2 Replies
View Related
Nov 11, 2009
I can't get my Droid to respond to unlock.
I've tried turning off and taking the battery out. But still remains unresponsive to touch.
View 3 Replies
View Related
Oct 27, 2010
Does anyone know, how I can remove the sweep glass screen unlock on the Samsung Galaxy S.
View 3 Replies
View Related
Nov 18, 2010
It seems like almost every time that I unlock my phone, one of the icons on the home screen is selected (long press, like I was intending to move it or trash it). Using Launcher Pro, if that might be causing it. I don't think it was doing this before the last Sprint update, but don't know if that's the cause either.
View 2 Replies
View Related
May 6, 2010
I was wondering, is there a way to have the screen come on and/or have the phone unlock when you get a text message or email notification?
View 1 Replies
View Related
Aug 2, 2010
I am looking for a way in which I can detect any tap on the screen (not just in my app), I don't mind not having the information of what the tap was (control/letter), just the fact that a tap was made will suffice for me for now. Is there any possible way to achieve this?
View 4 Replies
View Related
Apr 4, 2010
As mentioned in a previous question, I am having difficulty intercepting all android.intent.action.SCREEN_ON events without a long-lived service (discouraged). I may be able to work around the need if I can simply work out when the screen is on at any given time, in the service.
View 3 Replies
View Related
Mar 29, 2010
How can I detect the screen is on or off?
View 3 Replies
View Related
Jul 31, 2010
I am trying to detect Screen backlight On / Off.
I've found android.intent.action.SCREEN_OFF related its event.
But I don't know how to use this.
Can you suggest me about how to detect screen backlight on / off ?
I missing some example or sample code.
View 2 Replies
View Related
Apr 18, 2010
I recently bought a HTC Desire which I've become exceedingly fond of.I've read (and been told by a colleague who owns a HTC Legend) that wifi should automatically turn off while the screen is off to conserve battery. I have the impression that I should be able to see the wifi icon turn on as I turn on the screen and unlock the phone. However, I haven't noticed that happening: The icon seems to just be on always.I have then tried observing my router's DHCP table when the the screen is off, but I haven't observed the entry for my phone disappearing (and I don't really know how much time has to pass before the table not showing my phone.Are there any settings that can cause this behaviour? What about programs? I current use smart monitor to log data usage as well as locale (using a SSID plugin and not the locale "location" condition). The only services I can see apart from those I think are OS services, are the ones for locale, smart monitor lite and the SSID plugin.
View 5 Replies
View Related
Sep 28, 2010
I'm writing a customized view similar to Grid which will be used to hold a large amount of images. I'm using ImageButton to display the images, and I only want to load images onto the buttons once they are on the screen (and just display a static background image when they are not). The reason for it is that I'm fetching images from some back-end service and I only want to fetch them when the buttons are on the screen.To do that, I'd like to know if the widget is on the screen. Is it possible to detect if a widget like button is on/off screen? If not, any suggestions on how to achieve what I'm trying to do?
View 1 Replies
View Related
Mar 19, 2009
How do I get the current screen resolution (width and height)?
View 10 Replies
View Related
Jan 3, 2010
I have a motion listener to detect finger down, finger drag, and finger up. I start my action at finger down and finish my action at finger up. When the action is finished, I store it in a stack for allowing undo. My problem is that if I don't get a finger up event, I can't finish my action to add it to the stack for undo.
How can I detect that the user's finger has left the screen?
I tried using the emulator to see if getEdgeFlags() ever returned anything useful, and the result was always 0.
Basically, if a finger leaves the screen, then nothing is touching the screen anymore and I would like to detect that as a finger up event. How can I do this?
View 3 Replies
View Related
Jul 27, 2010
I've got an onTouchEvent boolean on a Surfaceview, I've got openGL objects drawn on the view and I'm wondering is there anyway to detect where on the screen the onTouch happened? e.g (x,y) co-ordinates.
View 1 Replies
View Related
Nov 27, 2009
Is there any way where I can detect that the screen is about to turn off, so I can do some work *before* it happens?I need this to work around bug 3755: OpenGL apps sometimes crash when the screen gets turned off because they don't get surfaceDestroyed /surfaceCreated() events. Simply put, I need to shut down OpenGL before the phone has a chance to detach the GPU. The only events I seems to be getting when the screen turns off are onPause() and onWindowFocusChanged both of which turn up *after* the GPU detaches, by which time it's too late.
View 7 Replies
View Related
Jan 14, 2010
I've checked the WallpaperService.Engine class and don't see anything.What's the best practice for detecting home screen sliding?
View 3 Replies
View Related
Aug 26, 2010
I have an application that has many screens. Is it possible to detect if the screen NOT belonging to the application (not defined in my android manifest) comes into visibility?
View 1 Replies
View Related
May 9, 2010
I'm currently implementing a live wallpaper. This is also visible, when the device is locked. Now I want to show different content, when it is locked but can't find a way to detect this. PowerManager can only change the settings and the wallpaperEngine only gives me a general onVisibiltyChanged() method, which triggers every time you return to the home screen.Dos anybody know a way to detect if the device is locked?
View 2 Replies
View Related
Aug 20, 2009
Is there any way for a backfround task to programmatically detect or recognize by learned id which application or screen (different package) is showing?
View 5 Replies
View Related
Jun 3, 2009
I need to set different content view after rotating device screen. Is there any method to detect the direction of current screen is vertical or horizontal?
View 6 Replies
View Related
Oct 20, 2010
In Javascript/jQuery, how can I detect if the client device has a mouse?
I've got a site that slides up a little info panel when the user hovers their mouse over an item. I'm using jQuery.hoverIntent to detect the hover, but this obviously doesn't work on touchscreen devices like iPhone/iPad/Android. So on those devices I'd like to revert to tap to show the info panel.
View 4 Replies
View Related
Nov 24, 2010
I'd like to hook to an event that fires when android's on screen keyboard appears. For example when user taps EditText to bring up the keyboard. Anyone know which event (or listener) to use?
View 2 Replies
View Related