android - get time of the next alarm

前端 未结 3 1830
野性不改
野性不改 2020-12-28 20:46

Is there a way in Android to get the upcoming alarm time?

Thanks

Clarification: I am talking about the native android Alarm Clock appliction

3条回答
  •  臣服心动
    2020-12-28 20:46

    String nextAlarm = Settings.System.getString(getContentResolver(),
        Settings.System.NEXT_ALARM_FORMATTED);
    

提交回复
热议问题