My calendar application (version 2.3) adds a calendar event for the user, but the reminder does not work. I installed event.put("hasAlarm", 1);as follows.
event.put("hasAlarm", 1);
Any solutions?
Can you try the following event.put(Events.HAS_ALARM,1);
event.put(Events.HAS_ALARM,1);
where is the import import android.provider.CalendarContract.Events;
import android.provider.CalendarContract.Events;
use this import import android.provider.Calendar.Events;for 2.3
import android.provider.Calendar.Events;