993 questions
2
votes
1
answer
125
views
WearOS 3: How to get updates on calendar events for a custom complication?
I'm trying to create a custom WearOS complication that shows the title of the next event. The watch has a built-in Agenda app that synchronizes with the phone's calendar. There is also a built-in ...
2
votes
0
answers
89
views
How to identify Birthday Events in Main Calendar via ContentResolver
Recently a change to birthdays was introduced which also introduced the eventtype to identify birthday events.
https://workspaceupdates.googleblog.com/2024/09/create-birthdays-in-google-calendar.html
...
0
votes
1
answer
129
views
Google Calendar API Opaque Key String vs Native Event ID long
I'm trying to do Google Calendar synchronization with iOS and Android.
For iOS i'm using google-api-objectivec-client-for-rest
For Android i'm using the method with contentResolver and ContentValues
...
1
vote
0
answers
59
views
Outlook calendar event description when sync with local calendar of Android mobile and fetch it shows in HTML formatted Text in custom app
When I fetch local calendar data in android app in the cusrosr events description data shows as HTM formatted. While creating an outlook calendar event added " This is test message " this is ...
0
votes
1
answer
64
views
Relationship between events from CalendarContract.Events and recurring events in CalendarContract.Instances android
After query event details from CalendarContract.EVENTS.CONTENT_URI using content URI value,
Is it possible to use this event details to query all recurring instances fromCalendarContract.Instances.
...
2
votes
1
answer
454
views
Unable to Find XML Tags for com.kizitonwose.calendar.view.CalendarView Library
Hi Stack Overflow community,
I am trying to integrate the com.kizitonwose.calendar.view.CalendarView library into my Android project, but I am facing an issue. After adding the dependency and ...
2
votes
1
answer
191
views
Event added using content provider isn't saved
I tried adding a calendar event to the Android calendar using this code:
fun insertEvent(event: CalendarEvent): Uri? {
val contentResolver = context.contentResolver
val values = ContentValues()...
0
votes
1
answer
54
views
How to share a calendar event that doesn't exists with share intent in Android?
Context: I have a QR scanner app that can scan calendar event. upon scanned, the user can add the calendar event or share it. how can I share (if I can) to another app?
That how I create the event ...
2
votes
0
answers
288
views
add programmatically calendar event on android 13 with java
I created a booking application. when a reservation is made, an event is automatically added to the calendar. this works on most devices. i came across some devices where it doesn't work (xiaomi and ...
0
votes
1
answer
352
views
How to create an Intent that launches Calendar app on Android?
I'm trying to add a button that launches the Calendar app on Android 13:
private fun openCalendar() {
val intent = Intent(Intent.ACTION_VIEW).apply {
data = CalendarContract.CONTENT_URI
...
0
votes
0
answers
79
views
Instantly not able to delete contents from Calendar
`I'm facing an issue with the ListView in an Android app where I'm able to delete an event from the listview using a content resolver. The deletion is reflected instantly in the ListView, but when I ...
0
votes
0
answers
129
views
Can I force the event I create in my online Google Calender to 'push' or 'sync' to phone?
I've created a Google script to create an event in my Google Calendar. What I want to happen is to be reminded about that event on my device (Andriod phone). However, as far as I can tell the local ...
1
vote
2
answers
3k
views
Jetpack Compose - StateFlow not updating when setting the value
I'm using StateFlow to update compose views. There is a stateFlow that type is Calendar;
private val _selectedStartDate: MutableStateFlow<Calendar> = MutableStateFlow(Calendar.getInstance())
val ...
1
vote
0
answers
50
views
How to allow user to select a date and get every record with the same date in each of their timestamps? (Firebase Realtime Database)
I'm trying to add a DatePicker for the user to choose a date from the calendar. Then, I'm using Firebase query equalTo(dateSelected.getTime()) to check whether the timestamps in every record match the ...
0
votes
0
answers
112
views
How in Calendar to display current data according to day instead of displaying the current date
please I greatly need your help on how can I, in "CALENDAR", set different datas for each day and display it when the day is clicked. I have checked everywhere and you guys are my last ...