yashsingh1/xdaforums huggingface dataset:
[Android Auto General] martoreto:
Good, have a look in logcat (or just send me the Android bugreport as usual) after this happens. I'm pretty sure this "throws me back to the main AA screen" is caused by some exception logged in logcat.

This makes some sense. DHU does not implement any vendor channel functionality, so in this case aauto-vex-vag does not have anything to do at all. Unfortunately, testing vendor channel is possible only in a real car.

As to the "cannot install aastats when aauto-vex-vag is installed", I see the reason. It's because both define the com.github.martoreto.aauto.vex.BIND_CAR_STATS_PROVIDER and this is only allowed if both .apks are signed with the same key. That's why it worked for me. I'll change this so rather all packages use the already defined CAR_VENDOR_EXTENSION permission instead of defining its own. Stay tuned.
[Android Auto General] martoreto:
Please try with aauto-vex-vag-2.1.apk:

https://github.com/martoreto/aauto-vex-vag/releases/tag/v2.1

and aastats compiled from updated repo.

Uninstall both old ones before installing any of these new versions and then open "AA Stats Settings" to grant required permissions.
[Android Auto General] Chillout:
Thanks! After the Xmas dinner I will have a go. Totally appreciate your effort! Thanks :)
[Android Auto General] ktwo:
Added another app to my repo: https://github.com/nerone-github/WebViewAuto :)

It still needs work, much to improve, but shows that a lot is possible. Even youtube is working ;)

[IMG="web"]https://raw.githubusercontent.com/nerone-github/WebViewAuto/master/images/browser4.png[/IMG]

But please don't browse while driving ;)
[Android Auto General] ahhl:
wow

you are great. keep going

I'm using android auto with Wade and sportify. sometimes when I fast scrolling for channel or address, a toast will appear saying you are driving, and freezes the scrolling.

i am not that comes from AA or the car system.
[Android Auto General] tomiga:
This is interesting.

What I'm curious about is, would it theoretically be possible to have an unofficial "Android Auto" app, that can basically implement the same functionality and work on head units supporting AA?
[Android Auto General] ahhl:
tested it. need pop-up keyboard to type in the search box
[Android Auto General] ktwo:
Sorry i did not understand this ;) Did you mean launch regular android apps? Thats not possible i guess

AA blocks too many input to avoid driver distraction - which is kinda hilarious, because what will a frustrated driver do? Right.. unplug the phone and control it from there, and get distracted even more

Right now you have to select the keyboard from the top bar
[Android Auto General] jinpachi:
Is it possible to use alternate navigation apps on AA somehow after the progress made with the custom apps on Android auto?
[Android Auto General] ktwo:
In theory - probably yes. But no serious company will do this, as this is not supported by Google, and probably Apps will be kicked out of the playstore ;)
[Android Auto General] thekirankumar:
YoutubeAuto app

Have put together a quick app and a demo video to load YouTube webview along with keyboard entry and sending url from phone feature.

Thanks for the SDK.

Here the demo youtu.be/XGySHKiTn4o
[Android Auto General] ahhl:
the what I have on my car hu. keyboard cannot scroll, no keyboard icon except bars, and cannot differentiate the selection color.

also cannot scroll to twitter icon

why not use the one line keyboard like waze/gmap

my car without touch screen, a bit painful to scroll .
[Android Auto General] ktwo:
What car and phone (android version) are you using? This is strange, it seems that icons are missing. So that's something which needs to be fixed, but as said its in development, not stable state. Also it is not possible to use stuff that gmaps uses because that is closed-source and to use this, we would need an api for that. But if you have an idea about how to improve the keyboard feel free to commit a pull request
[Android Auto General] ahhl:
merz gla, android 6.

---------- Post added at 11:30 PM ---------- Previous post was at 11:28 PM ----------

cannot install your youtube auto. conflicting with youtube?
[Android Auto General] martoreto:
It's theoretically possible to create an app which displays whatever, gets touch input, streams audio etc. to/from an AA-compatible head unit.

It would be an app similar to https://github.com/borconi/headunit, but acting on the other side of the connection.

It would be a system app (like Play Services are) to be really useful (redirecting audio etc.), but otherwise a standard Android app.
[Android Auto General] thekirankumar:
What's the error you are getting ? Is it when you are installing the apk ?
[Android Auto General] jinpachi:
I guess what I should have asked was if something similar to ngxplay can be done where these apps are mirrored unofficially.
[Android Auto General] thekirankumar:
please try redownloading now. I uploaded a new build.
[Android Auto General] martoreto:
Dear all,

