Questions about controlling the GPS location of an Android application

Is it possible to use Android GPS only to be notified when the app is in the background or when the phone is off the screen, such as a tag, when? it reaches a certain radius?