John Decowski Member Licensed User Longtime User Sep 15, 2015 #1 i have a database i connect to remotely via remote database connector. I want to periodically check for updates to database every so often even while app is not running (in background) what would be the best way to accomplish this. And can anyone refer me to library or tutorial?
i have a database i connect to remotely via remote database connector. I want to periodically check for updates to database every so often even while app is not running (in background) what would be the best way to accomplish this. And can anyone refer me to library or tutorial?
RandomCoder Well-Known Member Licensed User Longtime User Sep 15, 2015 #2 You need to create a Service to do the necessary check and then use StartServiceAt. https://www.b4x.com/android/forum/pages/results/?query=Startserviceat&page=1&prefix=0 Upvote 0
You need to create a Service to do the necessary check and then use StartServiceAt. https://www.b4x.com/android/forum/pages/results/?query=Startserviceat&page=1&prefix=0
A Anser Well-Known Member Licensed User Longtime User Sep 16, 2015 #3 I am also looking for a sample/Tutorial that make use of a Service Module to do database activities. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 17, 2015 #4 Go over the services tutorial. There is nothing really special with services. Upvote 0