A example implementation of a location based alarm. See https://play.google.com/store/apps/details?id=com.geoffreybuttercrumbs.arewethereyet&hl=en for live project.