it is a good moment to say my final word specifically about the kind of apps

which allow playing videos on the head unit.

I think these don't need much comment:

It's ok to have a movie together on a great trip in middle of nowhere, when stopped.

It's not ok to watch a movie while driving. It doesn't need any comment.

It's totally ok for the passenger to watch a movie on his/her own device.

It's not ok for a passenger to watch a movie on a display in front of the driver.

It's ok to show off how a wonderful head unit I have which can play YT, but not while driving.

It's not ok to watch a movie while driving just to do a forbidden thing.

There's no "it's ok" scenario here for playing movies while in motion. Please share if you

know some. I'm pretty sure these are very uncommon or borderline ok.

Those "it's not ok" may be tempting. Because the driver may be bored, pissed off,

deny the danger of driving distracted, willing to show off, overestimate his/her skills,

name your reason.

Words displayed in the dash or written on a website or anywhere else would rarely

prevent it.

It's not that if movies are not possible in these cases, the driver will definitely do

something else stupid, like playing the video on the phone itself or become even more

angry and aggressive on road.

I want to say that clearly: I believe no apps should allow playing videos on the

car display while the car is in motion. Period.

I ask all here to not write such apps and not promote and talk about them here.

Instead of supporting those who create these apps just to satisfy popular demand of

doing a forbidden thing, please support those who actually care about creatively

and carefully designing the apps to be useful and which assertively, yet nicely

prevent being used in a stupid way.

Regards,

martoreto
[Android Auto General] :
You know how many car use android (not android auto) systems which can play anything while driving?

Its a known story, a knife can kill, but it can also save, or you can use it to cook. You can't forbidden a knife just because 1 in a million will kill.

Most people have the brain not to look to the system while driving. The other passengers can use it.
[Android Auto General] martoreto:
Nice, good analogy.

Sure, that's why I published the SDK at all, knowing that it's like this knife.

If it was technically feasible for knives to be not allowed to kill people, it would be an universal law, I suppose.

It is technically feasible to not allow video in motion. There is a special API in the SDK for determining if the car is in motion.

And because I don't have doubt in "It's not ok for a passenger to watch a movie on a display in front of the driver.", I don't see a good reason to have this option.
[Android Auto General] ahhl:
i look at waze while driving too.

searching for radio station.

incoming message which allows by AA

listening to music video. why not.

not movies, of course not (which requires you permanently staring at the screen)
[Android Auto General] ahhl:
successfully installed and tested on my car. i launch YTA directly from car head unit AA, not following your steps.

few comments

1. i lost control my car volume. but when I switch back to car radio, the volume control work.

2. can only scroll within the list, cannot move to top header

3. there's big search box blocking the header

4. one line keyboard appear but there is no enter button.

5. my car is non touch screen. pls make one for non touch screen

6. youtube works when the car on the move.

7. can find way to make full screen.

https://youtu.be/-Y55UiHAIOM
[Android Auto General] ktwo:
About the "safety" issue. I think that some intelligence of people can be expected. And as it was said, it is possible to watch DVDs in quite a lot cars in it's factory state. Ultimately a person who really wants to do it could just attach a mount for a Tablet and watch a video there. I think all this "watch a video in the car" stuff will probably not be abused, maybe to show a short clip to a friend at a parking lot.. Anyone who is stupid enough to watch a full clip while driving and does not watch the road is basically a contender for the darwin award. A simple warning / reminder should be enough. Then everyone should judge their skills accordingly and decide for him/herself what to do and what not.

I found myself too often in a situation where i got a Whatsapp message, wanted to respond, but the stupid google voice input did not understand a single word.. So i ended up disconnecting the phone, and writing it by hand.. Or looking up something important on the phone while driving..

These days every company tends to incapacitate people by telling them what to do and what not to do. Do we really want to go on like this? Especially Android Auto does not make things safer by locking SO MANY things. Hell we can't even browse a 20-track playlist. Any normal person would then fallback to using the stock car infotainment which is often FAR less intuitive to use and might even lead to more distraction - or even unplug the phone, and use it with their hands. Btw - Apple does not block browsing as well.

There is a discussion about that here: https://productforums.google.com/forum/#!topic/android-auto/EP2qxj9XjgY

