Keeping app in foreground

FFMan

Member
Licensed User
Longtime User
I want to write an app that once started can not be removed from foreground running unless the user specifically presses the close button on the app.

I realise this is unusual but i am using the android device (part broken google nexus) just as a front end i/o to another PIC project. The nexus has no sim and i don't want the app to be stalled by a push to background otherwise it will miss collecting data arriving via bluetooth.

Is this possible or against Android design philosophy (or both) ?

thanks
 

rbsoft

Active Member
Licensed User
Longtime User
Check out Erel's Kiosk mode Tutorial.

Another option would be to create a service so that the communication would not be interrupted.

Rolf
 
Top