android-calendar Questions

3

Solved

I am trying to make my App add reminders to the user's Calendar. The code searches for the title and start date to check if the event already exists in the Calendar before adding it (so as not to h...
Haplology asked 20/2, 2013 at 0:11

7

I got below code on stackoverflow which return total number of week in current year, but it is hardcoded which'll not work on 2014 and 2016. How I get total number of week in current year dynamical...
Vice asked 26/8, 2013 at 6:58

6

Solved

We are trying to show user the Ice cream Sandwich calendar view, when they want to add a new event. We can only test this in emulator. The other problem is that we can't find any examples how to u...
Yarborough asked 22/10, 2011 at 10:59

1

Solved

I want to get month shown in calendar view and i cant figure it out. i tried calendarView.setOnDateChangeListener(new CalendarView.OnDateChangeListener() { @Override public void onSelectedDayC...
Wholly asked 18/8, 2017 at 8:48

3

Solved

Here I am finding the difference between the entered date and current date. I mean I am trying to find the no of days between two Dates. If both the dates are in the same month, I am getting correc...
Winnifredwinning asked 28/9, 2016 at 6:45

2

Solved

I'm trying to add a CalendarView in my application, which uses the Theme.Light theme. The problem is, the days numbers of this calendar are rendered in white, so while using a light theme, you can'...
Bumbailiff asked 23/2, 2012 at 11:45

0

I have one Android calendar with four View options:Week view, Month view, Day View and Agenda view. I want to show Today in the list of Agenda view even if there is no event Attached to Toda...
Wholewheat asked 24/1, 2017 at 9:25

1

Solved

I have a MaterialCalendarView in a android app and I have a json response like this: {"Table": [ {"userid":4,"eventname":"Aditya","eventdate":"\/Date(1479974400000-0800)\/","eventcolor":"5986FF","...
Achlorhydria asked 29/11, 2016 at 10:49

1

Solved

I try to implement one way synchronization with android calendar events (I need original events - not event instances). So, I have the following query: String[] projection = new String[]{ Calend...
Peridium asked 24/10, 2016 at 15:13

1

In my app, the users can add special events to their Google Calendar. I want that the events will be added without any alarm/reminder/notification. Some of the users' calendars have default setting...
Er asked 1/8, 2016 at 19:59

2

I am new to Android (and Java), please help me with this problem. I am trying to hide the week numbers in the CalendarView in the DatePicker, found a Boolean set to true called: mShowWeekNumber ...
Polad asked 23/7, 2013 at 2:59

1

I am making a simple alarm app. Wherever I am using Calendar class it's showing an error same as title. Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(System.currentTimeMilli...
Politico asked 23/7, 2016 at 3:35

2

Solved

Edit/Note: I really need an answer to this, and I'd like to stay with the "stock" Google Android API. I've created a +100 bounty on this but if I get a straightforward solution to this using the st...
Encircle asked 6/7, 2016 at 21:22

1

Solved

In my application I am Using this library for Custom Calender View. On click any date i am passing that date to next activity through shared preferences. I am able to display date in next activity....
Goodard asked 16/5, 2016 at 11:42

2

Solved

I'm trying to read the reminders set by the user. What I mean with "reminder": currently there are two different meaning, the first one is the "alert" related to each event in the calendar and you ...
Oscular asked 21/2, 2016 at 10:8

5

Solved

I'm trying to use Android's new calendar API to read all of today's calendar events. I'm have trouble finding the right selection on the database query to return all of the events. It seems that al...
Ragamuffin asked 13/4, 2012 at 0:12

3

I need to get the number of events on the calendars for today. Only the number of events of all calendars, do not need anything more. I found several threads about it, but I can not get the number...
Lowelllowenstein asked 2/2, 2014 at 12:49

4

Solved

I am trying to display in a TextView when my application last updated (e.g., "Last updated at 12:13). I am trying to use a Calendar instance and I thought I understood it correctly but I seem to be...
Thirddegree asked 8/8, 2011 at 1:7

5

I've already implemented this listener in order for me to display something when a certain date is clicked, but the problem is that when i scroll the CalendarView down, it automatically displayed s...
Tila asked 28/9, 2012 at 13:46

1

Is there a good way to highlight a specific/different dates as I want on calendar view in android? Thanks!
Balcony asked 16/5, 2015 at 8:26

5

Solved

I am starting to learn how to develop on Android. It is pretty straightforward but I'm facing an issue I did not find any mention anywhere... I have a view : <?xml version="1.0" encoding="utf...
Clamor asked 2/12, 2012 at 15:27

2

I am reading all the android calendar events and it is working fine by using this below code but, I want to fetch all the google calendar events from user mail accounts .How can I do that? Any sugg...
Boccherini asked 27/11, 2013 at 7:32

4

Solved

I use this method to get local time: Calendar cal = Calendar.getInstance(); String time= new SimpleDateFormat("dd MMM yyyy HH:mm:ss").format(cal.getTime()); My problem is that afternoon this m...
Armistead asked 5/3, 2013 at 7:58

3

Solved

I am trying to start a new activity when you click on a date in CalendarView but my event doesn't seem to fire. I have set clickable to true and specified an onclick (both in xml) this is the xml:...

2

I am following this gist, to insert event into Calendar How do I update existing Calendar Event, which i have inserted earlier using below code: public void addToCalender() throws ParseException ...
Methodical asked 7/7, 2015 at 9:38

© 2022 - 2024 — McMap. All rights reserved.