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,723
  • 2
  • 19
  • 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,449
  • 15
  • 83
  • 111