dip
New Member
Posts: 23
|
Post by dip on Jan 18, 2013 11:42:28 GMT -5
The GMMP lockscreen is not shown when I press HOME on my Galaxy S3. In this case directly the Android homescreen is shown.
When I press the power button the GMMP lockscreen is correctly shown and only afterwards the Android lockscreen.
Thanks Dieter
|
|
|
Post by GoneMAD on Jan 18, 2013 12:46:27 GMT -5
On my s3 if the screen is turned on with either the home button or power button, the lockscreen still shows.
If the lockscreen is already showing with the screen on and home is pressed... then yes it will go away.. but that is the purpose of the home button in that case
|
|
dip
New Member
Posts: 23
|
Post by dip on Jan 18, 2013 13:33:24 GMT -5
I mean of course that the screen is switched off and then turn on with the HOME Button. In this case only the Android lockscreen is shown on my S3. Weird that it works for you. Pressing the Power Button to turn the screen on shows correctly the gmmp lockscreen. How are your lockscreen settings in gmmp?
|
|
|
Post by GoneMAD on Jan 18, 2013 13:55:39 GMT -5
It might be something specific to samsung/touchwiz as I am running cyanogenmod 10
Im not sure its possible to override home button's behavior. Have you tried any other player with a similar lockscreen? If so does the same thing happen to them?
|
|
dip
New Member
Posts: 23
|
Post by dip on Jan 18, 2013 18:26:53 GMT -5
It could really be touchwiz specific. I tried Winamp Pro and Poweramp who have their own lockscreens. In both the lockscreen works when turning the screen on with the power button or with the home button. However, the lockscreens show up differently when using the power button or the home button.
In Poweramp, when using the power button, the application lockscreen is directly shown and stays. In contrast, when pressing home, first the Poweramp lockscreen shows up for a split second, then the Android lockscreen jumps in and after 1 or 2 seconds the Poweramp locksreen shows up again.
In contrast, in Winamp the application lockscreen seems always a little be delayed which means that for both buttons first the Android lockscreen is shown but after one second the Winamp lockscreen jumps in.
I have the impression that, when pressing home, the Android lockscreen jumps over an application lockscreen which shows up too early. When I use GMMP and wake the screen up with the home button for a split second the GMMP lockscreen is shown but then it is immediately covered by the Android lockscreen. This is similar as with Poweramp but Poweramp seems as a workaround bring up its lockscreen a second time after a short delay. Maybe this is also possible in GMMP?
|
|
|
Post by GoneMAD on Jan 19, 2013 1:31:18 GMT -5
okay thought so.. i think the GMMP lockscreen gets "launched' when the screen goes off.. it sounds like poweramp does it when the screen goes off AND on.... so when hitting home.. lockscreen hides.. screen comes on.. then it comes back because its set to show on screen on
its something i could try
|
|
|
Post by hyphenistic on Mar 12, 2013 10:47:06 GMT -5
I get the same behavior with my Galaxy Note 2. Power button will bring up the GMMP lockscreen but pressing Home will bring up the Android lockscreen instead. I too think this is a TouchWiz issue. Sure wish there was a way around it without switching ROMs.
|
|
|
Post by GoneMAD on Mar 12, 2013 13:23:07 GMT -5
Doesnt touchwiz use the home button to bring up s-voice or something like that? I wonder if disabling that would change anything
|
|
|
Post by hyphenistic on Mar 12, 2013 13:42:33 GMT -5
It can but I already have that disabled.
|
|
|
Post by GoneMAD on Mar 12, 2013 14:03:52 GMT -5
do any of the other players that have a custom lockscreen (aka not the ICS music controls) have the issue as well? Everything i've found online says you cannot ignore the home key
|
|
|
Post by hyphenistic on Mar 12, 2013 14:13:21 GMT -5
I think I've experienced the same thing with any other programs promoting a lock screen on my Note 2. I didn't have this issue on my Droid X2 but the Home key worked differently there. On the X2 I did not have a lock screen enabled. Pressing the Power or Home buttons would wake the screen and that's it. On my Note 2 if I don't have the lock screen enabled then pressing Home will wake the screen and go to my home screen which I don't like. When I have my phone mounted on the dash the Home button is the easy one to get to so I can't just try to use the power button. I've gotten used to just the swipe to unlock screen but having access to the current track with an easy one-button push would be nice.
I also have Tasker and have messed around with disabling the keyguard depending on what app is running. It wasn't always reliable though. Sometimes the keyguard would end up permanently off. But with Tasker I could fire up your lock screen activity when the screen wake up if GMPP is running. Would be even nicer if it would only trigger while GMPP is playing. Would there be a way to do that?
|
|
|
Post by GoneMAD on Mar 12, 2013 15:44:10 GMT -5
GMMP has tasker integration and will publish its playstate to a tasker variable. You have to turn it on in the settings.. i think its under general
-Added Tasker integration. Populates the following variables: %MTRACK %MARTIST %MALBUM %MTRACKNO
%MPLAYSTATE will equal either "PLAYING" "PAUSED" or "STOPPED"
|
|
|
Post by hyphenistic on Mar 12, 2013 15:47:54 GMT -5
I do have that turned on but did not noticed the PLAYSTATE variable. That will work great. I'll let you know if I can make it work that way.
|
|
|
Post by hyphenistic on Mar 12, 2013 16:18:02 GMT -5
Which activity should I sent an intent for? I tried gonemad.gmmp.activities.LockscreenActivity but that's not doing anything.
|
|
|
Post by GoneMAD on Mar 12, 2013 16:28:20 GMT -5
try gonemad.gmmp.activities.MainActivity, just getting the app back in focus might work
i dont believe the lockscreenactivity is launchable from outside of gmmp.
Another thing to try would be to broadcast android.intent.action.SCREEN_ON. If i remember correctly the lockscreen is set to show on that intent and SCREEN_OFF
|
|