2

I'm using DevicePolicyManager to make an app that can lock devices and was wondering if there was a way to show a custom message on the lock screen if I lock the device with DevicePolicyManager.

n8schloss
  • 2,645
  • 2
  • 18
  • 27

1 Answers1

7

There should be a way to show some kind of Activity above the Log-Screen (like the Winamp-App does it).

I found the FLAG_SHOW_WHEN_LOCKED-flag which seams to do just that.

Also, I found this recourse which illustrates how this works.

Lukas Knuth
  • 25,069
  • 15
  • 82
  • 110