Maps, music, search and more in your vehicle, powered by your Android phone. Voice actions and feedback. Useful local information.
See all
Members (11,043)
Paul Matthews's profile photo
Wayne Piekarski's profile photo
Maru Ahues Bouza's profile photo
Renato Mangini's profile photo
Android Developers's profile photo
Chris Cartland's profile photo
Rich Hyndman's profile photo
Alice Loeffler's profile photo
Khemin Kongchumnian's profile photo
Jose Luis Castro's profile photo
Eric Smith's profile photo
Willian Dolence Ribeiro's profile photo
Cory Clark's profile photo
abhishek jain's profile photo
Josh Chiles's profile photo
Cano Lopez's profile photo
Stefan Kotthoff's profile photo
Roberto Weinberg's profile photo
Manish Thanki's profile photo
Gyuri Grell's profile photo
Ionel-Alin Saicu's profile photo
Erkan Molla's profile photo
Fabian Tamp's profile photo
balaji manohar's profile photo

Stream

Join this community to post or comment
Pinned by moderator

Wayne Piekarski
moderator

Announcements  - 
 
+Ian Lake just released this pro-tip about the release of MediaBrowserServiceCompat in version 23.2 of the Android Support Library. This means you can now use the latest media APIs from Lollipop which are required to support Android Auto playback, while maintaining backwards compatibility with all devices back to API 4 from 2009.

We have a great sample, the Universal Android Music Player (UAMP), which was designed to show best practices of the Lollipop media APIs across a wide range of platforms (Auto, Wear, TV, Cast). This sample has also been updated to use the new Compat implementations, so you can use this code as a guide, or as a starting point for your next amazing app!

Read the blog post https://goo.gl/e8udCG for more details on this new feature, and check out the sample code: https://github.com/googlesamples/android-UniversalMusicPlayer

With these additions to the Android Support Library, now is a great time to update your app to add Android Auto support if you have not done it already, while maintaining compatibility for your users on legacy devices.
 
MediaBrowserServiceCompat and the modern media playback app
Pro-tip by +Ian Lake

Media playback apps benefit greatly from being tightly integrated into the system and devices such as Android Auto and Android Wear, but these don’t need to one off integrations. Using MediaBrowserServiceCompat you can take advantage of a single communication protocol between your media playback service and your UI, Android Auto, and Android Wear.

