I needed a way to play a sound at a certain time even though the app is in the background. The problem is that the app is paused as soon as it goes into the background, you can delay this by 30 seconds, but if you take longer, the app is stopped and no more code is executed. Now I have found a...
Hello to the forum,
I'm trying to read the next alarm time from the Android clock.
Here I found: Phone.GetSettings("next_alarm_formatted"), but since API 21 this function was deprecated. AlarmManager.getNextAlarmClock() should be used for API >= 21.
So my code is
Dim AlarmManager As...
I'm just writing to try to understand when a service running in the foreground is disabled by the Android system. I developed an alarm app and after choosing the text and time data for the alarms, I close the app and only its service is running in the foreground, sometimes it works for a day...
Material Date - Time Picker Dialog
Updated :)
This Library wrape for this github
work on B4a v11
SetMinDate
SetMaxDate
CancelColor
CancelText
OkColor
OkText
Title
DarkMode
On Cancel
OnDateset
2 layout Mode
Added Dismiss_Dialog
Events :
_OnCancelDate()
_OnDateSet()
_OnCancelTime ()...
Greetings,
I would like to know if it's possible to add alarms to the stock Android clock app programmatically.
If this can be done, can you point me to a link that shows what coding is needed? I would like to set alarm parameters such as days when the alarm will play, the sound file which the...
Hey people ;)
I haven't done any coding for over a year, but now i want to make something. So please forgive me my noobiness and the fact that i didn't keep up with all the changes in B4A and in Android :oops:
For a friend i want to make a wake-up alarm clock, cause she isn't comfortable with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.