Display Custom Information on Lock Screen In Android [duplicate]

无人久伴 提交于 2019-12-18 13:25:06

问题


I want to custom LockScreen.

The default Lock screen is like this.

I want to modify this portion of the Lock Screen & Let all other things remain the same. When user locks his phone, it should display custom information on that red box.

So far i have seen one app that does something similar to this things : WidgetLocker

StackOverflow Search so far :

Is there a way to override the lock pattern screen? which says not possible.

Android Lock Screen Widget (Kevin TeslaCoil's Answer) This really tells something

Personalized lock screen for Android Dont understand what the source says.

How can i achieve that ?

Appreciate your help..


回答1:


From what I gather, you have to write your lockscreen, then disable the default one. You can listen for screen on and off events then disable the home button by basically making your custom locksceen a launcher.

This has been asked before here: Developing a custom lock screen

And here: Android Lockscreen API?



来源:https://stackoverflow.com/questions/7200976/display-custom-information-on-lock-screen-in-android

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