Customizing Android Lock Screen functionality?

2019-02-14 14:54发布

I will like to develop an App which modifies LockScreen of Android. I have read in some forums that it is not supported as yet in the SDK but there are some applications available that does exactly that.

One can surf Screen Suite Lock Screen

Can someone let me know is it actually possible to customize LockScreen and implement our own way of Lock Screen?

Regards

Sunil

1条回答
对你真心纯属浪费
2楼-- · 2019-02-14 15:15

It is possible to have views displayed above the lock screen and to make it dismiss the lock screen. It's a dirty solution, but the only one as long as there is no api to replace the lock screen.

Android activity over default lock screen

http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SHOW_WHEN_LOCKED

查看更多
登录 后发表回答