All Questions
125
questions
0
votes
1
answer
248
views
How to add event in google calendar in kotlin (android)?
val calID: Long? = getCalendarId(context)
val startMillis: Long = Calendar.getInstance().run {
set(2024, 3, 27, 16, 45)
...
0
votes
1
answer
884
views
Adding a webcal calendar to calendar app via API or URI protocol
I am trying to create a calendar export for my sports organization. I get the data from an external API (the match dates change sometimes) and format it to form .ics files. I got a .ics feed up and ...
1
vote
0
answers
122
views
Android Calendar Provider API is returning deleted recurring events
I am using the Android Calendar Provider API to load events (just their instances). I have noticed that it is also returning deleted instances of a recurring event.
I am unable to distinguish them ...
0
votes
0
answers
152
views
How to filter-out rescheduled Android calendar events instances
I have an app that reads all calendar event instances for a time range like this:
...
fun getEventsInstancesForMultipleCalendars(context: Context, calendarsIds: List<Long>, from: Instant, to: ...
2
votes
0
answers
35
views
Subscribe for external Google Calendar via Android programatically
I want to subscribe external Google Calendar into my Google calendar via intent from third-party application.
I'm trying to make somehow intent with calendar URL to Google Calendar native application ...
-1
votes
1
answer
61
views
Events are getting deleted in 10 secs from google calendar : Android
I am trying to add events to google calendar by below code :
val calendar = Calendar.getInstance()
calendar.set(Calendar.HOUR_OF_DAY, 18)
calendar.set(Calendar.MINUTE, 30)
...
0
votes
1
answer
403
views
How to change color of current week in MaterialCalendarView?
I want to change the colour of the WeekDay text for the current week. I am able to change the colour for the current day using a decorator. Is it possible to do this while using this library?
Link to ...
0
votes
1
answer
172
views
calendar reminder not gives notifiaction when it is time
I successfully create a calendar event with reminder in my app, it works well in AVD but when I install the apk on my own phone the reminder doesn't work.
I am sure that I have granted the Calendar to ...
1
vote
0
answers
148
views
Android calendar - querying Instances table does not always return fresh data
Title says it all. I use minimalistic code from official Google docs to query Instances table, but it does not work properly. There are several random problems:
sometimes it returns already deleted ...
0
votes
1
answer
169
views
Update Repeat event to one time event in google calendar - Not working [closed]
I remove the RRULE field to update repeat event to one time event android google calendar programmatically
Inserting values - eventTimezone=en_IN description=null title=Repeat without until allDay=0 ...
0
votes
1
answer
280
views
How to correctly update Android recurring calendar events
I'm currently updating my events with the following command:
contentResolver.update(ContentUris.withAppendedId(Events.CONTENT_URI,eventId),values,null,null)
After this, by querying my instances with
...
0
votes
1
answer
544
views
I'm not able to create a hangouts link or google meet link through google calendar API [closed]
A few days ago , it was working the "Automatically add Google Meet to my calendar events".
Suddenly, It has not worked in Google Calendar API and the "getHangoutLink()" returns &...
1
vote
0
answers
400
views
Remove or filter duplicate holidays events from calendar database - Android
I am fetching all calendar events including holidays from Android Calendar Database using Content providers. As I am signed in with two different Gmail accounts, the Query returns duplicate holidays. ...
1
vote
0
answers
342
views
How integrate .ICS file to Google Calendar directly OR How can I subscribe to google calendar from the app?
I have an android app where I want to give the user an option to toggle on and off calendar sync.
Using the below lines of code it is opening a browser and then downloading the .ics file and then ...
2
votes
1
answer
925
views
Android : Showing wrong end date (one day before of actual date) in Google Calendar while adding an event with intent
I am facing an issue while adding an event to the Google Calendar as its showing an wrong end date in the Google Calendar Screen But if you add the event it will generate an event with proper end date....