B4X:
Dim i As Intent
i.Initialize(i.ACTION_EDIT, "content://com.android.calendar/events")
'The title of the event.
i.PutExtra("title", "Team reunion")
'The description of the event
i.PutExtra("description", "Project Discussion")
'Where the event takes place.
i.PutExtra("eventLocation", "Conference Room")
'start date/time
Dim startTime As Long = DateTime.Add(DateTime.Now, 0, 0, 1)
i.putExtra("beginTime", startTime)
'end date/time
Dim endTime As Long = DateTime.Add(DateTime.Now, 0, 0, 1)
i.putExtra("endTime", endTime)
i.putExtra("rrule", "freq=WEEKLY")
StartActivity(i)
Intents comuns | Android Developers
Uma intent permite iniciar uma atividade em outro app descrevendo uma ação que você quer realizar (como "ver um mapa" ou "tirar uma foto") em um objeto de intent. Esse tipo de intent é chamada de intent implícita porque...
developer.android.com
insert event to calendar using intent
I know this has been asked previously in this forum, but I tried everything written here and still nothing works for me. What I want to do is to insert an event to the calendar. Since there are sev...
stackoverflow.com