Customizing Android Lock Screen functionality?

早过忘川 提交于 2019-11-30 17:50:26

问题


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:


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



来源:https://stackoverflow.com/questions/2948617/customizing-android-lock-screen-functionality

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!