2. 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.
4. 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.
6. 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.
7. The most popular Google Play Store categories
by September are those dedicated to lifestyle,
entertainment, education, business and
personalization.
8. 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%).
11. 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
12. 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.
13. 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.
15. 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.
16. 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.
17. 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.
19. 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
21. 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
22. 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.
23. 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.
25. 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.
26. 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.
34. 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.
35. 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.
36. 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.
37. 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">
38. Grab the Library Project Here
http://code.google.com/p/googletv-android-samples/
40. 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/
42. 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.
45. 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
46. 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
49. 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
50. Auto Enabling your App
Provide Android Auto with messages so that car can read
them out
51. Auto Enabling your App
Update
NoMficaMon
Builder
with
CarExtender
to
pass
message
to
car
52. UI Guidelines - Minimizing driver distraction
Requirements
Fonts
&
Sizing
Text
String
Lengths
Contrast
RaMo
Night
vs
Day
modes
Imagery
&
Video
AdverMsing
Auto-‐Scrolling
Text
53. 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.
54. UI Guidelines - 5 Discrete sections
AcMvity
Bar
and
App
Switching
NavigaMon
Drawer
Overview
Screen
App
View
and
its
menu
(not
yet)
Demand
Layer
55. UI Guidelines - 5 Discrete sections
AcMvity
Bar
and
App
Switching
59. 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
60. 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
61. 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