Android :: Need Intent When Screen Locks Or Unlocks
May 26, 2010
I have a service which starts at boot up time, the service code needs the intent of following scenarios.
1) When the phone locks(after time out)
2)When the user unlocks the screen (by dragging the screen lock object)
There doesn't appear to be an API available where an application can be notified when the device is locked or unlocked. It is important the this application be notified of these events, since the service utilizes the proximity sensor which does not shutdown when the device goes into suspend. The app will need to unload the prox sensor manually to save battery when the device gets locked, and reload the prox after the device is unlocked again.
View 3 Replies
May 10, 2010
Is there an intent that is fired when a user unlocks their screen? I want my app to adjust the brightness when the screen turns on, but the problem im running into is that the screen on intent is fired on the lock screen and it does not adjust the display on that screen.
View 1 Replies
View Related
Nov 1, 2010
Every time i lock the screen the SIM locks as well, meaning I have to enter the SIM pin code every time I unlock the phone! Also no one can call me since the SIM is locked. Anyone else got this problem? This happened once in a while on 1.6 but since my update to 2.1 this morning it happens every time.
View 1 Replies
View Related
Mar 31, 2010
I was wondering if anyone understood how to make your application be displayed when you unlock the screen. I have an application where the user turns on a Bluetooth device, it connects to the phone, and the user should be presented with a UI. Having them hunt for the app or using the notification menu is not a workable option (too much work and not the obvious behavior).
The problem is that:
When the screen is unlocked:
- you can popup the activity from the background service when Bluetooth connects to a device
- User is happy because the UI is right there
When the screen is locked:
- The application gets started but is destroyed
- User unlocks the phone and nothing is there but the homescreen
One work around would be to disable the keyguard when the application gets woken up but the nuclear option is a pretty bad option. I know the standard Android assumption is that you shouldn't do this. In the normal case this behavior is fine, but in this case I explicitly did something I want the phone to respond without adding more work for the user to do. As per Google's guidelines if you don't like this behavior there can be an option for you to turn this off or you can not use the application.
A few more details, so after looking at this a bit more the problem isn't necessarily that you can't have an activity running when the screen is locked, unlock and expect it to be waiting. That does work if you do something like the following: lock your device run an app through Eclipse while the phone is locked/off unlock and it will be waiting for you.
But in the case the Activity is already running and I'm brining up a new window (which happens to be a transparent one, saying you're connected and asking what they want to do).
The problem is that it gets killed
CODE:..................
The setup here is as follows:
MyBackgroundService is a serivce that handles Bluetooth state (waits for connections, turns on Bluetooth if the user starts the app, etc.). It triggers a popup BackgroundPOPUP activity that runs a ViewFlipper.
MyBackgroundService starts BackgroundPOPUP through an intent.
BackgroundPOPUP is an activity with a Translucent theme (Theme.Translucent to be precise), it shows a ViewFlipper with some instructions and presents some options.
View 1 Replies
View Related
Sep 3, 2010
Was this option removed or am I doing something wrong? Now I have to slide the dumb thing off the screen to unlock...
View 17 Replies
View Related
Sep 18, 2010
I have the screen timeout set to 1 min which works fine until I use the phone. When using the phone the screen times out (and locks) in about 5 seconds. This is a real pain when using voicemail etc and you need to interact with the keypad.
View 2 Replies
View Related
Jun 23, 2010
1) After I make a call, the screen goes black in a matter of seconds. I'm typically using a headset when I notice this. To end the call (or enter numbers in a call menu) I need to press the sleep button to get the screen to light up again. This is a pain in the a$$.I have the screen timeout set for 2 mins.
2) About once or twice a day the home screen will lock where I can't press anything. I need to reboot to fix.
View 7 Replies
View Related
Jun 12, 2010
I like the pattern screen lock and see no need to have the sliding screen lock. Does anyone know how to get rid of the sliding lock?
View 10 Replies
View Related
Nov 21, 2010
I have the No lock app/widget on the phone but is there a different 1 that requires a code to be entered to lock/unlock the screen, so far no lock hasnt been unlocked(well to my knowledge) and called someone when in my pocket but it could happen in the future.
View 3 Replies
View Related
Sep 14, 2010
I ordered a combo kit from amazon, very cheap. I know some chargers lock up the screen, but this one had a review from someone with an Inc. saying it was fine. Anyway, wall charger locks screen, but shows it is charging, led lights up. Car charger works fine, no screen locking up.
So... am I doing any damage to my phone using wall one? Was thinking I would just use overnight when phone is off. Anyone else using one that locks phone?
I can always just toos wall one, and keep the car one, still great deal for the $4 is spent.
View 2 Replies
View Related
Nov 15, 2010
I recently was sent an OTA update and did it. Well , it wiped all my work Exchange settings out. I reconfigured and now I am forced to log in with a password AFTER I swipe the screen lock at the bottom.
This was occurring before the 2.2 update in Sept. and I used the No Lock App. Well now, the No Lock app doesn't even work. I work for a small company and they couldn't find the "Mobile" settings in Exchange that I have read about in other posts. Anyone know why this is happening and if there is a fix? I have other Android users at my office and they do not have to unlock with a password.
View 1 Replies
View Related
Apr 22, 2010
Anyone else have this issue? My Eris' lock screen...well, locks up. So meta, right?
It does this maybe once a day and the only way to unlock the lock screen is... you can't. I have to pull the battery out and put it back in, then wait the entire three minutes it takes to restart.
EDIT: Sometimes it doesn't lock, but I can't pull down the unlock all the way. It sits there near the bottom of the screen and I can kind of move it around, but I can't pull it all the way down.
This is unbearably frustrating because I use the cardio program to track all my fitness. If it locks up in the middle of a workout, I can't save or see my progress. Obviously, I can't make a guess as to the distance I've traveled because I'm training for a marathon and I need exact numbers.
This is not to mention god knows what kind of screw-ups might result from so many restarts and forced shut down by pulling out the battery.
View 12 Replies
View Related
Jul 30, 2010
Yesterday I was using my Moment, and had to reboot it... Data lock *cringe*. So it boots up, and I start using it, browsing the internet, and suddenly, without warning, while my finger is on the screen scrolling, the phone locks up the screen. It did it several times more while I was using Google maps, and while I was browsing my gallery.
View 2 Replies
View Related
Nov 3, 2010
So I have a rooted EVO that I listen to streaming music through the stock browser. If I leave the browser (home screen or another app) or I lock the screen, then the stream stops. As soon as I unlock the screen or switch back to the browser, it resumes immediately. Has anyone figured out how to circumvent this feature?
View 4 Replies
View Related
Jan 11, 2014
I just got my new T-Mobile galaxy s4 from insurance a few weeks ago (first one got stolen). I updated to 4.3 shortly after. Everything was good at first but lately I've been having major problems
◎Wifi keeps switching to 4g when phone locks
◎security notice keeps popping up every time the WiFi reconnects
Now before joining AC I tried the disable Knox method for the security notice because I thought that was making my WiFi buggy. It doesn't solve the problem
◎has incredibly slow lag on lock screen. When i say incredible i mean VERY slow.
◎the notifications bar looks solid when having lock screen lag
◎the WiFi won't automatically reconnect
◎the WiFi will turn off every few minutes without my knowledge and drains my data plan
View 1 Replies
View Related
Jun 20, 2010
Im always down for switching up my wallappers so post what you guys are usings.
This is my locksccreen its my girlfriend: (No leg humping please) =]
This is my Home Screen Wallpaper:
So show me whatchagot so i can up my wallpaper collection =]
I know i would get more responses in the theme section of the forum but id like to see what other Eris users have.. You guys are my favorite!
View 27 Replies
View Related
Jul 15, 2010
Every time the screen blanks after timeout it locks the phone - this is inconvenient because every time I pick the phone up to use I have to unlock it. is there any way to stop this - I would prefer it to never lock unless I use the power/lock button.
View 7 Replies
View Related
Oct 6, 2010
I just rooted my hero and am trying to run cyanogen, but it locks at the load screen, keeps displaying the logo over, and over, and over and.....well you get the idea. Tried 2 diff files, no joy.
View 2 Replies
View Related
May 19, 2010
Is it possible to set the screen to turn off, let's say, after 2 minutes, but have the phone only lock after, let's say, 10 minutes.
During the day I am in and out of my contacts constantly and I am unlocking my phone too much! I just want it to lock after a preset time, not every time the device is turned off.
View 5 Replies
View Related
Feb 12, 2012
i have the droid x2 and ive been trying to long hold the apps to move them around but a message appears at the top and says screen locked and will not let me move them, it also does the same thing when i long hold an empty space to try to bring a widget to the area, how do i fix this?
View 1 Replies
View Related
Oct 26, 2010
I bought a milestone 3 weeks ago, since i bought it, it has this squeak sound when the screen locks, every time the screen locks automatic or when i press the lock button above it creates a sound, but yesterday after i used task manager cleaner i kill all the running apps because its a bit laggy, then the squeak sound is gone? i dont know how to enable it.
View 1 Replies
View Related
Jul 18, 2012
I was playing around with my Nexus phone last week when I first got it. I was messing the screen sleep settings. I could have sworn there was option either associated with that or somewhere in the settings where it asked you how long it would take for the phone to lock the screen after it went to sleep.
OS = Jelly Bean
View 7 Replies
View Related
Oct 26, 2013
(Galaxy note 2, Sungsonic ROM)
When streaming from Grooveshark in a web-browser, the audio-streaming stops (after finishing current song) when the screen shuts/locks. I have tried several browsers with the same result.
Audio-streaming from audio-specific apps (i.e. TuneIn) works just fine.
Someone mentioned somewhere that it has to do with the browsers not being set to over-ride the screen-lock.
View 1 Replies
View Related
Jul 20, 2013
I recently ungraded my Samsung Galaxy GTi1900G with Cyanogenmod 10.1 ROM following the instructions exactly as mentioned in their site. Installation has smooth and absolutely no hiccups, phone is running smooth like butter.
Only annoying thing is sometime the screen is getting locked out all of a sudden during any activity like browsing, watching videos on youtube, etc.It keeps locking off immediately after I unlock the screen and this continues for 10 12 times at a stretch before I can finally unlock the screen. This incident is happening 2 - 3 times a day and is quite disturbing.
PFA the attached system log that I captured once during the issue, I was surfing youtube in FullScreen mod and during the capture the screen locked out twice. The screen locked out 6 time during this instance bu in log only last two have been captured.
View 1 Replies
View Related
Nov 21, 2010
I have a both onKeyDown and onMotionEvent overriden in my application. Both of these work, but the onKeyDown has strange behavior. I can always interact with the screen on the device, but after I have interacted with the screen, the buttons do not work. In order to make them work again, I have to push other buttons (ones that I don't use) in order for them to work again. And if I interact with the screen again, the buttons will not work again.
The application I am writing is a game, so the button calls are made to the surface and then passed to the thread running the game.
I am debugging on an HTC Aria, but the problem persists in my emulators as well.
The basic code I have is the same as is detailed here.
The code for the buttons are as follows:
CODE:.............................
View 1 Replies
View Related
Aug 22, 2010
Is there any way to make the "end" button on the Samsung Moment not lock the screen and instead end whatever process that is currently being run/used/viewed, and possible have an assignable soft-touch or side key to lock the phone, or even a menu option or application.
View 6 Replies
View Related
Apr 15, 2010
I have HTC Hero and I've found out that dragging down on the touch is not the only way to unlock the phone. If you press the menu button, it unlocks the phone, too. I don't know whether it's problem of the HTC device, Android or bad feature definition.
View 2 Replies
View Related
Sep 29, 2010
I have a variation of the LG Ally called the Shine Plus. The swipe gesture on the main screen which unlocks the phone is completely bypassed when you open the slide-out keyboard. No matter how it's locked, anyone can access the phone by sliding out the keyboard. Does anyone else have this problem, and is there a fix for it?
View 1 Replies
View Related
May 1, 2010
Hit the power button to wake up the phone then just hit menu to unlock it. Instead of unlocking it on screen. Bug or intended?
View 6 Replies
View Related
May 20, 2010
I read somewhere that there is a zip file you can put on your phone and it "unlocks" the live wallpapers as an option. It was somewhere on these forums be it moment, eris, or hero. I would assume if it was on another phones page the concept would be the same. Any info on this my fellow Hero comrades?
View 4 Replies
View Related