Skip to main content

All Questions

Tagged with
9 votes
1 answer
602 views

How to programmatically add calendar subscriptions on Android?

Does anybody happen to know how to subscribe to a server-hosted iCal calendar (such as http://server/filename.ics) from an Android device programmatically? So far I've seen this is possible manually ...
3 votes
1 answer
1k views

Android Compose Like Google Week Calendar

I wanted to replicate the Google week calendar view in compose but got stuck on the scrolling. I use the detectTransformGestures() to zoom and translate the content but once I let go of the fingers ...
1 vote
2 answers
13k views

Why do I get NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' …?

CODE: public void onBindViewHolder(@NonNull MyHolder holder, int position) { String message = chatList.get(position).getMessage(); String timeStamp = chatList.get(position)....
0 votes
1 answer
51 views

How to compatible with two different list for LazyColumn/LazyRow?

I have a Custom Composable Calendar, here I try to add a functionality to switch between month view and week view. The point of the code is below: LazyRow { items( key = { page -> state....
0 votes
1 answer
8k views

How to set default Calendar when your Android has multiple calendars?

Consider a scenario where an Android device is configured with a Google account. Now if a calendar event is created, the user can select either default(Phone calendar) or Google one. How to set the ...
0 votes
2 answers
55 views

How Can I Make My Calendar Ignore DST Adjustments?

I’m trying to calculate the time by adding minutes to given date-time. It’s works well with other times but not for the DST times [ Canada Eastern time ]. public static GregorianCalendar addMinuts(...
0 votes
0 answers
20 views

How can I add multiple dots using decorator in my calendar?

I am using the prolificinteractive material-calendarview, and I also have schedules in the calendar. I already have 1 dot to represent that the day has a schedule on it.This is what my calendar looks ...
0 votes
0 answers
23 views

Trouble Integrating Calendar in French-Language Application: Issues with 'Locale' Property and Encoding

My application is in French, but when I try to integrate the showDatePicker, it appears in English instead of French. I tried using the " locale: Locale("en")," property, but it ...
0 votes
0 answers
54 views

Flutter: Call to Add2Calendar.addEvent2Cal(event) of package add_2_calendar returns false on some devices

I am creating a Flutter application where I want to create an calendar entry for an event. So far I am releasing only for Android phones. When I tap the button that creates the calendar entry, it is ...
0 votes
1 answer
248 views

How to add event in google calendar in kotlin (android)?

val calID: Long? = getCalendarId(context) val startMillis: Long = Calendar.getInstance().run { set(2024, 3, 27, 16, 45) ...
0 votes
1 answer
10k views

How can I add an event to the Google Calendar API in Android Studio?

I'm developing an app in my spare time and one of the elements requires a user to be able to create an event within the app but I want the event to be created and synced with the google calendar. I ...
-1 votes
1 answer
66 views

Tamil Month Dates and Tamil Calendar React Native

I want to display react native calendar along with Tamil month date . is there any possible way to achieve it in react native for android and iOS I tried React native calendar and added Tamil ...
0 votes
0 answers
18 views

TableCalendar Not Updating State Correctly

I have a list, so something like var x = [DateTime(xxxx), DateTime(xxxx)]; And I want to show users the days they worked out, so I want the days in that list to appear green, lets say. However, when ...
0 votes
0 answers
12 views

How to use custom highlightcolor CalendarPickerView in android

I want to change or customized highlight color in Calendarpickerview. There is no option for change highlight color programmatically.
2 votes
4 answers
984 views

Get hour in current timezone from unix time

I am trying to retrieve a converted "hour" integer for a user's time zone with GMT unix time. My code works SOME of the time, though, for example, it was 9:00 pm on the East Coast and ...

15 30 50 per page
1
2 3 4 5
159