1

Possible Duplicate:
How can I interact with the Lockscreen layout to display text into it, like this app:

I want to show some text to the Android lock screen same as like 'I Like It' android app has implemented. You can see the app on Google play from https://play.google.com/store/apps/details?id=com.ilikeit.main

Community
  • 1
  • 1
jitain sharma
  • 584
  • 5
  • 19

1 Answers1

2

Not documented, but this will work ;-)

String message = "This is a test";
Settings.System.putString(context.getContentResolver(),
            Settings.System.NEXT_ALARM_FORMATTED, message);
Waza_Be
  • 39,407
  • 49
  • 186
  • 260