Skip to main content

All Questions

0 votes
0 answers
139 views

How to insert an event on google calendar without using android intents?

Basically, I'm booking appointments for the patients the main thing I want is that as the appointment is booked the event is set on google calender on the user phone. I'm passing the time and date as ...
Usama Hafeez Official's user avatar
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 ...
qkx's user avatar
  • 2,444
1 vote
0 answers
151 views

Calendar provider doesn't support RSCALE element of the RRULE field

I am working for a startup company and they want to develop an android calendar application that supports non-Gregorian events. I followed ical standard based on this reference. It's recommended ...
mehdi dorreh's user avatar
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. ...
Kavita Patil's user avatar
  • 1,854
0 votes
1 answer
974 views

How to get today's calendar events using ContentProvider

I have the following code to get every event in my Google Calendar using ContentProvider. (Link here) CalendarProvider calendarProvider = new CalendarProvider(context); List<Calendar> ...
Luke C's user avatar
  • 148
0 votes
1 answer
251 views

How to read calendar events with different time zone Change

i am working on a device calendar events. The person installed the app was in India, now he is in US. when he open the app the it gives him the bank screen, how can i fix this issue can any one tell ...
koteswara D K's user avatar
0 votes
1 answer
117 views

Android native calender callback

Please let me know a way of getting call back for following case from Android Native Calender: When I am opening programetically native android calender "Add event" screen using android intent. How ...
Purvi's user avatar
  • 1
2 votes
1 answer
2k views

Android calendar custom event color keeps changing to default (blue)

I am developing an android app that programmatically adds some events to the user's default calendar using a ContentResolver. I also set the color of the events based on the type of the event (in my ...
ferenckovacsx's user avatar
0 votes
1 answer
835 views

CalendarContract.Events.CALENDAR_ID not storing the event in the specified Calendar_Id in Android, using Intent

Hi I am using the following Code to add a Event to my Android Calendar using Intent. Calendar cal = Calendar.getInstance(); Intent intent = new Intent(Intent.ACTION_INSERT); // Even Tried ...
Pravinsingh Waghela's user avatar
0 votes
1 answer
96 views

What exactly gets executed on Android device when you check Settings > Accounts > Google account > Sync Calendar?

On Android device, when you go to Settings > Accounts > your Google account > and check Sync Calendar, what exactly gets executed? I suppose there must be something like a built in sync adapter which ...
Zmiter's user avatar
  • 318
2 votes
0 answers
136 views

CalendarProvider stops inserting recurrence instances after querying instance table with long period

I create a recurrence event in google calendar called "Rec1". Then in a sample app I query the instance table: GregorianCalendar c = new GregorianCalendar(2000, 1, 1); GregorianCalendar c2 = new ...
Misagh Emamverdi's user avatar
1 vote
1 answer
448 views

Cannot insert a new Calendar because of IllegalArgumentException in content values

I want to insert a local calendar in CalendarProvider. Here is what I do: Uri uri = asSyncAdapter(CalendarContract.Calendars.CONTENT_URI, "Test", CalendarContract.ACCOUNT_TYPE_LOCAL); ...
Misagh Emamverdi's user avatar
10 votes
2 answers
34k views

Android / Java convert String date to long type

I need to convert a string in the format "dd/mm/yyyy", to a long type. In order to pass the value to the calendarProvider in android. Currently I have: Calendar calendar = Calendar.getInstance(); ...
user avatar
1 vote
1 answer
1k views

Android read calendar events

I'm trying to create a interface to choose calenar events but I have run into some issues. On my devices I get the correct events but many of my users have reported the functionality isn't working and ...
SweSnow's user avatar
  • 17.3k
1 vote
0 answers
97 views

Basic Calendar App in Android (API 11 and above)

I am trying to build a basic Calendar App in Android. I am a beginner and from my understanding of the information given at the android development site , we can build a Calendar App either by using ...
Sri's user avatar
  • 13

15 30 50 per page