Proof of concept using Codename One to notify based on GPS events with the app running in the background.  Only works on Android