All Questions
2,372
questions
0
votes
0
answers
22
views
How to add an event on long press empty view
I am using the library by Alam Kanak accessible at this github link https://github.com/alamkanak/Android-Week-View/tree/master
For the function "onEmptyViewLongPress" I would like the user ...
0
votes
0
answers
29
views
CalendarContract slow in Android
Helo,
I've got this code snippet:
Uri uri = Uri.parse(CalendarContract.Instances.CONTENT_URI + "/" +
Long.toString(from) + "/" +
Long.toString(to));
...
0
votes
1
answer
58
views
I am try to trigger alarm for Every day 12:00 am but why it is trigger after 10/20 minute later of 12:00 am?
public void alarmUpdateForEveryDay(Context context) {
AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
Intent intent = new Intent(context, ...
0
votes
0
answers
55
views
Select Maximum 30 days in MaterialDatePicker Calender
I am using Material Date Picker for start date and end date.
Now I want to restrict the user not to select more than 30 days.
I have also used RangeDateValidator but it's giving error on getSelection.
...
0
votes
0
answers
107
views
Drag To Select Calendar in Android with Compose
I'm trying to implement drag to select dates in my custom Calendar in Android which I've built using jetpack compose.
Here's the rough structure of my compose calendar:
Here's the vertical scrolling ...
1
vote
2
answers
54
views
Is there a way to get last selected position with current selected position from recyclerview android kotlin?
I'm currently using recyclerview to build a custom calendar for an android app.
This app is contains elements about schedule management, and that raised a demand to make multiple date selection via ...
0
votes
0
answers
43
views
Why does onMonthChanged callback not work in my Flutter Calendar (NeatCleanCalendar)?
I have been working with NeatCleanCalendar and was creating a system to create events on certain weekdays like your average alarm app (For example, a 'Exercise' event that occurs on Mondays, Tuesdays, ...
0
votes
0
answers
161
views
Kotlin Android : How to make a date picker spinner in the year of the Buddhist era
enter image description here
class DatePickerLayoutActivity : AppCompatActivity(), DatePickerDialog.OnDateSetListener,
DatePicker.OnDateChangedListener {
override fun onCreate(...
0
votes
1
answer
60
views
How to code for an iOS style rotating animation
!(https://th.bing.com/th/id/OIP.ChQ6m89PO_1Dm_FexkwrUAAAAA?pid=ImgDet&dpr=2)
I would like to code this in Jetpack compose and have seen various other implementations already on stack overflow.
...
0
votes
1
answer
139
views
How to generate messages with maui c# et google calendar
Hi from Marseille france
I am developing an app with maui c# android and I would like to be able to generate messages with the Google calendar to remind the user to do something at a date/time. Is ...
0
votes
1
answer
52
views
Activity loading after 5-6 seconds in Android
I am working on an app and here it takes 5-6 sec to load the activity when I open the app, I know it is because of the dates I have got of 10 years in the viewpager but how do I fix that and load it ...
2
votes
0
answers
91
views
How to save time (Localtime) from WheelTimePicker on API 24?
I have a project on Jetpack Compose where I need to make a Wheel time picker to choose the time. I found a solution that looked acceptable.
https://github.com/commandiron/WheelPickerCompose
Then I got ...
1
vote
0
answers
199
views
Need to open the OS calendar at a specific date from a React Native app?
I am trying to open OS default Calendar. But Facing issue while trying to open android calendar.
Please help me to fix this issue
if(Platform.OS === 'ios') {
Linking.openURL('calshow:');
} else if(...
0
votes
1
answer
210
views
how to get date without depending on systems date [duplicate]
i want to get the date and time without using the systems date
i am using android studio emulator changing emulators date.
ex: todays date is 2 Feb 2023 but i change my devices date to 26 Feb 2023. i ...
1
vote
1
answer
317
views
Chinese New Year Date on Android
How one could get Chinese New Year Date on Android?
Since API level 24 Android has Chinese Calendar class.
https://developer.android.com/reference/android/icu/util/ChineseCalendar
However, doing it ...