Google I/O
Google I/O is for developers - the creative coders who are building
what's next. We explore the latest in tech, mobile & beyond.
Moscone Center
Google I/O 2015 Highlights http://www.youtube.com/watch?v=OT8wVt1Bt_Y
Best Practices
“Android Programming for Java Developers”
“Mobile Development for Server and Desktop Developers”
Chet Haase - Lead Android UI team
- Talk a lot about extra allocations
- Talk about memory impacts
- Tragedy of the commons “every device is a village”
8 Parts so far
Developing for Android: Introduction https://medium.com/google-developers/developing-for-android-introduction-5345b451567c
Android M
Android Mars ?
*Disclaimer - I have no idea really
And yes I know there are no peanuts in a mars bar
Android M
Out now!*
*
User Controls
Google I/O 2015 - Android M Permissions https://www.youtube.com/watch?v=f17qe9vZ8RM
User Controls
Apps targeting M can:
can ask for any permission at any time
Legacy apps will:
get all permissions at install time as before
Users can:
deny any permission on request
deny any permission at any later time - even legacy apps
Google I/O 2015 - Android M Permissions https://www.youtube.com/watch?v=f17qe9vZ8RM
Voice Interactions
VoiceInteractor - confirm & prompt for response
Before - “Play music on TuneIn” , your app could be launched
Now - It will reply “What Genre?”
Introduction to Voice Interaction API (100 Days of Google Dev) https://www.youtube.com/watch?v=OW1A4XFRuyc
Fingerprint API’s
- FingerprintManager.authenticate()
- Verify that authorized user is present (ex: purchases)
- Your app controls all UI
- KeyguardManager.createConfirmDeviceCredentialsIntent()
- Present lock screen to user
- startActivityForResult with RESULT_OK
- github.com/googlesamples/android-ConfirmCredentials
Fingerprint and payments APIs (100 Days of Google Dev) https://www.youtube.com/watch?v=VOn7VrTRlA4
Android Backup
- All data backed up by default when targetSDK M
- Optional scheme file for includes & excludes
Google I/O 2015 - What's new in Android https://youtu.be/ndBdf1_oOGA?t=535
GCM Network Manager
- Like JobScheduler but not api level specific
- L+
- Included in Google Play Services 7.5+
- Limit networks tasks to whilst charging, wifi ..
https://developers.google.com/cloud-messaging/network-manager
Google I/O 2015 - What's new in Google Play services https://www.youtube.com/watch?v=rimovXSTU_Q
Power Improvements
- Doze
- Untouched devices become ‘inactive’
- Wait longer to wake up for background tasks
- Resume normal operation when moved, used, or plugged in
- Standby can improve by 2x
- App Standby
- Unused apps lose network access
- Resume when launched, used or plugged in
Google I/O 2015 - What's new in Android https://youtu.be/ndBdf1_oOGA?t=671
Assistant Support
Google Now “on tap”
API’s to provide the assistant with more data
Assistant doesn’t run until long press on home button
- See SDK docs:
- http://developer.android.com/reference/android/app/Application.OnProvideAssistDataListener.html
- http://developer.android.com/reference/android/app/Activity.html#onProvideAssistData(android.os.Bundle)
Google I/O 2015 - What's new in Android https://youtu.be/ndBdf1_oOGA?t=749
Data Binding
Connect data & UI elements
Automates listener creation, msg sending, setters
Pre-processed at build time (generated code)
Better performance & “guaranteed best practice”
MVVM - ViewModel
Google I/O 2015 - What's new in Android https://youtu.be/ndBdf1_oOGA?t=785
Data Binding
dependencies {
classpath "com.android.tools.build:gradle:1.3.0-beta1"
classpath "com.android.databinding:dataBinder:1.0-rc0"
}
<variable name="user" type="com.example.Fruit"/>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@{fruit.price}"/>
http://catinean.com/2015/05/31/how-you-can-go-wrong-with-the-
new-data-binding-api/
Google I/O 2015 - What's new in Android https://youtu.be/ndBdf1_oOGA?t=785
Design Support Library
TabLayout
NavigationView
FloatingActionButton
Coordinator Layout
Snackbar
http://android-developers.blogspot.co.uk/2015/05/android-design-support-library.html
Higher Quality Text Formatting
(M)OAR
http://android-developers.blogspot.co.uk/
https://www.youtube.com/user/GoogleDevelopers
image
- Always on wear app’s
- Requires WakeLock permission
- Takes advantage of OLED
screens
- Wear best practices
- Maps (Play Services)
What’s new in Android wear
Google I/O 2015 - Android Wear: Your app and the always-on screen https://www.youtube.com/watch?v=zGiRUt8_RbQ
Android Wear: Always-On Apps https://www.youtube.com/watch?v=7m6Z9d0fDaM
image
- Vector drawables support
- 2x speed (Gradle 2.4 plugin 1.3)
- NDK C/C++ Support
- Debugging
- Code completion
- Refactoring
What’s new in Android tools
Google I/O 2015 - What's New in Android Development Tools https://www.youtube.com/watch?v=f7ihSQ44WO0
image
- “Next Gen”
- 5x gradle plugin
- New closure “api breaking
change”
- 5x though
- Jack compiler
What’s new in Android tools
Google I/O 2015 - What's New in Android Development Tools https://www.youtube.com/watch?v=f7ihSQ44WO0
image
- Media audio apps
- Hack made Pong
- Manual play store filtering
- Hardware is home made
- We’re going to make one!
Android Auto Stand
image
- For the classroom
- …
- Google Jump
- partnering with GoPro
- Spotlight Stories
- 360 films
- YouTube to support
Cardboard
Google I/O 2015 - Designing for virtual reality https://www.youtube.com/watch?v=Qwh1LBzz3AU
image
- Abacus
- Jacquard
- Soli
- Tango
- Ara
- Vault
Advanced Technology & Projects
Google I/O 2015 - A little badass. Beautiful. Tech and human. Work and love. ATAP. https://www.youtube.com/watch?v=mpbWQbkl8_g
Jacquard
- Weaving technology into fabric
- Working with designers at Levi Strauss & Co
- Interactive surfaces
- Touch sensitive textiles
Welcome to Project Jacquard https://www.youtube.com/watch?v=qObSFfdfe7I
Soli
- The hand is the ultimate input device
- Radar technology
- Track submillimeter motion
- high speed and accuracy
- Fits on a single chip
Welcome to Project Soli https://www.youtube.com/watch?v=0QNiZfSsPc0
Soli
- How the size shrunk over time
Welcome to Project Soli https://www.youtube.com/watch?v=0QNiZfSsPc0
Tango
- Help everything and everyone understand precisely where they are
- Indoor navigation
- Games
- Robotics
- Motion tracking
- Area learning
- Depth perception
Google I/O 2015 - Project Tango - Mobile 3D tracking and perception https://www.youtube.com/watch?v=iP9m9a2KEN4
Ara
Google I/O 2015 - ATAP ARA https://youtu.be/mpbWQbkl8_g?t=4681
Vault
- Security dedicated OS in a micro SD card
- Enables secure communication and storage
- Proxy file system has 1 read file 1 write file.. thats it
- NFC for identification
- Operating system agnostic
Google I/O 2015 - ATAP Vault https://youtu.be/mpbWQbkl8_g?t=2865
image
- Android to draw on
- Hands on code labs
- GDE area
- Android to stick stickers on
- Device Lab
Playful I/O
image
- small stand
- hidden in the corner
- Rich Hyndman
- (Pic is actually Google Play for
families)
Android for work
Google Photos
- All your photos, organized, and easy to find.
- Sharing even to people without Google Photos
- Creations / gifs automatically made
- Automatic organising
- Unlimited cloud storage
- No desktop client
https://photos.google.com/
image
- Nest
- nothing new
Home automation
image
“Brillo extends the Android platform to all your
connected devices, so they are easy to set up
and work seamlessly with each other and your
smartphone.”
https://developers.google.com/brillo/
Brillo
image
- Announced the Nanodegree
- Free for meee
- Will be a reviewer of other
students
- Lots of interest in stand
Udacity stand
image
- 5 different talks on testing
- Good that they highlight the
testing pyramid
- Google Play Services
‘Chimpanzee runner’
- TBC
Testing
Testing
- Android Studio testing support
- Android testing support library
- decoupled from SDK level
- Espresso
- Junit 4 Runner
image
- Rooms too small
- Too many parallel talks
- Too many queues
- Too tired to go to networking
events
Buffer Overflow Exception
image
- Golden tickets wins a device
- Tokens for talking to people
- Bit too loud for me ;-)
- Could print your own posters
- GDE’s got a special lanyard and
area which was … strange
Parties
image
- JRebel
- Netflix
- Wall Street Journal
- Deloitte Digital
- Citymapper
- Braintree
- Geny Mobile :-)
I/O Party
Learn more!
Google I/O: It ain't over 'til we say it's over https://www.youtube.com/watch?v=T8rZ5E2LFhM
Google Developers Channel: https://www.youtube.com/channel/UC_x5XG1OV2P6uZZ5FSM9Ttw
Google Developer Expert
Google Experts are experienced, recognized developers of Google technologies as well as outstanding professionals in
product strategy, UX/UI, marketing, growth hacking and monetization.
https://developers.google.com/experts/
Paul Blundell
blundell_apps
paulblundell
blundell
blog.blundellapps.com
GDG Liverpool https://goo.gl/881hNa

