An Introduction to
Android Auto
Thomas Krüger
Android Developer
Overview
● Intro
● Dev Stuff
● Future
● Currently:
o working for
o Freelancer
o Android Developer since 2008
o ~30 shipped apps
#whoami - thkru
What is android Auto?
Apps & features
What do I need?
...so I have to buy a new car?!
Open Automotive Alliance
Dev stuff - the App
SDK Manager
Android_SDK/extras/google/simulators
Message- & Audio-Simulator APK
Dev stuff - simulator
/res/xml/automotive_app_desc.xml
manifest.xml
Dev stuff - your App
● Messaging
○ uses support v4 lib
○ voice control interface
○ read / compose / notify messages
● Audio
○ plays your music
○ browse musicdata
Dev stuff - APIs
Dev stuff - Messaging
read message reply message
● predective
● intuitive
● minimize distraction
● day & night mode
● contrasts & clearness
Design
see:
http://developer.android.com/design/auto/index.html
day
night
● Test before release:
○ auto simulator
○ alpha/beta channel
○ checklist
Quality criteria
see:
http://developer.android.com/distribute/essentials/quality/auto.html
Future perspective
● car infos
● connected cars
● companion apps
● safety
● infotainment
● ecology
Conclusion
● Android Auto
o extends Android Platform
o only few cars & apps out yet
o aftermarket devices
o app+cable+car
● Dev
o 2 LoC, 2 APIs atm
o design!
o quality criteria
Start with Auto - Today!
find me on
Thomas Krüger
available @

Intro to android auto

Editor's Notes

  • #2 lets get started… so before I start, I want u to imagine one situation: You are in your car… driving… (obviously) And your phone rings…most people dont have handsfree kit for their smartphone… so it’s still ringing… even then… you can’t text a short message… to ask what’s up so… that’s a pretty bad sitation for all of us… and it’s only one out of hundreds… but things are going to change with AA! And in this presentation I tell you HOW it does that and HOW you can be PART of it!
  • #3 I’m not a big man of agenda’s …. so here’s mine 1st - Intro - what excactly is AndroidAuto? And where do I start? 2nd - Dev Stuff- lets get some code... we ARE developers, right? 3rd - Future perspective - about usecases, potentials, scenarios in AA === just some infos about me beforehand:
  • #4 currently at groupon anddev since first sdk … and I love cars & android aaaaaaand as I’m working for groupon:
  • #5 yeah G is awesome and so on currently looking for skilled engineers great company & great job - come n talk 2 me
  • #6 Different Car Systems from EACH&EVERY manufacturer And they DONT really support my smartphone the way I want it! <s> Typing in adresses, Numbers, copying my music to it… that’s not smart… We all are having smartphones with us… all day long… so why not use that? But I’ll tell u what - ...things are going to change... === ...let me tell u a story
  • #7 ...a long long time ago… (so long we probably can’t remember) when Blackberries and Featurephone dominated the world... ...Google bought a company called “Android”…
  • #8 ...and they gave us phones… SMARTphones… with a brand new OperationSystem… called Android ...and so… everyone was pretty happy about that… enjoying their new phones...
  • #9 ...and later… they brought us tablets... ...and even more people got happy...
  • #10 ...and I mean... U KNOW what happened then... ...setup boxes, notebooks, TVs, Wearables… ...and then finally… after YEARS...
  • #11 Android got hit by a car! ...litterally! ;D J/K
  • #12 What is AA - not dressed as X AA extends - no new P Use all Apps & Features u know & love
  • #13  AA in more n more cars in future not exlusively, appleCarPlay currently some apps are out (pic), that have been “extended” for AA ...so that’s one more reason to start developing for it ;D
  • #14 What do I need? -> 3 things -> LollipopPhone+App, Cable, Car Everything runs on phone Smart clue: it’s YOUR music / notifications / data / contacts, YOUR PHONE Just Logo, Processing
  • #15 AA - new car? <s> No - Upgrade Aftermarket, Pioneer 700 - 1.5k Installed on every car - for AA Experience
  • #16 Currently 2015 Hyundai Sonata, more to come (VW at end 2015) AA next big thing consists of several car manufacturers and technology partners… They’ll back up google to ensure the success and spread of AA!
  • #17 it’s as easy as developing for favourite Smartphone OS ;D … Same platform U already develop for, Same Apk u use for publishing your existing app To ready phone - install app - to USE AA in your CAR
  • #19 Under the hood? Only two lines, roughly… plus layouts/assets
  • #20 Messaging: BroadcastReceiver/Intents for receiving/sending messages Strongly relies on voice control, to NOT distract the driver’s attention in any way implement a MediaBrowserService build your content hierarchy with MediaBrowser MediaSession for the control
  • #21 just a peek to the messaging API (its not the complete example!) start with importing the v4 support lib in build.gradle declaring the receivers in your manifest and (as an example) sending these 2 intents for reading/replying to a message
  • #22 Design matters in AA no distraction at all <click>
  • #23 25% of Accidents Check apk before release, SAME apk <click> several criteria your app has to meet 10s Launch, Visual Contrast, Six Steps Mail when reject +reason -> whole release reject
  • #24 CI: wheelspeed, oil pressure/temperature, tire pressure CC: waze-> crowdsourcing navigation C: check car status from remote S: park sensors, maintenance intervalls E: Gamification, Eco+Safe
  • #25 Future perspective - many possibilities! As I said: we all SHOULD be a part of that! Chance of changing how people use their cars! So as u now know what it takes to start with Auto: I want you to get out there - <click> and start with coding
  • #26 Today! <name> Thank you!