Send Commands to Android Auto from Phone - Android Auto General

Does anyone know if it is possible to send a command to the Android Auto inteface?
For instance. "Play"
Right now if you play music on the phone after connecting to android auto for instance using Tasker, the music will play but the Android Auto interface doesn't pick up that music has started playing. It will notice if you manually click on the Music button at the bottom but until then it has no idea that music started playing.
So. No song info on the main screen. All headunit control buttons don't work.

The Android Auto protocol allows a Headunit to send a Play command and that tends to be triggered by a physical Play button on the HU.
But you still need an Android Auto compatible audio app to actually DO something with a received Play command.
Google COULD choose to allow any normal audio app to work under Android Auto, but they choose not to, IMO because it increases competition for Google's Play Music app.
I think that a third party Android Auto compatible app could act as a "middle-man" between a non AA app and AA. But I'm sure such an app would never be allowed on Play, so there's not much incentive for professional devs to build one. I've considered it, but I'm busy enough.

Related

Android Auto - no sound from google play music

Hey
So I took delivery of my new Vauxhall Crossland X with Android Auto yesterday. Its great to have a headunit that will work with android auto. However I have a very annoying issue.
Nav, calls and spotify work without issue. However I have recently switched to google play music. Now the app opens and when you press play the track starts progressing and you can see the time line moving, however no sound is coming through.
If I change to spotify it works without issue and I can listen to music, albeit in a lesser sound quality (in my opinion) .
Has anyone else found a fix for this issue?
Appreciate your help.
Best wishes
Andy
AFAIK there's sadly no solution for this yet. I can't post links yet because I'm haven't posted much yet, but if you google for "Play music not working on android auto" you'll find a thread in the Google product forums.
Seems to be a Huawei specific problem...
It most certainly is a Huawei issue for which they have no answer. My issue isn't with Android Auto but the Google play music app is glitchy on my car stereo. The album art is from the first song that played the first time I connected the phone to my car and it hasn't changed since. The native music app and spotify have no such issue. I think it has to do with the lack of integration. The play music app's colour should match the album art in the drop down (since Oreo 8.0) but it's just a big orange box. There's definitely something wrong with Huawei's play music.
Sent from my Samsung SM-G965W using XDA Labs
mrnovanova said:
It most certainly is a Huawei issue for which they have no answer. My issue isn't with Android Auto but the Google play music app is glitchy on my car stereo. The album art is from the first song that played the first time I connected the phone to my car and it hasn't changed since. The native music app and spotify have no such issue. I think it has to do with the lack of integration. The play music app's colour should match the album art in the drop down (since Oreo 8.0) but it's just a big orange box. There's definitely something wrong with Huawei's play music. [/QUOTE.
Installing equalizer from Play store (equalizer by Smart Android apps) make sure eq is ON, and stays on, skip to next song and now Android Auto works.
But first:
Remove and clear data from Android Auto, reboot
Clear all Bluetooth devices from car, and under system in your car remove Android Play devices.
Clean fresh set-up.
Click to expand...
Click to collapse
Installing equalizer from Play store (equalizer by Smart Android apps) make sure eq is ON, and stays on, skip to next song and now Android Auto works.
But first:
Remove and clear data from Android Auto, reboot
Clear all Bluetooth devices from car, and under system in your car remove Android Play devices.
Click to expand...
Click to collapse
Wow, this finally seemed to fix it. I installed the app and reset the Android Auto settings and it's now working again. Thanks a lot!
I gave up before seeing this last post - I sold my p20 pro and bought a pixel 2 xl - have to say it worked straight away and the sound quality on android auto is better too. Gutted Ive lost the p20 pro camera as that was amazing but its nice to have a clean stock phone again. Lets hope the pixel 3 xl has the 3 camera setup that my p20 pro had.
Do I have to leave equaliser on permanently or just for the initial reset of android auto?
Bruffell06 said:
Do I have to leave equaliser on permanently or just for the initial reset of android auto?
Click to expand...
Click to collapse
EQ option turns on automatically everytime I open Google music
Same issue with Oneplus 6 and Vivo V9. Apart from plethora of issues this issue is the most annoying.
Other issues- Music stops playing and then suddenly resume from beginning of song, Blank screen, no voice control(it used to work before), Whatapps messages are not read(used to work before)
When you try and send a message through voice does it go "uh, something went wrong"?

Adding mirrorlink support?

I have an OP 6T with android auto but not mirrorlink, my car audio has both.
I didn't like android auto because it can't call on whatsapp or play audio messages as well as it can't play my music by folder.
As some rare roms like Omnirom add mirrorlink support, it looks purely software, meaning we can install it in any android rom.
So any one knows how Omnirom added mirrorlink to add it in other roms?
Do you mean play local music? If you want to do it through android auto, PowerAmp works in Android Auto.
Also, in your Android Auto settings, turn off "Lock phone while driving" and you can play anything you want through Android Auto.
Krunk_Kracker said:
Do you mean play local music? If you want to do it through android auto, PowerAmp works in Android Auto.
Also, in your Android Auto settings, turn off "Lock phone while driving" and you can play anything you want through Android Auto.
Click to expand...
Click to collapse
Thanks
I forgot about poweramp, didnt know it was compatible.
Tried it and it rocks!
At last I can browse per folder.
Another bonus is that I can boost volume in my car, dunno why android auto is too quiet out of the box, tried v4a and dolby but none worked with AA, only poweramp

Disable "Voice Search while driving" limitation

So every time I want to load some playlist or folder through my AA music player (Cloudplayer), after 3-4 taps I get this message and I can't do anything other than actually stop the car (not always possible or advisable anyway) for it to receive commands. Voice search within the music player is clearly not working (it can't browse folders or playlists) so it makes the whole experience of using my phone for music streaming super annoying, especially on longer journeys.
Are there any ways to bypass this on a non-rootable phone (P20 Pro)? I mean thanks Google for thinking about safety but I need to do more screen tapping to set the aircon how I want it or browse trip details than I am allowed to tap on the AA app...
I don't have the phone you have, but have a Pioneer unit running Android Auto, and for me the lockout was part of the reason why I decided to stop using AA.
As far as I know with Android Auto, your request is not possible.
Your only option is to just not use AA and use something else.
In my case, I've just ordered a different headunit. But you may get away with just using different apps on your phone and avoid AA altogether.

