Android Auto: Never Enough Android

E552215dd726801c644470feae8bb41c?s=47 mscheel
August 03, 2016

Android Auto: Never Enough Android

I gave this talk at Droidcon SF in March 2016, Google Developer Group Las Vegas in June 2016 and at AnDevCon Boston in August 2016, the slides have evolved over time but are mostly the same. This covers Android Auto including motivation for it, retrofitting a car with it, programming for it, as well as some looks at cognitive distraction studies, business implications of in car entertainment and what I have personally found to be good and bad about the Android Auto experience.

E552215dd726801c644470feae8bb41c?s=128

mscheel

August 03, 2016
Tweet

Transcript

  1. NEVER ENOUGH ANDROID: ANDROID AUTO FOR YOUR CAR MARK SCHEEL

  2. •I have a problem •Getting It •Lets get weird •Lets

    get awesome •Lets get distracted •We all love to code
  3. I HAVE A PROBLEM @5280mark

  4. HERMETICALLY SEALED @5280mark

  5. A SOLUTION @5280mark

  6. AMERICANS DRIVE A LOT @5280mark 120 million commuters 50 minutes

    per day per commuter 6 billion every single day Source: SXSW Self Driving Car Talk
  7. ANDROID AUTO @5280mark

  8. COLORADO @5280mark

  9. @5280mark @5280mark @5280mark

  10. @5280mark @5280mark @5280mark

  11. SPEAKER CITY @5280mark

  12. @5280mark SPEAKER CITY ANDROID AUTO COST ▸ Only iPhones in

    store ▸ Bewildered by USB-C ▸ Fancier head unit is capacitive, has onboard GPS and no detachable face plate ▸ The Damage: More than $2000 after taxes
  13. IGTHTSTSOOT @5280mark

  14. THE INSTALLER @5280mark

  15. THE HEAD UNIT @5280mark Pioneer 4100-NEX $700 retail MSRP (8100

    NEX is $1,400)
  16. THE HEAD UNIT @5280mark Pioneer 4100-NEX $700 retail MSRP (8100

    NEX is $1,400)
  17. THE PARTS @5280mark

  18. @5280mark PART LIST ▸ Metra 95-89035 ▸ Scosche NN04B (Wire

    Harness) ▸ Scosche NAA2B (Antenna Adapter) ▸ PAC-SWI-RC (Steering Wheel Control Interface) ▸ PAC USBCBL (USB Extension with Bracket)
  19. THE PARTS @5280mark

  20. @5280mark FINAL COST ▸ Install - $150 instead of $400

    ▸ Parts - $100 instead of $200 ▸ Head Unit $489 instead of $1400 ▸ Total: $739 (Nexus 6P 128GB is $649)
  21. @5280mark THE PROCESS @5280mark

  22. @5280mark @5280mark @5280mark

  23. @5280mark @5280mark @5280mark

  24. @5280mark @5280mark @5280mark

  25. @5280mark @5280mark

  26. @5280mark @5280mark

  27. @5280mark @5280mark @5280mark

  28. @5280mark PRO TIPS ▸ Ask for TWO USB Female ports,

    put the Android one in the arm rest or primary position and put the second one in the glovebox or secondary position, it can be used for Apple CarPlay (beware speaker city!) ▸ Ask for HDMI female port, this is a DVD player after all, and the sound is great! ▸ With a second phone you can use Chromecast in your car (when it is not moving), NETFLIX FTW!
  29. @5280mark @5280mark

  30. @5280mark @5280mark @5280mark

  31. @5280mark YOU CAN GO CHEAPER IF YOU DARE @5280mark

  32. @5280mark FILMING ANDROID AUTO ▸ small tension rod (like shower

    curtain rod) ▸ plumbing clamp (like Olivia Pope used in Scandal to escape prison) ▸ selfie stick you can destroy (all of them) ▸ 1/4” bolt @5280mark
  33. @5280mark FILMING ANDROID AUTO @5280mark

  34. LETS GET WEIRD @5280mark

  35. LETS GET WEIRD @5280mark

  36. @5280mark @5280mark @5280mark

  37. LETS GET WEIRD PLAY [ARTIST] SORT ORDER ▸ Alphabetical, for

    the fail
  38. @5280mark ANDROID AUTO THE USER EXPERIENCE ▸ It is 2016,

    why are we plugging in?
  39. @5280mark ANDROID AUTO THE USER EXPERIENCE ▸ Blown surprises, thanks

    Auto Android! (Google Now Cards) ▸ Play [song or artist] applies to last selected Audio App ▸ Blaring context switches ▸ Start the car after waiting, surprise mandatory power cycle
  40. LETS GET AWESOME @5280mark

  41. @5280mark ANDROID AUTO THE USER EXPERIENCE ▸ “What’s the price

    of a bitcoin?” ▸ Full power of knowledge graph ▸ Great interface to Google Music, Spotify
  42. @5280mark ANDROID AUTO THE USER EXPERIENCE ▸ Podcasts are awesome—I

    use PocketCast, pro tip: searching defaults to most recently used audio app
  43. @5280mark ANDROID AUTO THE USER EXPERIENCE ▸ Messages, replys

  44. @5280mark ANDROID AUTO THE USER EXPERIENCE ▸ Turn by turn

    navigation that mutes FM radio seamlessly ▸ Pinch zoom and panning maps
  45. LETS GET DISTRACTED @5280mark

  46. @5280mark ANDROID AUTO COGNITIVE DISTRACTION IN THE AUTOMOBILE ▸ Six

    clicks rule ▸ The stoplight argument ▸ Auto App Quality ▸ Review Process
  47. @5280mark ANDROID AUTO COGNITIVE DISTRACTION IN THE AUTOMOBILE ▸ “The

    data suggests that a rush to voice-based interactions in the vehicle may have unintended consequences that adversely affect traffic safety.” ▸ “capacity limitations of human attention” ▸ “prior research in aviation technology” ▸ “Even when the participants’ eyes were directed at objects in the driving environment for the same duration they were less likely to remember them if they were talking on a cellular phone”
  48. @5280mark ANDROID AUTO COGNITIVE DISTRACTION IN THE AUTOMOBILE ▸ “general

    finding is that when drivers engage in cognitive secondary task distraction, they tend to look away from the forward roadway less often” (tunnel vision) ▸ “to evaluate cognitive driver distraction, reaction time is typically measured using sudden onset stimuli” ▸ “cognitive distraction can also be measured through a variety of physiological techniques” (electroencephalographic (EEG) activity)
  49. @5280mark ANDROID AUTO COGNITIVE DISTRACTION IN THE AUTOMOBILE ▸ “

    … established that there are significant impairments to driving that stem from the diversion of attention from the task of operating a motor vehicle, and that the impairments to driving are directly related to the cognitive workload of these in-vehicle activities” ▸ Source: https://www.aaafoundation.org/measuring- cognitive-distractions
  50. @5280mark ANDROID AUTO ADDRESSABLE MARKET, BUSINESS, ETC. ▸ “For SiriusXM,

    that means a lot of new competition in the car, the place where consumers listen to radio the most. This process has already begun, with Apple and Google pushing for their own car media platforms” ▸ http://www.nytimes.com/2016/02/21/business/media/siriusxm-fights-to- dominate-the-dashboard-of-the-connected-car.html ▸ “J.D. Power put out a study on quality, and it shows because of consumers' annoyance with infotainment systems, they dinged the car companies. Stephens says it used to be that consumers talked about what broke on a car. But she says, in this survey, consumers said it's not about if the car works but how well it does.” ▸ http://www.npr.org/2016/02/25/468070375/buyers-dissatisfied-with-car- technology-reliability-study-says
  51. WE ALL LOVE TO CODE @5280mark

  52. LIVE DEMO TIME, THEY NEVER, EVER, FAIL SAID NO ONE

    EVER ANDROID AUTO
  53. @5280mark ANDROID AUTO THE CHEAPEST WAY TO GET ANDROID AUTO

    / TESTING ANDROID AUTO ▸ Click Upper Right “Android Auto” in app multiple times to enable developer mode ▸ https://developer.android.com/training/auto/testing/index.html ▸ Forward socket connections from computer to phone ▸ Start desktop head unit (DHU) $ adb forward tcp:5277 tcp:5277 $ cd <sdk>/extras/google/auto $ ./desktop-head-unit //play a pre-recorded audio command $ mic play ~/Library/Android/sdk/extras/google/auto/voice/showalternateroute.wav //switch to night mode $ night
  54. @5280mark ANDROID AUTO WHAT IS POSSIBLE - APP BRAINSTORMING ▸

    Navigation (coming soon, no <AutomotiveApp> uses tag yet ▸ Media (“media”) ▸ Define a service that provides audio track listing information extending MediaBrowserService ▸ Messaging (“notification”) ▸ Build an UnheardConversation notification associated with a CarExtender object for Android Auto to handle ▸ Replies are managed with intents
  55. @5280mark ANDROID AUTO HOW IT WORKS ▸ Add to existing

    APK, distributed to phone through Play Store, just has Android Auto compatibility ▸ Set targetSdkVersion to 21 or higher ▸ (for messaging) add the v4 support library with NotificationCompat.CarExtender ▸ Specify car capabilities in an xml file in your project’s resources directory ▸ Add a manifest entry that references that capabilities file
  56. @5280mark ANDROID AUTO HOW IT WORKS ▸ Add the features

    to your app adhering to Android Auto design guidelines ▸ Submit to Play Store ▸ Wait for manual approval, rejections sent to developer email ▸ If Auto component does not meet design guidelines, entire APK update will be rejected
  57. @5280mark ANDROID AUTO CODE LAB ▸ Add the features to

    your app adhering to Android Auto design guidelines ▸ Submit to Play Store ▸ Wait for manual approval, rejections sent to developer email ▸ If Auto component does not meet design guidelines, entire APK update will be rejected
  58. GOOGLE I/O 2016 UPDATES @5280mark

  59. @5280mark ANDROID AUTO ANDROID AUTO TALK ▸ Now available in

    100 car models ▸ Moving past companion app that requires head unit to a phone based app that will massively extend reach of this platform—slated for summer 2016 ▸ “Ok, Google” hot wording is coming ▸ Wireless connections are coming (caveat: cars with onboard WiFi) ▸ Google Waze is coming to Android Auto ▸ Android Auto running on Qualcomm hardware will allow car manufacturers to run it native in car
  60. @5280mark ANDROID AUTO SANDBOX ▸ Demo’s of free standing phone

    app for Android Auto ▸ Maserati concept car
  61. I AM MARK @5280mark

  62. @5280mark ANDROID AUTO RESOURCES ▸ developer.android.com/auto ▸ code lab: https://codelabs.developers.google.com/

    codelabs/android-music-player/index.html?index=..%2F.. %2Findex#0 ▸ g+ community “Android Auto Developers” - https:// plus.google.com/communities/116320632775523824083
  63. @5280mark ANDROID AUTO THAT’S A WRAP! ▸ awesome company that

    helps people live healthier lives—we are hiring Android dev’s, remote work possible, or live in Colorado! ▸ I caught a firebass - write up - https://medium.com/@mscheel/ready- player-2-the-firebass-challenge-7056900b7808 ▸ GDG Denver organizer - come speak in Colorado! (meetup.com/gdg- denver) ▸ digitalconstruction.com ▸ github.com/mscheel ▸ @5280mark
  64. @5280mark @5280mark THANK YOU @5280mark