如何自定义Android的LockScreen? [英] How to customize Android's LockScreen?
问题描述
我知道已经有一些应用可以做到这一点,例如:
我想知道如何在我的应用程序中执行此操作吗?我可以使用什么类?或者我应该读什么文章?我不想更改Android的源代码。
我不知道当画面被绘制模式锁定时是否会有所不同。
请查看此 answer a>。你需要编写自己的主屏幕应用程序,将实现锁屏行为,你需要。有一些示例代码可用于在Android SDK中编写自己的主屏幕应用 。
I know that there is already some apps can do this, such as:
I want to know how to do this in my app? What classes I can use? Or what articles I should read? I don't want to change the Android's source code.
And I wonder if it will be different to deal with when the screen is locked by draw pattern?
Have a look at this answer. You need to write your own home screen app which will implement the lockscreen behaviour that you require. There is sample code for writing your own home screen app in the Android SDK.
这篇关于如何自定义Android的LockScreen?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!