trilha android - android evolved

Post on 13-Jan-2017

325 Views

Category:

Mobile

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Android EvolvedAndroid, Wear, Android Auto, And Android TV

Jackson F. de A. Mafra http://about.me/jacksonfdam https://bitbucket.org/jacksonfdam https://github.com/jacksonfdam http://linkedin.com/in/jacksonfdam @jacksonfdam

Software Engineer at Aggrega Group, mobile training instructor at Targettrust. Developer for 15 years with background in e-commerce projects and real estate, since 2009 with focused interests for the development of mobile and MEAP and applications interfaces.

Android has evolved. Already a mature mobile OS that is one of the two dominant operating systems in a huge and still-growing mobile

market, Android is officially not just for phones and tablets. It’s on your wrist, in your car, and

in your living room.

We do not "ENTERED"

on the internet we

"live" online

Right now, there are 1,362,720 apps in the Google Play Store. More than a million are free,

and only around 200,000 apps are paid.

The most popular Google Play Store categories by September are those dedicated to lifestyle,

entertainment, education, business and personalization.

About the most popular devices, it’s remarkable to note that all the Top 10 Android phones are Samsung models: Samsung Galaxy S3 is the

most used Android phone (6.3% market share), followed by Samsung Galaxy S4 (5.3%).

Suddenly, the smartwatch is evolving. We had an inkling that this would happen when we first caught wind of Android Wear back in March of 2014, and we’re just about to be inundated with Android Wear-based smartwatches from all the usual consumer tech companies, including LG,

Samsung, Motorola, and ASUS

Android Wear is an extension of Android that is a companion to devices running Android 4.3

and higher. It connects to your smartphone and uses a pretty and clear UI to give you a

variety of information such as the time of day, messages, and alerts. You can also see traffic,

send messages, call yourself a cab, and all manner of other uses involving Google Now

and the “OK Google” voice command.

The idea is really to reduce the amount of time you spend pulling out your phone, entering a

password, swiping, and whatnot. Thus, Android Wear devices really are a convenient extension

of your smartphone.

Create interfaces for watches is totally different from creating interfaces

for smartphones and tablets.

Start applications or cards automatically

Users are used to start the applications manually, but wear the cards appear on the screen, showing relevant information at that

time. As a meeting reminder, e-mail message

notification.

Simple Interface, practical and fast

Aka glanceable.They should be practical and lightweight. The less time you take to

understand the meaning of the screen, the better.

Suggestions on demand

The apps are responsive and can react to events to assist the user in moments of

everyday life, such as sending a text message to a contact quickly by voice command.

Simple interactions

Interaction is all through gestures and voice commands to be as simple and practical as

possible.

Creating Wearable App

Apps run directly from the device Access to sensors and GPU

Same basis SDK

No Wear there is a timeout The Download is done by smartphone not for

wear. It offers automatic

Apis not supported

webkit print

backup appwidget

usb

8 of the best watches that run Android Wear

Sony Smartwatch - Samsung Gear Live - LG Watch Urbane - LG G Watch R

Lg G Watch - Moto 360 - Zenwatch - Huawei Watch

Android Auto brings a similar experience to your car. Like Apple and others looking to bake

some more intelligence into our vehicles, Google is partnering with many automakers to

put Android-powered infotainment in the cockpit.

Obviously, the killer application is Google Maps with navigation, but there are other useful

features as well, including viewing notifications, using voice commands, and more. Google expects to have Android Auto

capabilities in cars on dealer lots by the close of the year.

Android TV is the next logical evolution of Chromecast, the intriguing streaming stick that

Google unveiled last year.

It’s a software offering that brings the Android experience to TVs and set-top boxes. “You can use voice search to find a live TV show, a good

flick from Google Play, or a music video on YouTube,” reads a press release.

You can also play Android games with a gamepad, which is a huge selling point for the platform, and like Chromecast, Google Cast

technology is built in. Look for Android TV on a number of products later this year.

Interaction - Cursor

Interaction - Dpad

Prerequisites

Update your SDK tools to version 24.0.0 or higher Update your SDK with Android 5.0 (API 21) or higher

Supported Media Formats

It is a best practice to use media encoding profiles that are device-agnostic.

DRM

The Android platform provides an extensible DRM framework that lets applications manage rights-protected content according to the license constraints associated with the content. The DRM framework supports many DRM schemes; which DRM schemes a device supports is up to the device manufacturer.

ExoPlayer

The Android framework provides MediaPlayer as a quick solution for playing media with minimal code, and the MediaCodec and MediaExtractor classes are provided for building custom media players.

Use Layout Themes for TV

Android Themes can provide a basis for layouts in your TV apps. You should use a theme to modify the display of your app activities that are meant to run on a TV device. This section explains which themes you should use.

Use Layout Themes for TV

A support library for TV user interfaces called the v17 leanback library provides a standard theme for TV activities, called Theme.Leanback.

