Activating GPS when launching wired Android Auto

kitoshizc

New member
Hi experts,

I'm writing to seek some help here. Whenever I launch my wired Android Auto on my HUD, i woud like the GPS to be configured to turn on automatically. Thus I did the following macro.

Application launch (Android Auto, Waze) --> Location Services ON.

However, this did not work. I did remember previously it worked but somehow now it doesn't. I tried on Android 10 and 11 but both gave me same results.

Anyone can advise?

Thanks in advance.
 

FrameXX

Well-known member
MacroDroid needs WRITE_SECURE_SETTINGS permission granted. Try looking into system log what happens when you launch the app.
 

MacroDroidDev

Administrator
Staff member
Also double check that you the accessibility service is enabled for MacroDroid as this is required to detect app launches. You should see in the troubleshooting section if you do not have this enabled.
 

kitoshizc

New member
WhatsApp Image 2021-04-21 at 22.42.37 (1).jpegWhatsApp Image 2021-04-21 at 22.47.36.jpegWhatsApp Image 2021-04-21 at 22.42.37.jpeg

I have enabled the accessibility option but I still cannot get what I require.

Sometimes when the bluetooth and location is off--> I launch Android auto, location will be turned on but sometimes it does not.

Another point - when I turned off wired Android Auto, disconnect cable from my car, location and bluetooth are still not turned off.

I tried to play around here and there but I could not get things to work 100%.

Appreciate any troubleshooting advise.
 

Pseudocyclic

Well-known member
Clean up your macro...

Change If - End if / If - End if to If - Else if - End if.

Delete the Cancel Macro Actions, it serves no purpose there.

Test with a single app in the triggers (eg Maps) - does everything then work reliably?
 
Top