I am building an immersion app for driving that should not display anything on screen and run in the background until the driver reaches some specific location marker. Once at or near this location, based on GPS position, the screen should wake up, and display something relevant to that location. This seems straightforward, but I have not found any solutions to do so that make sense to me. Getting and comparing GPS info is not a problem, but how do you wake up the screen based on some event, or a change of something, or something you have programmatically defined?
Would this be something I should handle with Mirror API instead to push notifications to the timeline?
The reason I am using an immersion is due to the fact that I do not want the driver to be able to multitask, as would a live card allow. Instead, he/she should start the app, and it will take over the rest (pushing notifications to the display). These notifications are free to disappear after several seconds or whenever Glass feels like going back to "sleep."
Any ideas on this matter would be greatly appreciated. I have read stuff about wake lock, but am not sure if that pertains to what I am doing. Thanks in advance.