There are two ways for your app to notify the user while the app is in the background: push notifications and local (or scheduled) notifications. This tutorial explains how to create local notifications. Local notifications are simple to use but are also quite limited. While your app is running...
www.b4x.com