开发者

Is there a way for me to show a customized message on the lock screen?

开发者 https://www.devze.com 2023-03-24 14:32 出处:网络
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 DevicePolicyM

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消