Create Alarm Uri - Android android.app

Android examples for android.app:AlarmManager

Description

Create Alarm Uri

Demo Code

import android.net.Uri;
import android.provider.Settings;
import java.lang.reflect.Field;

public class Main{

    static public Uri alarmIdToUri(long alarmId) {
        return Uri.parse("alarm_id:" + alarmId);
    }// w w w  .  j  a  v  a  2 s  .c  om

}

Related Tutorials