In Android 13, I did everything to be able to restart the service after destroying it. Android 13 does not allow restarting. I tried StartService and StartServiceAt, but it didn't work. Now I want to know if it can be done with the new b4a receivers from the intent action. I should make a...
I use a service to get the sea level air pressure (QNH) from the internet every hour and store it into a ring buffer. I used an example from the forum to repetitively schedule this cyclic process with phone wake state in partial lock. I removed the call to StartServiceat as Erel said it would...
Hello. I am a programmer from Kazakhstan.
Previously I worked in Visual Basic, recently I am trying to create my first application in B4A.
The essence of my project is a program of reminders about scheduled events.
The basis of the project is to force the service module to be activated at the...
Hi everyone,
I have the question as described in the subject.
I have this code in manifest:
AddReceiverText(sBT, <intent-filter>
<action android:name="android.bluetooth.device.action.ACL_CONNECTED"/>
<action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>
</intent-filter>)...
Hello,
I now trie to use StartServiceAt by Erel's example (https://www.b4x.com/android/forum/threads/startserviceat-headaches.33646/#post-196829)
Sub Service_Start (StartingIntent As Intent)
StartServiceAt(Me, NextTimeInstance(17, 27) ,True)
StartActivity(Main)
End Sub
Sub...
Hello all, i've been noticing this problem for a very long time, i have read all the threads that talk about Services, I stopped working on an app almost a year ago because i could not figure out why my Services were being killed and not re-started.
Basically i was working on an Email Client...
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...
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.