Google I/O 2015 Android & Tech Announcements

  • 1.
    Google I/O Google I/Ois for developers - the creative coders who are building what's next. We explore the latest in tech, mobile & beyond.
  • 2.
    Moscone Center Google I/O2015 Highlights http://www.youtube.com/watch?v=OT8wVt1Bt_Y
  • 4.
    Best Practices “Android Programmingfor Java Developers” “Mobile Development for Server and Desktop Developers” Chet Haase - Lead Android UI team - Talk a lot about extra allocations - Talk about memory impacts - Tragedy of the commons “every device is a village” 8 Parts so far Developing for Android: Introduction https://medium.com/google-developers/developing-for-android-introduction-5345b451567c
  • 5.
  • 6.
    Android Mars ? *Disclaimer- I have no idea really And yes I know there are no peanuts in a mars bar
  • 7.
  • 8.
    User Controls Google I/O2015 - Android M Permissions https://www.youtube.com/watch?v=f17qe9vZ8RM
  • 9.
    User Controls Apps targetingM can: can ask for any permission at any time Legacy apps will: get all permissions at install time as before Users can: deny any permission on request deny any permission at any later time - even legacy apps Google I/O 2015 - Android M Permissions https://www.youtube.com/watch?v=f17qe9vZ8RM
  • 10.
    Voice Interactions VoiceInteractor -confirm & prompt for response Before - “Play music on TuneIn” , your app could be launched Now - It will reply “What Genre?” Introduction to Voice Interaction API (100 Days of Google Dev) https://www.youtube.com/watch?v=OW1A4XFRuyc
  • 11.
    Fingerprint API’s - FingerprintManager.authenticate() -Verify that authorized user is present (ex: purchases) - Your app controls all UI - KeyguardManager.createConfirmDeviceCredentialsIntent() - Present lock screen to user - startActivityForResult with RESULT_OK - github.com/googlesamples/android-ConfirmCredentials Fingerprint and payments APIs (100 Days of Google Dev) https://www.youtube.com/watch?v=VOn7VrTRlA4
  • 12.
    Android Backup - Alldata backed up by default when targetSDK M - Optional scheme file for includes & excludes Google I/O 2015 - What's new in Android https://youtu.be/ndBdf1_oOGA?t=535
  • 13.
    GCM Network Manager -Like JobScheduler but not api level specific - L+ - Included in Google Play Services 7.5+ - Limit networks tasks to whilst charging, wifi .. https://developers.google.com/cloud-messaging/network-manager Google I/O 2015 - What's new in Google Play services https://www.youtube.com/watch?v=rimovXSTU_Q
  • 14.
    Power Improvements - Doze -Untouched devices become ‘inactive’ - Wait longer to wake up for background tasks - Resume normal operation when moved, used, or plugged in - Standby can improve by 2x - App Standby - Unused apps lose network access - Resume when launched, used or plugged in Google I/O 2015 - What's new in Android https://youtu.be/ndBdf1_oOGA?t=671
  • 15.
    Assistant Support Google Now“on tap” API’s to provide the assistant with more data Assistant doesn’t run until long press on home button - See SDK docs: - http://developer.android.com/reference/android/app/Application.OnProvideAssistDataListener.html - http://developer.android.com/reference/android/app/Activity.html#onProvideAssistData(android.os.Bundle) Google I/O 2015 - What's new in Android https://youtu.be/ndBdf1_oOGA?t=749
  • 16.
    Data Binding Connect data& UI elements Automates listener creation, msg sending, setters Pre-processed at build time (generated code) Better performance & “guaranteed best practice” MVVM - ViewModel Google I/O 2015 - What's new in Android https://youtu.be/ndBdf1_oOGA?t=785
  • 17.
    Data Binding dependencies { classpath"com.android.tools.build:gradle:1.3.0-beta1" classpath "com.android.databinding:dataBinder:1.0-rc0" } <variable name="user" type="com.example.Fruit"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@{fruit.price}"/> http://catinean.com/2015/05/31/how-you-can-go-wrong-with-the- new-data-binding-api/ Google I/O 2015 - What's new in Android https://youtu.be/ndBdf1_oOGA?t=785
  • 18.
    Design Support Library TabLayout NavigationView FloatingActionButton CoordinatorLayout Snackbar http://android-developers.blogspot.co.uk/2015/05/android-design-support-library.html
  • 19.
  • 20.
  • 21.
    image - Always onwear app’s - Requires WakeLock permission - Takes advantage of OLED screens - Wear best practices - Maps (Play Services) What’s new in Android wear Google I/O 2015 - Android Wear: Your app and the always-on screen https://www.youtube.com/watch?v=zGiRUt8_RbQ Android Wear: Always-On Apps https://www.youtube.com/watch?v=7m6Z9d0fDaM
  • 22.
    image - Vector drawablessupport - 2x speed (Gradle 2.4 plugin 1.3) - NDK C/C++ Support - Debugging - Code completion - Refactoring What’s new in Android tools Google I/O 2015 - What's New in Android Development Tools https://www.youtube.com/watch?v=f7ihSQ44WO0
  • 23.
    image - “Next Gen” -5x gradle plugin - New closure “api breaking change” - 5x though - Jack compiler What’s new in Android tools Google I/O 2015 - What's New in Android Development Tools https://www.youtube.com/watch?v=f7ihSQ44WO0
  • 24.
    image - Media audioapps - Hack made Pong - Manual play store filtering - Hardware is home made - We’re going to make one! Android Auto Stand
  • 25.
    image - For theclassroom - … - Google Jump - partnering with GoPro - Spotlight Stories - 360 films - YouTube to support Cardboard Google I/O 2015 - Designing for virtual reality https://www.youtube.com/watch?v=Qwh1LBzz3AU
  • 26.
    image - Abacus - Jacquard -Soli - Tango - Ara - Vault Advanced Technology & Projects Google I/O 2015 - A little badass. Beautiful. Tech and human. Work and love. ATAP. https://www.youtube.com/watch?v=mpbWQbkl8_g
  • 27.
    Jacquard - Weaving technologyinto fabric - Working with designers at Levi Strauss & Co - Interactive surfaces - Touch sensitive textiles Welcome to Project Jacquard https://www.youtube.com/watch?v=qObSFfdfe7I
  • 28.
    Soli - The handis the ultimate input device - Radar technology - Track submillimeter motion - high speed and accuracy - Fits on a single chip Welcome to Project Soli https://www.youtube.com/watch?v=0QNiZfSsPc0
  • 29.
    Soli - How thesize shrunk over time Welcome to Project Soli https://www.youtube.com/watch?v=0QNiZfSsPc0
  • 30.
    Tango - Help everythingand everyone understand precisely where they are - Indoor navigation - Games - Robotics - Motion tracking - Area learning - Depth perception Google I/O 2015 - Project Tango - Mobile 3D tracking and perception https://www.youtube.com/watch?v=iP9m9a2KEN4
  • 31.
    Ara Google I/O 2015- ATAP ARA https://youtu.be/mpbWQbkl8_g?t=4681
  • 32.
    Vault - Security dedicatedOS in a micro SD card - Enables secure communication and storage - Proxy file system has 1 read file 1 write file.. thats it - NFC for identification - Operating system agnostic Google I/O 2015 - ATAP Vault https://youtu.be/mpbWQbkl8_g?t=2865
  • 33.
    image - Android todraw on - Hands on code labs - GDE area - Android to stick stickers on - Device Lab Playful I/O
  • 34.
    image - small stand -hidden in the corner - Rich Hyndman - (Pic is actually Google Play for families) Android for work
  • 35.
    Google Photos - Allyour photos, organized, and easy to find. - Sharing even to people without Google Photos - Creations / gifs automatically made - Automatic organising - Unlimited cloud storage - No desktop client https://photos.google.com/
  • 36.
    image - Nest - nothingnew Home automation
  • 37.
    image “Brillo extends theAndroid platform to all your connected devices, so they are easy to set up and work seamlessly with each other and your smartphone.” https://developers.google.com/brillo/ Brillo
  • 38.
    image - Announced theNanodegree - Free for meee - Will be a reviewer of other students - Lots of interest in stand Udacity stand
  • 39.
    image - 5 differenttalks on testing - Good that they highlight the testing pyramid - Google Play Services ‘Chimpanzee runner’ - TBC Testing
  • 40.
    Testing - Android Studiotesting support - Android testing support library - decoupled from SDK level - Espresso - Junit 4 Runner
  • 41.
    image - Rooms toosmall - Too many parallel talks - Too many queues - Too tired to go to networking events Buffer Overflow Exception
  • 42.
    image - Golden ticketswins a device - Tokens for talking to people - Bit too loud for me ;-) - Could print your own posters - GDE’s got a special lanyard and area which was … strange Parties
  • 43.
    image - JRebel - Netflix -Wall Street Journal - Deloitte Digital - Citymapper - Braintree - Geny Mobile :-) I/O Party
  • 44.
    Learn more! Google I/O:It ain't over 'til we say it's over https://www.youtube.com/watch?v=T8rZ5E2LFhM Google Developers Channel: https://www.youtube.com/channel/UC_x5XG1OV2P6uZZ5FSM9Ttw
  • 45.
    Google Developer Expert GoogleExperts are experienced, recognized developers of Google technologies as well as outstanding professionals in product strategy, UX/UI, marketing, growth hacking and monetization. https://developers.google.com/experts/
  • 46.