I'm using DevicePolicyManager to make an app that can lock devices and was wonde开发者_C百科ring if there was a way to show a custom message on the lock screen if I lock the device with DevicePolicyManager.
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.
精彩评论