Also i'd like to make the usage of the apps i wrote and posted safer, but it can't all be done at once. I have published the whole sourcecode into the repo, so anyone who thinks to have a solution to improve usage, without defeating the whole purpose of apps is free to do a PR.
[Android Auto General] ahhl:
sorry, i disagree, writing messages is no no while driving.
[Android Auto General] martoreto:
Hi all,

time for a technical post.

I'd like to gather some more info about capabilities of various cars/head units and software versions,

to learn which cars allow access to interesting statistics or may let controlling media/AC/something else.

Please do the following simple procedure on any Android Auto-capable cars you may have around. :)

Install attached aa-ll-info-1.0.apk

Go to your car, switch on ignition (no need to turn on the engine) and infotainment.

Unlock screen of your phone.

Connect phone by USB to the car.

Email me the info, as shown:

If the first screen does not appear automatically, try to manually attempt connecting Android Auto in the head unit. Afterwards, in some cars you need to quite quickly select "AA Low-level Info" on the phone.

Thanks,

martoreto
[Android Auto General] ahhl:
sorry i am a bit dumb reading instruction [emoji16]

i believe you want us to disable auto lunch AA?

then launch your app? then only launch AA?

am i right?
[Android Auto General] martoreto:
No need to disable auto launch.

When my app is installed and you plug the USB, the phone will ask what app to use.

Choose my app.

Try doing the instructions exactly from 1 to 5, without any additional steps, and let me know if this does not work.

Thanks for help. :)
[Android Auto General] sekino:
I sent you info from my Opel Insignia 2018 - intellilink.
[Android Auto General] ahhl:
sorry, forgot to email can you download here

https://1drv.ms/t/s!Atv0c0e37s8YpWTyPKyU5G8INzwY

its txt file. nothing much there
[Android Auto General] martoreto:
That's a result, too, that the connection could not be finally established with my app.

What car model and infotainment version is this?

If you are at your car again, you may try selecting "Always" instead of "Just once" and try a couple times.

Maybe the car just does not wait long enough for the connection.

After selecting "Always" you will have to uninstall my app to be able to use Android Auto again.
[Android Auto General] Jackos:
Hyundai i30 2017 info sent ;)

Thanks for developing the SDK.
[Android Auto General] ahhl:
done. i plug un plug multiple time suddenly it works. it in your email. mercedes gla200 2018 audio20 ntg5
[Android Auto General] sekino:
BACK BUTTON will be appreciated :good:
[Android Auto General] datrix:
and also a bookmark list :D
[Android Auto General] ktwo:
You can add bookmarks via the regular activity in the launcher ;)
[Android Auto General] sekino:
How?
[Android Auto General] Jackos:
Download the lastest version from github and start the application from the Launcher.
[Android Auto General] alexey.vasilyev:
tinyCam Monitor PRO uses unofficial AA SDK to show IP cameras video stream on Android Auto head unit.

https://plus.google.com/u/0/116818390313397542132/posts/9zWYwd35qGX

Typical use cases:

1. Watch your IP cameras while you are in traffic jam.

2. If you have WiFi in the car, you can use a cheap IP camera as a rear view camera. Please note that there might be a video delay for a fraction of second - enough to crash your car.
[Android Auto General] ktwo:
Hi, is it closed source? I think especially since the SDK is not official and monetizing is not really an option, since displaying ads on car screens is BAD, we should share all our source, to build better apps.

[MENTION=535343]all[/MENTION] : Please create Github Repos for your apps, we can improve our own apps by analyzing codes of others. At least if the apps do not contain proprietary code which is not allowed to be shared..
[Android Auto General] alexey.vasilyev:
Closed source. This is PRO version which costs 3.99$ on Google Play and you need to sideload it. No ads there.

After some time PRO version will say that it is not licensed. If you need free PROMO code, just send me PM.
[Android Auto General] ktwo:
Currently working on an Audio Player App without the annoying "browsing blocked" message ;)

Anyone wants to help? I'm looking for a way to listen to the Steering wheel "track forward" and "track backward" presses. Anyone an idea how to do that?

When it's done ( well at least usable) i will create a new Github repo for it
[Android Auto General] Emil Borconi:
Most cars will forward the following inputs to the phone:

keycodes=[5,84,85,87,88,126,127,209,65537,65538,65540,]

