lexicon2008 / android-smspopup

Automatically exported from code.google.com/p/android-smspopup
0 stars 0 forks source link

Pop-up disappearing from lock screen #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Pop-up shows on lock screen during initial notification
2. After the screen goes off, and is turned back on it is gone
3. Unlocking the phone reveals the pop-up again (so it never really closes)

What is the expected output? What do you see instead?
If I turn the screen back on, I want to see the pop-up still. If my LED is 
blinking I'd like to able to see the text message without unlocking the 
screen.

What version of the product are you using? On what operating system?
SMSPopup v1.0.8 on a Nexus One running Android 2.1

Please provide any additional information below.

Original issue reported on code.google.com by zonk7a...@gmail.com on 10 Apr 2010 at 1:59

GoogleCodeExporter commented 9 years ago
Any news on this issue?  I get exactly the same behaviour with 1.0.9 on Froyo.  
This seems a pretty important feature to have -- is it technically impossible 
to do this?

Original comment by owenjm on 14 Dec 2010 at 6:44

GoogleCodeExporter commented 9 years ago
Yes this is the expected behavior:
 -message comes in, sms popup will explicitly UNLOCK the screen and show the popup
 -after screen times out, sms popopup will re-lock the screen (for security reasons you wouldn't just want the screen lock completely disabled)
 -turning screen back on will require regular unlock to unlock screen again and show popup

Original comment by adam.eve...@gmail.com on 14 Dec 2010 at 2:47

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for the quick reply!  I'm new to Android, and am just realising that 
every other SMS popup app has exactly the same behaviour as your app.  However, 
I was more looking to reproduce the functionality present on iPhones and what I 
even had on my old symbian phone with a program called iSMS -- a SMS popup that 
displays permanently over the lockscreen and which is present until the popup 
is dismissed.  The problem with the behaviour of SMS popup is that if the 
initial alert is missed, the user can't discover anything about the SMS 
received until they unlock the phone ... which is exactly the type of thing 
that I thought SMS popup was designed to prevent!

So what I'm wondering is whether it's possible to enable a setting that places 
the popup over the lockscreen, rather than the current process of unlocking the 
screen, placing the popup, and then relocking the screen?  Having a quick look 
at Android's programming reference, I notice it's possible to set 
FLAG_SHOW_WHEN_LOCKED on windows ... although its behaviour in Froyo seems a 
little controversial!

No worries if it can't be done ... just thought I'd ask :)

Cheers,
Owen

Original comment by owenjm on 14 Dec 2010 at 10:02