Hi I'm creating a app to display the count of alarm that comes from services and i've to update that when my screen is lock.
but i am getting a out put but it is not updating can any one help me
this is a code i used for display the text in lock screen
String message ="New alarm :"+ alarmnew.size()+"\n old alarm :"+alarmold.size();
Settings.System.putString(this.getContentResolver(),
Settings.System.NEXT_ALARM_FORMATTED, message);