Just listen for the keykodes, but as you notice key code 89 and 90 is not in the list (rewind and FF) so that won't be possible, you might want to try to add a timer to the 87 and 88 and detect a long press to simulate FF and prev. But I'm not sure how car are actually sending over the long press it might be different from unit to unit.
[Android Auto General] ktwo:
Hm sorry but i don't get that Which api should i use to capture them in AndroidAuto Activity? I think this is different from regular Bluetooth keycodes :/
[Android Auto General] ahhl:
creating mirrorlink, is it possible?
[Android Auto General] ktwo:
I don't care about mirrorlink since my phone does not have it. I want it in "pure" Android Auto
[Android Auto General] ktwo:
Check it out here: https://github.com/nerone-github/UnleashedAudioPlayer

The problem i'm having is that the steering wheel seems to control GooglePlay Music, when OEM Tab is selected. Is there a way to avoid that? :/
[Android Auto General] iifuzz:
Plex please!
[Android Auto General] Tiemichael:
Looks interesting!

Any chance you can provide the apk?

Thanks!
[Android Auto General] ktwo:
I have now checked in an APK, but i want also to encourage users with some android knowledge to build themselves, and create pull requests, so the APK will not be always instantly updated to the latest source code
[Android Auto General] cbolumar:
Thank,s ktwo , your work is amazing.

Testing unleasheadaudioplayer i have a problem:

Is not posible to use albums without cover art because you are using the cover art like button . Maybe you can put a cover art by default to avoid that problem.

Regards
[Android Auto General] Tiemichael:
Thank you! Will try tomorrow morning!
[Android Auto General] cbolumar:
Sorry , i saw you are using mobile/src/main/assets/img/nocover.png like nocover default, i must rebuild my apk .:o
[Android Auto General] ktwo:
I've updated the apk now again ;) - yea so now it should work..
[Android Auto General] cbolumar:
Yes , is working now , thank´s :)
[Android Auto General] Tiemichael:
Thank you - it's working fine!

As an idea for improvement: maybe you could add some dedicated scrolling area / buttons on the left side of the panel. Scrolling by touching the 'albums' quite often selects the album.
[Android Auto General] ktwo:
You can already use the most left and most-right area to scroll, i just didn't want to clutter the UI with some kind of scrollbar.
[Android Auto General] martoreto:
I think this one:

https://developer.android.com/training/keyboard-input/commands.html

CarActivity has onKey* methods.
[Android Auto General] martoreto:
Thanks to all who submitted the data.

If you haven't yet, please do, I'm accepting submissions indefinitely and this may help debugging the SDK and apps.

I got reports for Audi, VW, Seat, Opel, Hyundai, Suzuki and Mercedes. I'd like to share some interesting information gathered.

All VW Group branded cars support low-level access (telemetry, media control, HVAC) via vendor channel

Sadly no other brands do

All cars support the following sensors: SENSOR_TYPE_DRIVING_STATUS, SENSOR_TYPE_NIGHT_DATA, SENSOR_TYPE_CAR_SPEED

All units with navigation support seem to pass GPS data: SENSOR_TYPE_LOCATION and most also SENSOR_TYPE_GPS. I suppose Android Auto automatically feeds this data to Android location providers, so that nothing special must developers do to use it.

For various cars the following keycodes are listed (which does not imply they work):

"keycodesSupported": [1, 2, 3, 4, 5, 6, 19, 20, 21, 22, 23, 84, 85, 87, 88, 126, 127, 65536, 65537, 65538, 65540],
"keycodesSupported": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 108, 109, 110, 126, 127, 128, 129, 130, 164, 222, 65535, 65536, 65537, 65538, 65539, 65540],
"keycodesSupported": [5, 84, 85, 87, 88, 126, 127, 209, 65537, 65538, 65540],
"keycodesSupported": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 28, 66, 67, 80, 81, 82, 84, 87, 88, 91, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 65536, 65537, 65538, 65540],
"keycodesSupported": [4, 5, 6, 84, 86, 87, 88, 89, 90, 126, 127, 65537, 65538, 65540],
"keycodesSupported": [3, 4, 5, 6, 19, 20, 21, 22, 23, 82, 84, 85, 87, 88, 91, 126, 127, 209, 65537, 65538, 65539, 65540],
"keycodesSupported": [4, 66, 84, 87, 88, 126, 127, 65536, 65537, 65538, 65540],
"keycodesSupported": [0, 1, 2, 3, 4, 5, 6, 19, 20, 21, 22, 23, 84, 85, 87, 88, 126, 127, 65536, 65537, 65538, 65540],
[Android Auto General] ktwo:
Hey, Nice results :) could you post which car has which array of keys? That would be useful to know.
[Android Auto General] psbankar:
Can someone please post the list of such apps developed using unofficial sdk. It has really increased the capabilities of android auto!!
[Android Auto General] :
Most important apps with download links (from here mostly ) and with photos to this link, posted by me . (its in Greek the description but I think you will see the links)

