IamTrying Active Member Licensed User Oct 10, 2017 #1 In past i used Cordova and failed to make the Background service so that my app can run in the background like WhatsAPP. It wasted my three months. The main reason now to start to learn B4A and B4I is only to make an app which i can run in backend. Once i learn the way, i want to buy license for Android and iOS tools. Is it possible to make the background process with B4A and B4I? is there any get started direction on that direction specifically?
In past i used Cordova and failed to make the Background service so that my app can run in the background like WhatsAPP. It wasted my three months. The main reason now to start to learn B4A and B4I is only to make an app which i can run in backend. Once i learn the way, i want to buy license for Android and iOS tools. Is it possible to make the background process with B4A and B4I? is there any get started direction on that direction specifically?
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2017 #2 IamTrying said: Is it possible to make the background process with B4A and B4I? Click to expand... Yes. See this tutorial: https://www.b4x.com/android/forum/t...-long-running-background-tasks.27065/#content And also: https://www.b4x.com/search?query=Service+modules In iOS (B4i) you can do very specific things in the background as allowed by Apple. Upvote 0
IamTrying said: Is it possible to make the background process with B4A and B4I? Click to expand... Yes. See this tutorial: https://www.b4x.com/android/forum/t...-long-running-background-tasks.27065/#content And also: https://www.b4x.com/search?query=Service+modules In iOS (B4i) you can do very specific things in the background as allowed by Apple.
IamTrying Active Member Licensed User Oct 10, 2017 #3 Thank you. My mission is to use StartAtBoot (which failed in my past Cordova implementation). While checking the reference link found following key points. How do you exactly set the `StartAtBoot` flag? Code: Copy /* It will not be kept after a reboot. Use StartAtBoot attribute for that. */ #StartCommandReturnValue: android.app.Service.START_STICKY Upvote 0
Thank you. My mission is to use StartAtBoot (which failed in my past Cordova implementation). While checking the reference link found following key points. How do you exactly set the `StartAtBoot` flag? Code: Copy /* It will not be kept after a reboot. Use StartAtBoot attribute for that. */ #StartCommandReturnValue: android.app.Service.START_STICKY
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2017 #4 Add a new service (not the starter service). You will see this line at the beginning: Code: Copy #StartAtBoot: False Change it to True. Upvote 0
Add a new service (not the starter service). You will see this line at the beginning: Code: Copy #StartAtBoot: False Change it to True.
IamTrying Active Member Licensed User Oct 10, 2017 #5 In my Android phone i have B4A-Bridge installed but when i click the button START or STOP it does nothing. Also from B4A IDE i am unable to connect to upload my Android compiled app for testing. Is it normal or is it because i am using 30 days free trial version? Upvote 0
In my Android phone i have B4A-Bridge installed but when i click the button START or STOP it does nothing. Also from B4A IDE i am unable to connect to upload my Android compiled app for testing. Is it normal or is it because i am using 30 days free trial version?
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2017 #6 Please start a new thread for a new question. Upvote 0
IamTrying Active Member Licensed User Oct 10, 2017 #7 1. I tried : https://www.b4x.com/android/forum/attachments/downloadservice-zip.6974/ 2. But failing when i click the download button: Upvote 0
1. I tried : https://www.b4x.com/android/forum/attachments/downloadservice-zip.6974/ 2. But failing when i click the download button:
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2017 #8 Have you seen my previous post? You should never post a new question in an existing thread. Upvote 0