<activity android:name="com.example.android.TvActivity" android:label="@string/app_name" android:theme="@style/Theme.Leanback">

Grab the Library Project Here

http://code.google.com/p/googletv-android-samples/

Samples + Anymote Library

http://code.google.com/p/googletv-android-samples/

Noteworthy Bits

Limitations One way communication May not be the fastest (i.e. may not be suitable for games)

Discovery handled by the app: Google TV Remote[1] (can use JmDNS) Pairing & Auth: Pairing Protocol Reference Implementation[2] Sending Events: Anymote Protocol Reference Implementation[3] Pairing and Anymote Protocols user Protocol Buffers[4] (lite) Google TV Remote for Android: http://code.google.com/p/google-tv-remote/ Pairing Protocol: http://code.google.com/p/google-tv-pairing-protocol/ Anymote Protocol: http://code.google.com/p/anymote-protocol/ Protocol Buffers: http://code.google.com/p/protobuf/

Finally, another important piece of the Android pie is coming for emerging markets with

Android One, an affordable handset that will launch in India this fall for less than $100 with

more countries in line.

We have a great many screens in our lives these days, and Google wants every single one

of them to show you Android.

Overview

Limited  APIs  –audio  &  messaging  –  but  it  will  get  be6er  

Limited  templates  for  safety  reasons  

Developer provides images, colors and strings

Extend existing apps

APIs, sample apps and simulators available

Driver responds to notifications

Text  -­‐>  Voice  -­‐>  Text    

Intro -Demo

Download  Android  Auto  API  simulators  extras  using  SDK  Manager   adb  install  messaging-­‐simulator.apk  from  extras  folder   adb  install  media-­‐browser-­‐simulator.apk  from  extras  folder  

Download  sample  MessagingSerivceapp  and  install   h6p://developer.android.com/samples/MessagingService/index.html   adb  install  MessagingService.apk  

Send  message  from  MessageServiceapp  

View  in  Messaging  Simulator

Intro -Demo

Setting up your own hardware

Setting up your own hardware

Using Pioneer AVH-4100NEX car stereo Parking brake bypass 2 Amp, 12V DC to 120V AC transformer

Follow instructions https://www.youtube.com/watch?v=QntZ3A4bG4w

Connect brake bypass Update Pioneer AVH firmware to 1.03 or above Install Android Auto from Google Play onto Android 5.x phone Connect Android phone using USB slot 2 Accept all warnings etc. Connect speakers, connect microphone

Auto Enabling your App

Provide Android Auto with messages so that car can read them out

Auto Enabling your App

Update  NoMficaMon  Builder  with  CarExtender  to  pass  message  to  car

UI Guidelines - Minimizing driver distraction

Requirements  Fonts  &  Sizing  Text  String  Lengths  Contrast  RaMo  Night  vs  Day  modes  Imagery  &  Video  AdverMsing  Auto-­‐Scrolling  Text

UI Guidelines -Design Principles

 Don’t  port  app  into  Android  Auto    Focus  on  primary  acMons  and  content    Don’t  include  complicated  flows    Keep  choices  to  recent,  frequent  or  favorite  type  choices    Complex  acMons  occur  on  mobile  app  when  car  is  stopped.

UI Guidelines - 5 Discrete sections

 AcMvity  Bar  and  App  Switching    NavigaMon  Drawer    Overview  Screen    App  View  and  its  menu  (not  yet)    Demand  Layer

UI Guidelines - 5 Discrete sections

 AcMvity  Bar  and  App  Switching

UI Guidelines - 5 Discrete sections

NavigaMon  Drawer

UI Guidelines - 5 Discrete sections

Overview  Screen

UI Guidelines - 5 Discrete sections

Demand  Layer

Getting it into the Google Play

Upload  to  Google  Play  in  the  alpha  channel  for  tesMng  Experience  the  joys  of  the  new  review  process  Publish  Wait  for  the  rest  of  the  world  to  catch  up

Caveats

Driver  DistracMon    Should  be  mostly  voice  acMvated    Simulator  doesn’t  support  voice    NHTSA  2/12  guideline,  2  second  glance,  12  second  total  interacMon    Locked  Screen    Any  difficult  interacMons  take  place  when  car  is  parked    My  favorites  type  transacMons    Make  the  car  experience  be6er    Who  pays  for  any  recalls    More  FragmentaMon

Predicting the Future

MORE  APIs  –fingers  crossed  at  Google  I/O  GamificaMon,  e.g.  Facebook  challenges  Cloud  based  apps  and  Mashups  OTA  Dealer  recalls  Connected  cars  DSRC  –Dedicated  Short  Range  CommunicaMons  Autonomous  cars

Resources

h6p://developer.android.com/auto  h6ps://bitbucket.org/ChernyshovYuriy/openradio/overview  h6ps://www.youtube.com/watch?v=gSVLuaOTIPk(Auto  Messaging  app)  h6ps://www.youtube.com/watch?v=cMaVxgclsg(Auto  Intro)

Questions?

Thank You!

top related