1. Download our Official Android App: Forums for Android!

Tasker and lock screen

Discussion in 'Android Apps & Games' started by bobdrad, Aug 18, 2010.

  1. bobdrad

    bobdrad Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    26
    Joined:
    Aug 18, 2010

    Aug 18, 2010
    26
    0
    15
    Has anyone tried to detect hardware events (e.g. camera button press) in Tasker while the lock pattern screen is active? The lock screen seems to prevent events from reaching Tasker.

    One of the things that has always bothered me about Android is that "Silent Mode" doesn't affect Alarm or Media volume. I don't want any alarms going off in a movie or church setting. I was hoping I could use Tasker to detect the Camera Button press while the lock screen was on to turn Silent Mode on and also remember the volume setting before forcing those additional volumes to 0. Then pressing it again could restore volume settings. I'm able to create the Task and it's working but I can't tie it to the hardware button while the lock screen is active.

    Anybody?
     

    Advertisement

  2. UncleMike

    UncleMike Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    2,323
    Joined:
    Nov 15, 2009

    Nov 15, 2009
    2,323
    484
    163
    Central NJ
    None of the hardware buttons will respond with keyguard on. I did a quick test with the Orientation context, but that doesn't seem to have any effect when the device is asleep either.

    I think the best solution is to visit the Tasker discussions at Google Groups and as the developer to make the %SILENT variable dynamic, which would allow you to setup a profile that would be triggered by the status of silent mode.
     

Share This Page

Loading...