android-calendar Questions

4

Solved

In the given image first date is current date with month and day. and another date is 7th day from current date. I tried with the below code:: Calendar cal = Calendar.getInstance(); cal.set(C...
Pinnacle asked 13/12, 2015 at 11:25

3

Solved

For some unknown reason, MaterialDatePicker returns incorrect date after selection. For example, user is in Mexico region with timezone: America/Tijuana. When he selects in visual representation: 2...

4

Solved

Ok, I read docs very precisely here: http://developer.android.com/guide/topics/providers/calendar-provider.html#update-event and its written something like this: // Here is an example of an intent...
Wilone asked 25/10, 2012 at 15:42

2

How do i change the color of the selected day in the CalendarView widget provided by android. I don't seem to find any way in the documentation. I can change the VerticalBars using setSelectedDate...

1

Solved

After upgrading to Material Design 3, I noticed that the background colors of certain things changed to a faded version of whatever my primary color is set to. For example, if I set my primary colo...

10

Solved

This is what I have at the moment Seconds = (60 - timeInMilliSeconds / 1000 % 60); Minutes = (60 - ((timeInMilliSeconds / 1000) / 60) %60); which I feel is correct. for hours and days should it ...
Moniz asked 29/10, 2013 at 19:30

2

I have UI for show event calendars and I need to show events from my API. but I don't know how to do it. I try to change List on _event but there's no response. And I need to show it on the calenda...
Infusion asked 7/6, 2021 at 4:47

7

Solved

I want to add calendar events programmatically (directly) in android 4+. Is it this possible to be tested on emulator? I don't own an android phone. Some sample code would be appreciated. I read Ca...
Audsley asked 4/12, 2012 at 18:26

7

Solved

I wanna create an Android application, and I want to dynamically and automatically update the app icon similarly to how the calendar icon updates on a user's homescreen. The calendar changes its i...
Plinth asked 4/1, 2016 at 13:26

3

Solved

I am just learning how to work with the Android Calendars. So far, I am able to display the info about existing calendars. I can also create my own local calendars -- the test code like: private v...
Micaelamicah asked 21/7, 2014 at 13:43

7

Solved

I have a ReST service which downloads information about events in a persons calendar... When it returns the date and time, it returns them as a string e.g. date = "12/8/2012" & time = "11:25 ...
Britneybritni asked 7/8, 2013 at 9:12

4

Solved

I need to design a custom calendar to choose dates while swiping over them. I need some solution on how to implement swipe on the calendar and also will be helpfull if there are any libraries which...
Cathode asked 21/3, 2016 at 10:36

2

Solved

i'm writing an application that need to add some events to a calendar in android. For inserting i just used the following code: public void onItemClick(AdapterView<?> adapter, View curview,...
Carmelinacarmelita asked 28/2, 2012 at 13:9

2

Solved

In Calendar Provider there are multiple data tables, there's the Events table, which store details of individual Events, and there's the Instances table, which store the start and end time for each...
Arawakan asked 18/2, 2020 at 11:29

1

Solved

I am testing out a sample app where I am trying to achieve displaying time and date to a specific day.Currently, it just plots to the entire month even if the event if for a day. Say if the event i...
Cocktail asked 4/1, 2020 at 14:21

2

I am using https://github.com/prolificinteractive/material-calendarview Right now it is changing the month on the click of Right or Left arrow How can i change the year directly instead of changin...
Elfredaelfrida asked 31/12, 2015 at 14:48

3

Solved

Can someone explain how to use EXDATE when adding event to android calendar? The documentation is pretty unclear about the format in which the EXDATE should be put. I tried many formats, these are ...

4

I'm trying to add event to default android calendar whithout asking the user for a confirmation of saving the event. (so not with intent) The following code has no compilation error or run time er...
Continuant asked 27/10, 2017 at 0:24

3

Solved

I want to develop a custom calendar day view for android OS 1.5 and later on. Similar to android day calendar and event add & display in day view. If you have example or source of it then ple...
Comedy asked 28/7, 2011 at 11:27

1

Solved

I'm new to Android and I'm trying to get the current date but the Android Calendar class requires API 24. I need to support older device and the Time class is deprecated since API 22. The problem ...
Auburta asked 23/10, 2018 at 15:7

1

in my application, I have to show a calendar in which some days are colored differently (eg with a green background) I entered the "calendar view" and I focused on the current date, but can not see...
Hamel asked 2/11, 2013 at 10:49

2

Here is my Code and I want to know what is value for "CalendarContract.Events.CALENDAR_ID"? This code is working on Pre Android N Os but in Nougat if I put "1" as value it creates an event in speci...
Belinda asked 20/7, 2017 at 12:45

1

I develop an Android application that prompt the calendar application to edit events. I use startActivityForResult() to open the Calender. After editing and saving the event, resultCode is always ...

1

Solved

I'm experiencing app crashes on Oreo Android 8.0/8.1 devices when using the calendar provider. The problem does not show on my devices running Nougat and below. Permission Denial: reading com.andr...

3

Solved

I'm trying to pop-open a DatePicker dialogue box when my EditText is clicked. The problem is, when I try to instantiate my Calender object with Calender.getInstance() the creepy-red-underline appea...
Hassett asked 10/7, 2016 at 10:51

© 2022 - 2024 — McMap. All rights reserved.