Explaining what went on at Google I/O 2015, what new announcements where made my Google with the release of Android M, their new API's, the technology around ATAP including Project Ara, Soli and Jacquard
4. 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
8. User Controls
Google I/O 2015 - Android M Permissions https://www.youtube.com/watch?v=f17qe9vZ8RM
9. 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
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
- 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
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
21. 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
22. 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
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 audio apps
- Hack made Pong
- Manual play store filtering
- Hardware is home made
- We’re going to make one!
Android Auto Stand
25. 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
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 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
28. 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
29. Soli
- How the size shrunk over time
Welcome to Project Soli https://www.youtube.com/watch?v=0QNiZfSsPc0
30. 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
32. 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
33. image
- Android to draw 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
- 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/
37. 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
38. image
- Announced the Nanodegree
- Free for meee
- Will be a reviewer of other
students
- Lots of interest in stand
Udacity stand
39. image
- 5 different talks on testing
- Good that they highlight the
testing pyramid
- Google Play Services
‘Chimpanzee runner’
- TBC
Testing
40. Testing
- Android Studio testing support
- Android testing support library
- decoupled from SDK level
- Espresso
- Junit 4 Runner
41. image
- Rooms too small
- Too many parallel talks
- Too many queues
- Too tired to go to networking
events
Buffer Overflow Exception
42. 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
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
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/