android create calendar event with no reminders -


i've set method add calendar event below, can't find how disable reminders it, window appears 10 minutes reminder (notification) set.

calendar cal = calendar.getinstance();     intent ev = new intent(intent.action_insert);     ev.setdata(calendarcontract.events.content_uri);     ev.settype("vnd.android.cursor.item/event");     ev.putextra("begintime", cal.gettimeinmillis());     ev.putextra(calendarcontract.events.has_alarm, false);     ev.putextra("allday", false);     ev.putextra(calendarcontract.events.access_level, calendarcontract.events.access_private);     ev.putextra("rrule", "freq=daily;count=1");     ev.putextra("endtime", cal.gettimeinmillis() + 60 * 60 * 1000);     ev.putextra("title", "daily goal!");     ev.putextra("description", sevent);     startactivity(ev) 


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -