Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android auto application developemnt

I want to develop a android auto app.

I have installed android auto apk on my lollipop device and started desktop unit but on mobile screen after some steps and connecting the app to desktop head unit...only android auto is displaying on android device and desktop head unit on desktop showing *waiting for phone.

How can I proceed to understand the prospect of desktop head unit android auto apk.

steps i used while connecting 1. adb forward tcp:5277 tcp:5277 2. ./desktop-head-unit [Desktop head unit

Android device apk

like image 212
Vivek Tripathi Avatar asked Nov 07 '15 06:11

Vivek Tripathi


1 Answers

There's a missing step in the Android docs.

After enabling dev mode within Android Auto app, in the options menu in the top right corner (the same menu where you can turn on the head unit server), there's another option for "Developer Settings". Go there and then select "Application Mode" > Developer. This allowed ADB to successfully connect to my device by running adb forward tcp:5277 tcp:5277 and then executing ./desktop-head-unit (on mac osx)

like image 104
zuko Avatar answered Oct 14 '22 04:10

zuko