-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPS switched off by default #37
Comments
Hey! If you are auto starting the app, have you considered using Tasker to send the intent to start the app in the background instead? https://github.com/freshollie/UsbGps4Droid#service-behaviour I could dedicate some time to adding this function but background start would likely be better for your usecase |
Thanks for the fast reply. I already start the app in the background using the Autostart app. What I want is not to have to go to UsbGps4Droid to switch on GPS but for the app to do that in the background by having the on/off GPS toggle set to on when the app starts up. |
Sure, but you should use an app instead which allows you to send that intent instead as that will actually start the GPS rather than just launch the application. I can add the functionality to start on app open, but I'm currently not focused on this app so I might not get around to this for a while. Can you try using Tasker to send an intent? There is some docs here https://tasker.joaoapps.com/userguide/en/intents.html |
I'll give Tasker a try but I'm not sure how it will go, as these Chinese head units hide android behind their MCU and often cripple basic functions (eg bluetooth), so I would be grateful if you could modify your app when you get time, as it would be a simpler option than adding Tasker (if it works) to start on boot. |
Currently, when app starts up the GPS on/off toggle is set to OFF. Can there be an option so that at startup the toggle is at ON? At present I have this app autostart but I still have to go to it to start up GPS - it would be nice to have this happen automatically in the background.
Thanks for a great little app by the way - only USBGPS app I could get to work reliably on my Android 10 FYT head unit.
The text was updated successfully, but these errors were encountered: