import android.app.*; import android.content.*; static void androidCancelRepeatingAlarm(S alarmSnippetID) ctex { alarmSnippetID = str(parseSnippetID(alarmSnippetID)); Context context = androidContext(); AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); Class receiverClass = Class.forName("de.tinybrain.javax_allperms.AlarmManagerReceiver"); Intent intent = new Intent(context, receiverClass); intent.putExtra("snippetID", alarmSnippetID); PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, 0); am.cancel(pi); }