What is the best way to persistently keep an Android Nearby Connection running in the background over multiple activities in the app?
I did some research about Android Services and IntentService, but I feel that neither is designed to run constantly in the background (e.g. if no data is transferred and the connection is idle).
As all available samples show the use of Nearby Connections in a single Activity, I don't know how to adapt it to a multi-activity application.