All Questions
2,372
questions
0
votes
1
answer
462
views
Remove Selected Days from Material Calendar View
So I have been trying to remove Selected days from material Calendar and also remove their decorators but I couldn't figure out how to do that using removeDecorator().
Instead I created an extra xml ...
0
votes
0
answers
141
views
Android Calendar doesn't add Day
val dayCalendar = Calendar.getInstance()
dayCalendar.time = entryDateC.time
for (day in 1..howManyDays) {
dayCalendar.add(Calendar.DAY_OF_MONTH, 1)
if (!disabledDays.contains(...
-1
votes
1
answer
245
views
Time delay in unity even when app not active - Calendar app in unity
so I'm making a calendar app in unity, but not just any calendar.. it's a custom calendar app for my friend because he doesn't like georgian, anyway my question is:
I have Date.TimeNow.Hour set to get ...
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 ...
1
vote
0
answers
137
views
Listen to android calendar changes. Problem on Android 12
I use an intent filter to receive in the appwidget provider if calendar was changed and update the widget in case of changes...
My code in Manifest:
<receiver android:name="my.package.name....
0
votes
1
answer
2k
views
Android MaterialDatePicker : How to change color of calendar
I am trying to change color using style code in XML.
I am not able to change the background color of the calendar.
In the image below I want to change white color area of right side to some custom ...
0
votes
1
answer
345
views
How to store day time slots that generates weekly
Let's say i have an app with a calendar each day is divided into time-slots, example :
Monday : 8-10h 10-12h 12-14h
Tuesday : 8-10h 10-12h 12-14h
and every time slot has an event and the calender is ...
0
votes
0
answers
151
views
Get minimal days in first week use Java.Calendar
Java Calendar a very strange thing that works in a very confusing way.
I try to make gaps of the first week of month. But minimalDaysInFirstWeek returns 1.
I have read the documentation and it seems ...
0
votes
1
answer
80
views
Does the Android studio modify the parameter values?
During the creation of the calendar app, the calendar variable representing the current date was set as a parameter. I copied it to a calendar variable called cal, and in the process of changing the ...
2
votes
1
answer
1k
views
How to use this Android Week View Library
I'm trying to implement on my android application a calendar week view where I will show all the events in that week like a school schedule.
After searching for a while I found this library that seems ...
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: ...
0
votes
3
answers
1k
views
Generate 72 hours of timeslots with 15 minutes of interval in android
I am trying to generate an array of 72 hours timeslots with 15 minutes of interval but it starts with 00:00 after 24 hours, so basically it prints whole 24 hours timeslots 3 times, but i want to start ...
0
votes
1
answer
485
views
RRULE in android
I am trying to set weekly monday reminder in calendar at 9 a.m.
Following is the code
final int[] preTimings = {9, 12, 18};
Calendar calendar = Calendar.getInstance(Locale.getDefault());
...
0
votes
2
answers
828
views
How to convert a timestamp to years, month, days and hours in Android?
I want to convert a timestamp like 62207486144 to days(like 1 year 6 months 2 days 3 hours 33 minutes) in my Android App. How can I do that? I am able to get days and hours but not years or months ...
0
votes
1
answer
492
views
How to add days and get timestamp in Android?
I want to add days like 30, 60, 90, etc to a date a timestamp like 1642599000000 and want to get the new timestamp. I am using the following code but not working properly. It only works for 30 days ...