I have a KIOSK service that continues to run and i have use service.startforeground within it's Create.
This seems to do well.
I'm starting Uber from within my application and it takes the foreground. My kiosk keeps ticking away and if the users taps the BACK button, my ION_Event fires just fine and all is well.
If the user touches the HOME or the "running apps" button (whatever it is called), the foreground UBER app goes to background, but the ION_event doesn't fire at all.
Thus, nothing is in foreground but my app is still running in background.
Is there a way to trap within my app, when the Uber app or any other app has one of these keys tapped or when they lose foreground control?
Thanks
Rusty