Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid make app active over custom lockscreen (Go Locker, etc)
    primarykey
    data
    text
    <p>I have scoured the Internet for an answer, all with no luck. I have tried numerous suggestions on this site to make my app display and override the custom lockscreen. I can dislay my app over the stock lock screens with no problem. Again, the problem is with any custom lockscreen, Go Locker, Lock Screen 7, etc...</p> <p>Here is what I have tried w/ no luck.</p> <p><a href="https://stackoverflow.com/questions/3629179/android-activity-over-default-lock-screen">Android activity over default lock screen</a></p> <hr> <pre><code>requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); </code></pre> <hr> <pre><code>window.addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); window.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); </code></pre> <hr> <pre><code>window.addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON + WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED + WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON + WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); </code></pre> <hr> <pre><code>final Window win = getWindow(); win.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); win.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); </code></pre> <hr> <p>Like I said, I have pretty much tried everything w/ flags. I do not want to use the deprecated keyguard unlock methods. Somebody else has to have this same problem?!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload