My app starts as a service using Start on Boot.
The user may open an interface by clicking on the app icon.
When he/she has finished, I want the interface to close but leave the service running. Currently, the service is destroyed when the interface is closed using the back key.
How do I close the interface but leave the service running?
The user may open an interface by clicking on the app icon.
When he/she has finished, I want the interface to close but leave the service running. Currently, the service is destroyed when the interface is closed using the back key.
How do I close the interface but leave the service running?