http://www.opel-club.gr/vbulletin/s...-e-intellilink&p=587593&viewfull=1#post587593
[Android Auto General] ahhl:
martoreto

just a comment

on waze/google map in ntg5/audio20 of merz, the navigation data from waze/google map is pass to command system of merz. the direction or compass will appear on the dashboard display
[Android Auto General] Chillout:
I noticed Ford has an app too, which is only usable on the new Ford GT. It's called Ford Performance. Maybe it could be helpful like the Seat app was.

https://m.apkpure.com/ford-performance-app/com.ford.performance.android.experience
[Android Auto General] 0ren:
[MENTION=8666285]martoreto[/MENTION]

GG !! Amazing work.. :good::good:

Since you already revered engineered Waze, Do you know if is it possible to add Waze search more keyboard languages except English ?

Thanks.
[Android Auto General] ktwo:
It's not a full reverse engineering obviously check out the aauto-sdk repo and try to understand what it does. It basically strips the classes from the apk and bundles them into a re-usable *.aar file. It's not like it would be possible to recompile waze ;) I would ask the waze forum for that.
[Android Auto General] 0ren:
Thanks :)
[Android Auto General] martoreto:
I don't know, as I looked at only a small part of Waze. :)
[Android Auto General] martoreto:
That's a nice finding.

Looking at it, I can confirm that it also uses AA vendor extensions channel, but it's not Exlap inside, probably something based on Protocol Buffers.

Added a note to SDK's README.
[Android Auto General] g.andy:
Sorry is possibile to solved a bug of this your app?

https://github.com/nerone-github/AAutoLauncher/tree/master/apk

The app work but the applications select from the machine display only open on the phone

Inviato dal mio HTC 10 utilizzando Tapatalk
[Android Auto General] ktwo:
Working as intended -> See readme ;)

If you want mirroring see my last answer here:

https://xdaforums.com/android-auto/android-auto-general/youtube-android-t3727270
[Android Auto General] martoreto:
I know of also these:

[APP][5.0+][Alpha] AA Passenger - Stream audio, control nav, show pics

[App][5.1+][Alpha] AnyAutoAudio - Use any audio app in Auto

[APP][5.0+]OBD2 Plugin for Android Auto - Use Torque with AndroidAuto (free version here)

[APP][5.0+][Alpha] TaskerAuto - Run Tasker Tasks from Android Auto

(Not all are using THIS unofficial SDK)
[Android Auto General] ravest:
Any chance of sharing the stats app? I don't know how to compile it by myself, but I would gladly test it on a Skoda.

[MENTION=8666285]martoreto[/MENTION]

I ran the log diagnostic app on a Skoda Octavia 3 my2016 with bolero MIB2 headunit, and the app hang at connecting, while the headunit displayed a message to check the phone.
[Android Auto General] manos78:
Hi [MENTION=1847634]ktwo[/MENTION],

Great App! After using it for some days (when parked my car!), I want to comment these suggestions:

- Please add the option for executing (also) the full APP in the phone screen (more or less that is doing the "Youtube Auto App"). The reason is this: I want to view this page: "https://newsstand.google.com/", and I can't LOGIN on it as the keyboard can't be used for insert the password. I suggest you check this page and try to execute it in your car.

- The second suggestion it's add the option for change the order of the bookmarks. Futhermore, also for change the home bookmark (why set it to DuckDuckGo ?). You agree?

- The third comment it's related to the SCROLL and the WHEEL. The HU in my car has a right selection whell. It can be used with Android Auto for go over lists. This wheel is mapped as regular: right == more; left == less. However, when using it for scroll in your App the "right" is mapped as "scroll up", and "left" to "scroll down". And this is annoying, as the natural scroll is right->down, left->up. Please, can you change this behaviour or include a config option for selecting the order?

Thank you for this App! :good:
[Android Auto General] ktwo:
Hi, i will create github issues for the problems, but i prefer not having to use the phone for anything, i'd rather would improve the actual input on the car view. I did not map anything as for the wheel. On my car it works correctly xD - If you know how to change feel free to post on github how