fredo Well-Known Member Licensed User Longtime User Oct 21, 2015 #1 I want to equip a larger B4a project with the new "Starter service" to optimize the stability of the app. After some searching in the forum I am not sure if changing the source is a trivial task, or whether I have to consider a lot of "do's and don'ts". Would it be possible to obtain a small sample project ?
I want to equip a larger B4a project with the new "Starter service" to optimize the stability of the app. After some searching in the forum I am not sure if changing the source is a trivial task, or whether I have to consider a lot of "do's and don'ts". Would it be possible to obtain a small sample project ?
Erel B4X founder Staff member Licensed User Longtime User Oct 21, 2015 #2 The starter service is explained here: Starter Service - Consistent & Single Entry Point And in the beginner's guide: https://www.b4x.com/android/documentation.html It should be quite simple to move all (or most of) the process_global variables to the starter service and initialize them in Service_Create. This way you will know for sure that they are all initialized. Upvote 0
The starter service is explained here: Starter Service - Consistent & Single Entry Point And in the beginner's guide: https://www.b4x.com/android/documentation.html It should be quite simple to move all (or most of) the process_global variables to the starter service and initialize them in Service_Create. This way you will know for sure that they are all initialized.
klaus Expert Licensed User Longtime User Oct 21, 2015 #3 You can have a look at the SQLiteLight2 and SQLiteLicht3 examples in the SQLiteLight Three simple SQLite projects thread. Upvote 0
You can have a look at the SQLiteLight2 and SQLiteLicht3 examples in the SQLiteLight Three simple SQLite projects thread.
fredo Well-Known Member Licensed User Longtime User Oct 21, 2015 #4 Thank you Erel, thank you Klaus! After 3years with B4A I was too arrogant to have a look in the most recent BeginnersGuide and UserGuide. The text and the samples included there show exact what is needed to make use of the Starter Service. Upvote 0
Thank you Erel, thank you Klaus! After 3years with B4A I was too arrogant to have a look in the most recent BeginnersGuide and UserGuide. The text and the samples included there show exact what is needed to make use of the Starter Service.