Specs: 'QEMU Virtual CPU version 2.5+'x4 [email protected]
public void to_reminder(View view) { Intent intent = new Intent(this,Notification_morning.class); AlarmManager manager = (AlarmManager)getSystemService(Activity.ALARM_SERVICE); PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 0); Calendar cal = Calendar.getInstance(); cal.set(Calendar.HOUR_OF_DAY, timepicker.getCurrentHour()); cal.set(Calendar.MINUTE,timepicker.getCurrentMinute()); cal.set(Calendar.SECOND, 0); cal.set(Calendar.MILLISECOND, 0); manager.setRepeating(AlarmManager.RTC_WAKEUP,cal.getTimeInMillis(),24*60*60*1000,pendingIntent); }
# line column severity message