USB GPS as a Service

New feature requests for the GPS-Connector app.
Neue Funktionen bzw. Feature Anfragen zur GPS-Connector App.
Antworten
abagos
Beiträge: 2
Registriert: Fr 15. Jan 2021, 14:39

USB GPS as a Service

Beitrag von abagos »

Hello, would it be possible to have the GPS running as a service with the mock location operation so that it can be used without having the application on the screen (to be used by other applications like navigation)? The service must start automatically without any user interaction.
Thank you,
Alex.
Mazuch
Administrator
Beiträge: 10
Registriert: Mi 11. Nov 2020, 17:54
Kontaktdaten:

Re: USB GPS as a Service

Beitrag von Mazuch »

Hi Alex,

the GPS-Connector app already start a background service which is handling the communication to your external antenna.
Just have a look on the status bar of your smartphone - you see the current GNSS status (quality) icon there, even if the app is not visible.
So you must call "menu - exit app" to really stop the app and the background service.
Simply kicking the app out of the recently opened apps list doesn't stop the GPS-Connector.

On Android there is no way to start an app automatically without root access to the phone.
But: If you connect your external antenna via USB cable, the app is started automatically by android.
You will be asked the first time you use your external device ...

Greetz,
Markus
There is no code so big, twisted, or complex that maintenance can't make it worse. (Gerald M. Weinberg)
abagos
Beiträge: 2
Registriert: Fr 15. Jan 2021, 14:39

Re: USB GPS as a Service

Beitrag von abagos »

Hello Markus,
Thank you for your prompt response. I will check again how it works. It is an Android Headunit I have in my car in which the onboard gps failed. I do have root access, so I will try to find the background service in order to start it automatically. In my first try it seemed that it worked only when the application was visible.
Best regards,
Slex.
Mazuch
Administrator
Beiträge: 10
Registriert: Mi 11. Nov 2020, 17:54
Kontaktdaten:

Re: USB GPS as a Service

Beitrag von Mazuch »

App updates:

Since version V1.0.0.18 you can start the app automatically on device reboot. (without re-connect the USB cable)
With the latest release version you can exit the app by action button in the status notification.

Cheers,
Markus
There is no code so big, twisted, or complex that maintenance can't make it worse. (Gerald M. Weinberg)
Antworten