Wednesday, January 21, 2015

How to Run a B4A App in the Background?

Android handles applications differently than Windows.
Once your activity is not in the foreground, it is paused and cannot execute any code.
See this tutorial: http://www.basic4ppc.com/forum/basi...87-android-process-activities-life-cycle.html

Services are used instead of activities to handle tasks while the application is in the background. Basic4android doesn't support services yet. The Services concept is pretty complicated. Much more than creating an activity.
I believe that support for services will be available soon.
 
Click HERE for full details...

No comments:

Post a Comment