1. F

    Android Question StartServiceAtExact not working

    I am now developing an app which requires a service that starts at exact time. After testing the app on a HUAWEI Mate 20 X (Android 10), I found that the service was not always working. StartServiceAtExact(Scount,NextTimeInstance(00, 00), True) Sub SetExactAndAllowWhileIdle (Time As Long...
  2. rleiman

    Android Question Converting integer values to ticks long value

    Hi Everyone, If I have 3 separate integer values representing a time such like: Dim intHours As Int = 10 Dim intMinutes As Int = 30 Dim IntSeconds As Int = 0 for the actual time of 10:30:00, can you tell me how to convert those 3 integers into a ticks long value so I can pass it to...
  3. rleiman

    Android Question Starting a service every 15 minutes.

    Hi Everyone, I would like to wake up a service in 15 minute intervals and continue to do that constantly. For example, if the user pressed a button to start it and the current time is 11:05, I would like the service to wake up at 11:15, 11:30, 12:00 and so on. I was thinking about maybe using...