Check out our blog post (https://goo.gl/e8udCG) for all the details on how it all works and how you can use it to #BuildBetterApps
A common protocol between your service and your UI, Android Auto, and Android Wear
13
Add a comment...

PJ Walter

Discussion  - 
 
Anyone with Android Auto on the N preview? When my phone is plugged in and connected to Android Auto, the phone screen now displays large home and back on-screen buttons. Because I have my phone set to have the clock daydream when charging, these buttons stay on the screen all the time. It looks hideous and will probably cause screen burn in. Thoughts on if this is a bug or an intended feature?
1
Add a comment...

Robert Nekic

Discussion  - 
 
Recent versions of Auto limited the number of MediaItems displayed "for safety reasons". The latest Auto update changed the message it displays related to this and it now indicates the user can see more items when the car is "parked".

Is there a command for the Desktop Head Unit tool that will toggle parked/not-parked? 
1
Robert Nekic's profile photoWayne Piekarski's profile photo
5 comments
 
All the DHU commands are listed here, and I don't know of any way to simulate if you are parked or not: http://developer.android.com/tools/help/desktop-head-unit.html
Add a comment...

Robert Nekic

Discussion  - 
 
We've been having problems with voice commands since switching our app to MediaBrowserServiceCompat. Voice commands like "Play {title} on {app}" no longer work on Auto or Wear. Speaking directly to the phone still works and launches the app which receives the query term, but Auto simply replies "Not sure how to help with Play {title} on {app}" It correctly repeats the command, why can't it find the app?

The app otherwise works correctly with Auto. Auto sees the app, correctly retrieves MediaItems from the MediaBrowserServiceCompat, and plays content as expected.

This kind of voice command worked OK with non-Compat versions of MediaBrowserService, MediaSession, etc. I've been talking to Developer Support for months about this with no luck. Any thoughts?

I seem to recall the app had to be whitelisted for such commands to work? Is that true? Would switching from non-compat to compat classes require something to be refreshed on Google's side?
1
Ian Lake's profile photoRobert Nekic's profile photo
13 comments
 
+Ian Lake Success! Well...partly. "Play {title} on {app name}" is working again on the DHU. However, it still doesn't work on Wear. I recall that it used to work with Wear but Dev Support tells me it's a planned enhancement not currently supported by Wear. Huh, guess my memory is confused. Wouldn't be the first time.
Add a comment...

Edward Facundo

Announcements  - 
 
Finally, official on Brazil!
Dear developers, sice i shared my problem about not be possible to develope on Andrdoid Auto platform because lack of official support on Brazil.

Now this problem finally over, the app can be found on app store and my country can be part of this amazing plataform too.

Um grande abraço da comunidade brasileira!
2
Edward Facundo's profile photoRodrigo Nobrega's profile photo
3 comments
 
Com certeza !
Abraço
 ·  Translate
Add a comment...

Jonathan Maimon

Discussion  - 
 
Did anyone solve the problem where the DHU says "Waiting for phone..." Every thing else is ready and working, but there's no output on the DHU for Android Auto. Running Android 5.0 on a Sony Experia. On a PC. 
2
Jonathan Maimon's profile photoRobert Nekic's profile photo
5 comments
 
Yes, I've encountered this message a number of times this week with our Nexus 6 although I don't think it's model specific. I think it might be an issue with the latest Android Auto 1.6 update??? If I close the DHU window, Stop and Start the Head Unit Server in the Auto app, and relaunch DHU, I can usually get the DHU to connect properly.

Add a comment...

Paul Woitaschek

Discussion  - 
 
Customize colors and Icons?

I have a media player for which I implemented the new MediaBrowserServiceCompat. That works out of the box. However I want to customize the icons that are shown in the playback screen.
For my application previous and next don't make much sense.
1
Ian Lake's profile photoPaul Woitaschek's profile photo
4 comments
 
Exactly, they don't show up. When I remove skip to next / previous there is just the play button left. Normally I let these actions in and just not support them so stuff like headset skips get detected and used as rewind instead of skips.

I also tried it with ALWAYS_RESERVE_SPACE_FOR.ACTION_FAST_FORWARD but no change.

This is my current implementation:
https://github.com/PaulWoitaschek/MaterialAudiobookPlayer/blob/v2.7/audiobook/src/main/java/de/ph1b/audiobook/playback/BookReaderService.kt#L103
Add a comment...
 
Hello guys,

I need some help help with AA. I'm using LG G3 with Android 6.0 and my AA app is on version 1.5.100945 (2462389-release).

For some reason I have only Google Play Music available on my head unit after connect my phone. I personally use Deezer as music player but I installed Spotify to test as it was available on Play Store as compatible app with AA, but it continues only showing Google Play Music.

Any idea why is not showing other music apps ?
1
Subrat Mohanty's profile photo
 
It should show Spotify on the Head Unit. Please click/double click on the media icon which is available in the footer.
Add a comment...

Antoine Benoit

Discussion  - 
 
After my last posts, just some thoughts on the Android Auto Validation process : (the status labels I give are translated from the French version I seen when I connect to the console)

It seems to me that it is very difficult to see the validation status of an application in the Android Developer Console, because:
- When you submit an app with Android Auto activated, it must go through the validation process, but the console still says right away that its status is "in production", even though it is in fact pending validation.
- The previous version is displayed as "not published", even though it is in fact still in production.
- When the validation fails, the status stays "in production", even though this version is not in production and never will be (since it was rejected).
- Moreover, when the validation fails, the status of the previous version stays "not published", even tough it is in production and is not going to be replaced by the new version (that has been rejected).
- When you submit a new version after one that has been rejected, the rejection message is still displayed even though it doesn't apply to the latest version that was submitted. Therefore, when you connect later to the platform, you have no way of knowing if the new version has been rejected or if the message you see applies to the previous submission.
- The rejection message in the console doesn't give any details about what problems the application has (they are only in the mail notification).

These issues should be fixed quickly in order to let developers know where they are in the validation process.

With the validation process as it is now, I would not recommend to anyone to try making an Android Auto application (and I would not want to go through the process again on another application).

1
Antoine Benoit's profile photoWayne Piekarski's profile photo
6 comments
 
Hi. Sorry I missed your previous message, I just sent you a hangout request to discuss this further.
Add a comment...
 
I am new to this community also a new AA developer. I have one question. For media playback I got a request of FOCUS_GAIN and I respond back as FOCUS_STATE_GAIN. So, when media is playing if there is a navigation alert then there is no FOCUS request from MD like FOCUS_GAIN_TRANSIENT or FOCUS_GAIN_TRANSIENT_MAY_DUCK. So my question is what is the response i need to send to media FOCUS_GAIN request so that i will get either FOCUS_GAIN_TRANSIENT or FOCUS_GAIN_TRANSIENT_MAY_DUCK from MD for Navigation alert. I tried by sending FOCUS_STATE_GAIN, FOCUS_STATE_GAIN_TRANSIENT and FOCUS_STATE_LOSS_TRANSIENT_CAN_DUCK as a response for MEDIA FOCUS_GAIN request but i didn't get FOCUS_GAIN_TRANSIENT or FOCUS_GAIN_TRANSIENT_MAY_DUCK from MD for Navigation alert.
1
Add a comment...

About this community

This is the official community for Android Auto Developers on Google+. Android Auto lets you engage users in new ways while they're in the car. Find out how to get your app ready to hit the road!

Jethro Cramp

Discussion  - 
 
Hello, we have an in-vehicle  product that we want to add Android Auto support for, but we can't find any information either on the Android Auto public web or in the Android Developer documentation of how to add support to our system. Can anyone point me in the right direction of where to start understanding what we have to do.
1
Add a comment...
1 comment

Tom Klancer

Discussion  - 
 
I'm building an auto-oriented audio app, but it seems like a lot of voice commands I would expect to get are not making it into my MediaSession.Callback implementation's onPlayFromSearch() method and are instead routed to Play Music. It seems like anything that has intent extras gets routed to Play, and anything that it can't figure out gets routed to me.
For example (all examples are with my app in front):
- "Play Radiohead" opens Play Music, "Play Radiohead in My App" searches in my app with android.intent.extra.artist = Radiohead and android.intent.extra.title = "in my app"
- "Play the album 'Art Angels' opens Play Music, and "Play the album 'Art Angels' in My App" searches in my app with android.intent.extra.title = "art angels in my app"
- "Play anything anywhere" searches in my app with android.intent.extra.title = "anything anywhere"

It's possible that this was dealt with in the server-side fix to Robert Nekic's issues, but it's also possible it's just me/my phone -- has anyone else encountered this?

https://plus.google.com/+RobertNekic/posts/KKNYp8pp6J2
1
Add a comment...

guilhermeAK9

Discussion  - 
 
Hey guys. I´m looking for a simple and small example, where you have an app that has a String pre-defined, and when you started the Android auto you can select that app, and the string pre-defined is showed on Desktop Head Unit.

Or, which would be better, an example of app where you can tell a word using the voice recognizer and your app "catch it" as a String.

The two app examples that came with SDK are good apps, but has too much code. I would like to have an app with few codes that do something with interation between the mobile device and the Desktop Head Unit.

thanks.
1
guilhermeAK9's profile photoIan Lake's profile photo
5 comments
 
+guilhermeAK9 - there's a number of common Intents [1] that can be triggered via voice such as 'Search for __ on My App', but no general 'say a word and it triggers your app' type functionality is available.

[1] - http://developer.android.com/guide/components/intents-common.html
Add a comment...

João Figueia

Discussion  - 
 
Hi, I'm from Portugal and i wonder if there is any possible way to me to install android auto in my smartphone. 
Thanks.
1
Add a comment...

Colin Lee

Discussion  - 
 
How can I get in touch with someone at Google about the device side of Android Auto? There is no documentation about creating an Android Auto capable device or implementing their spec. Thanks!
1
Rodrigo Nobrega's profile photo
3 comments
 
The question is the automotive sector, when it is open source which is the case of Android, anyone can create the impossible, and with the car a weapon potential requires a degree of security, so many innovations arrive first for computers and mobile phones after a while for automobiles, for the release of Android Auto someone had to take the risk and in the event that someone not allowed stir at its base.
Add a comment...

Travis Vaught

Discussion  - 
 
+Wayne Piekarski Hi, I'm a student at the University of Georgia. I'm working on a group project in which we were tasked with creating an app for Android Auto. I am wondering if it is possible to build an app that integrates Google Maps? I've read that Android Auto only supports Media and Messaging Apps, but is it possible to build a messaging app that would notify drivers of places to visit along their route?

Ideally, users of our app would receive notifications that alert them to possible travel destinations nearby, and then can add the directions to their current trip.

Thanks!
1
Wayne Piekarski's profile photoTravis Vaught's profile photo
2 comments
 
Okay, good to know! Thank you for your time!
Add a comment...

Stuart Lamont

Discussion  - 
 
Hey, I'm struggling getting my app to show up in my car. The app works perfectly on the DHU, but with the same version of the app on the same phone plugged into my car, the app doesn't show in the music list.
Confusingly, the various Android Auto example apps don't show up on my car either.

Do I need to put my car into some sort of debug mode to show apps that aren't downloaded from the Play Store?
For reference my car's a VW Polo 2016 with App Connect so should work.

Any help greatly appreciated! 
1
Wayne Piekarski's profile photoJackson Huang's profile photo
9 comments
 
+Wayne Piekarski Hi, my questions are: Would alpha/beta version be reviewed by play store? If I download alpha/beta version apk, will it show on the car?  The only way to show on the car before real release is be whitelisted ? 
Add a comment...

João Figueia

Discussion  - 
 
Hello guys,  I will start to develop a app for Android Auto and I wonder if it is possible to build a Interface to display in car monitor when the phone is in Android auto mode.

Thanks :)
1
1
Wayne Piekarski's profile photoJoão Figueia's profile photopanneer selvam's profile photo
2 comments
 
+Wayne Piekarski Okey , thanks :)
Add a comment...

Wayne Piekarski
moderator

Announcements  - 
 
If you are looking for a new car, or wondering about which cars currently support Android Auto, the main site has been updated to now include a full list of every vehicle model supported ... check back often for updates because more models are always coming soon. https://www.android.com/auto/
For the road ahead. Android Auto was designed with safety in mind. With a simple and intuitive interface, integrated steering wheel controls, and powerful new voice actions, it's designed to minimize distraction so you can stay focused on the road.
6
john edwards's profile photo
10 comments
 
+Wayne Piekarski I just called Hyundai Customer Service directly and they confirm it is not available at this time for my car. They also cannot say when or if it will become available.
Add a comment...

Luis E. Vega

Discussion  - 
 
Hi!
I'm new with Android Auto development, but not in Android. I have a question. Is possible to make my apps compatible with Android Auto. Example, I have a shopping app (like ebay or Amazon). I searched that only music and messages apps are compatible with Android Auto. Is this true?
Thanks!
1
1
Wayne Piekarski's profile photoLuis E. Vega's profile phototomcat winter's profile photo
4 comments
 
+Wayne Piekarski Thanks. It's a good video.
Add a comment...