A Alessandra Pellegri Active Member Licensed User Longtime User Jan 30, 2017 #1 Hello, I read somewhere in this forum that Android doesn't allow autobooting for background services. So how may I create something like WhatsApp ? Thank you
Hello, I read somewhere in this forum that Android doesn't allow autobooting for background services. So how may I create something like WhatsApp ? Thank you
F FrankBerra Active Member Licensed User Longtime User Jan 30, 2017 #2 Maybe this is what you are looking for: https://www.b4x.com/android/forum/t...-service-long-running-background-tasks.27065/ And also enable Start at boot: B4X: #Region Service Attributes #StartAtBoot: True #StartCommandReturnValue: android.app.Service.START_STICKY #End Region Upvote 0
Maybe this is what you are looking for: https://www.b4x.com/android/forum/t...-service-long-running-background-tasks.27065/ And also enable Start at boot: B4X: #Region Service Attributes #StartAtBoot: True #StartCommandReturnValue: android.app.Service.START_STICKY #End Region
DonManfred Expert Licensed User Longtime User Jan 30, 2017 #3 Whatsapp does not use any service which runs at boottime... Whatsapp is using FCM If you want to start your service at boot time.. Use a service other than the starter service and set start at boot to true here. Upvote 0
Whatsapp does not use any service which runs at boottime... Whatsapp is using FCM If you want to start your service at boot time.. Use a service other than the starter service and set start at boot to true here.
A Alessandra Pellegri Active Member Licensed User Longtime User Feb 1, 2017 #4 Ok, thank you Upvote 0