Alternatives to Android Auto?

As far as I understand it, AA requires installation of several additional Google services on my phone. When I installed LOS on my Nexus 6, I did this to avoid all these Google services and apps. So I am looking for an alternative to AA, that enables me to use some of my apps on my car's entertainment screen, but without having to install these Google apps. Basically, what I would like the most, is a way to change between different audio streaming apps, e.g. change from the podcast player to the music player, without the need to fiddle on the phone's screen. My car's entertainment system is capable of receiving audio streams from my phone via bluetooth, and I can simply switch to that mode by switching from "radio" to "media". But that will, of course, always start the app that was used before. When I want to stop listening to music and start a podcast instead, I still need to use the phone.
Is there any chance of achieving what I want without all the supplementary and unwanted Google apps?
I'm wondering the same thing, I really like the idea of Android Auto, but despise how deeply integrated into the Google frameworks it is.
I know it would likely be a tremendous amount of work, but it would be awesome to have something like Micro G for Android Auto that is completely de-googled and lets us use alternate voice command frameworks in addition to the features you already mentioned.
The major reason as to why Google gave birth to its Android Auto service was the fact that it made navigation easier and much safer. The native Android Auto app for your cars and your phone has big, bold icons and elements to view without squinting your eyes while driving.
1. Drivemode: Safe Driving
2. Waze
3. HERE WeGo
4. Car Dashdroid
5. Dashlinq – Car Dashboard Launcher
6. AutoMate Car Dashboard
7. Microsoft Cortana
Cogereinfotech said:
The major reason as to why Google gave birth to its Android Auto service was the fact that it made navigation easier and much safer. The native Android Auto app for your cars and your phone has big, bold icons and elements to view without squinting your eyes while driving.
1. Drivemode: Safe Driving
2. Waze
3. HERE WeGo
4. Car Dashdroid
5. Dashlinq – Car Dashboard Launcher
6. AutoMate Car Dashboard
7. Microsoft Cortana
Click to expand...
Click to collapse
I think you may have misunderstood the point of this thread. Those other apps may provide a driving friendly interface on the phone display itself, but DO NOT link with Android Auto compatible head units found in most cars without going through Google's proprietary Android Auto app.
I'm interested in a non-Google app (maybe something like Micro G or even a modded version like YouTube Vanced) that emulates the Android Auto server so it can interact with Android Auto compatible car head units without requiring the Google framework or Gapps to be installed.

Developing an Android Auto alternative that doesn't depend on play services?

Is it possible to create an app or something for a custom rom which can display on a cars Android auto head unit without depending on google services?
I guess no. There are a lot of permissions and functions provided through Google Play Services (like exact GPS position...).
You can easily create an app for music control video playback and even map navigation without the need for Google Play Services.
The main problem is, developers should need to reverse-engineer the Android Auto communication protocol between the phone and the headunit, and then build the video and audio streaming on top of that. This is hard and slow effort, with a constant risk of it being sued to oblivion by Google.
In this case you're better using an Android-based headunit and a headunit launcher with map support, something like AutoMate.

Categories

Resources