startserviceat

  1. Hosein_Mghr

    Android Question Start Service In Android 13

    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...
  2. gezueb

    Android Question Run a service every hour while phone sleeps

    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...
  3. A

    Android Question Once again about StartServiceAt

    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...
  4. hatzisn

    Android Question Distinguish bluetooth connection/disconnection from start service at

    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>)...
  5. A

    Android Question StartServiceAt problem

    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...
  6. walterf25

    Android Question Services (Can't keep it alive)

    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...
  7. 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...
Top