How to display a text in the lock screen?

3.8k views Asked by At

It seem that is now possible to write some text inside the lockscreen in the place where the alarm is usually written.

Please have a look red area in the below image.

enter image description here

1

There are 1 answers

3
George Valergas On

This is supported on android 4.2 and up. You need to implement it via an App Widget. You can checkout the documentation here: http://developer.android.com/guide/topics/appwidgets/index.html#lockscreen

Depending on your requirements, you could possibly use Notifications, which appear on the lockscreen. http://developer.android.com/guide/topics/ui/notifiers/notifications.html