1

Is it possible to Display Information on the lock screen from an Android application. I came across a few Apps which allow you to display Email and Calendar information on the screen but could not find which API to use for achieving the same.

enter image description here

Harsha M V
  • 54,075
  • 125
  • 354
  • 529

3 Answers3

3

Android 4.2 supports app widgets on the lockscreen.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • am sorry but this is out of context. Have you worked on the new SupportMapFragment ? incase you have please need your assistance http://stackoverflow.com/questions/13764266/android-supportmapfragment-exception-error – Harsha M V Dec 09 '12 at 13:44
  • @HarshaMV: Android 4.0(?) added support for music players to have basic controls (play/pause/stop). Nothing before that, at least that was officially supported. – CommonsWare Dec 09 '12 at 14:28
  • thank you. i guess an alternative lockscreen is the only way to go :D – Harsha M V Dec 09 '12 at 14:41
2

according to the app you've mentioned (which has very poor description and quite low rating) , i suspect they disable the keyguard (the default lock screen) each time they get the event of power off (or on) .

maybe the activity that they are using has a transparent background and is above the normal lock screen .

there are many similar apps , such as "widget Locker" ,"magic Locker" and "quick Launch" , all do about the same thing to replace the keyguard . most of them also have the ability to replace the launcher (but will still show the launcher of the user, of course) , for smoother experience .

does the screenshot belong to the app you've mentioned , or to something you wish to achieve ?

android developer
  • 114,585
  • 152
  • 739
  • 1,270
1

You can learn how it can be done if you look at the sources of open source project contact owner that adds a message to the lock screen, too.

k3b
  • 14,517
  • 7
  • 53
  • 85