Alarms in my application fire off 8 hours after the time I set in Calendar.HOUR_OF_DAY. My time zone is UTC +8. Could you please help me to make the alarms fire off exactly as the time I select using a TimePicker, and also to make it flexible for other time zones. Thank you
Ev_calendar.set(Calendar.HOUR_OF_DAY,xxx3);
Ev_calendar.set(Calendar.MINUTE, xxx4);
Ev_calendar.set(Calendar.SECOND, 0);
long Evening_TimeInMillis=Ev_calendar.getTimeInMillis();
mAlarmManager.setRepeating(AlarmManager.RTC_WAKEUP,
Evening_TimeInMillis,AlarmManager.INTERVAL_DAY,Evening_pi);