Slide 1

Slide 1 text

Recap Of Google I/O 2017 Karan Trehan @karntrehan the

Slide 2

Slide 2 text

3 days 8000+ participants 424+ events

Slide 3

Slide 3 text

Main Theme?

Slide 4

Slide 4 text

Mobile First to AI first Speech Recognition Image Recognition Machine Learning

Slide 5

Slide 5 text

“It will take all of us working together, to bring the benefits of technology to everyone” - Sundar Pichai

Slide 6

Slide 6 text

191+ hours of tech talks 117+ hours of sandboxes 100+ tech launches @karntrehan

Slide 7

Slide 7 text

For Users ● Google Lens ● Photos - Suggested Sharing ● Photos - Shared Libraries ● SmartPhone VR ● Tango AR ● Chromecast 360 support For Developers ● Cloud TPUs ● Google.ai ● Machine Learning Engine ● TensorFlow 1.2 ● Progressive Web Apps ● Polymer

Slide 8

Slide 8 text

A total of 60+ launches for Android which directly impact us @karntrehan

Slide 9

Slide 9 text

● Actions on Google ● Google Payments ● TensorFlowLite ● Architecture components ● Play services update ● Support Library update ● Android Instant Apps ● Android Go ● Exoplayer update ● Kotlin ● Google Play Protect ● Play Console Dashboard ● Play App Signing ● Android Studio Profilers ● Firebase Analytics ● Firebase Cloud functions ● Phonenumber Auth ● Flutter ● Android Things

Slide 10

Slide 10 text

My Top 5 Picks For Android Developers and Users

Slide 11

Slide 11 text

Kotlin For developers ● Makes development faster and enjoyable ● code.less == bugs.less ● javafunction() { return kotlinObject.function(); } ● A new language learnt ● A new thought process ● ios.run() { androidcode.get(); } //Kotlin Native ● Server-side development

Slide 12

Slide 12 text

Architecture Components For developers ● Way to develop architect apps better ● Handles majority some of the challenges we face with the framework ● Makes lifecycles more stable clear ● Embraces the advances of third-party libraries and supports them ● Less boilerplate than Sqlite, but with the same speed ● Provides each component separately

Slide 13

Slide 13 text

SMS Retriever API For users Current flow: ● Phone number entered ● Phone number sanity checked ● Number sent to server ● Server sends OTP msg ● We create broadcast-receiver ● We ask for “Read SMS” permission ● We receive broadcast ● We pass it to the activity to continue Cons: ● User takes time ● User may make mistakes ● User thinks app will read all SMSs ● User does not give permission ● User does not enter OTP ● User leaves app ● Project manager is angry, developer is sad

Slide 14

Slide 14 text

SMS Retriever API For users Your app receives a broadcast with the content. No Permissions!

Slide 15

Slide 15 text

Android Studio Profilers For developers CPU Usage? - Adding logs to functions, finding bottlenecks, fixing issue, removing logs Memory Leaks? - LeakCanary Network Debugging? - Stetho, Chuck, NetworkInterceptor (OkHttp) Handle dependencies in Release and Debug builds CPU Profiler - Info about the time taken by code on the CPUs and threading info Memory Profiler - Identify memory leaks at runtime, click to piece of code and fix faulty code Network Profiler - View and debug the network calls. OkHttp also supported Available in Android Studio 3.0 - Canary

Slide 16

Slide 16 text

Instant Apps For users ● Users use 4-6 apps weekly ● Most apps uninstalled in a day ● Older apps uninstalled to make space for other apps ● Download, install, view, uninstall ● Uninstalls impacts Google Play standings ● App runs through Google Play as a native app ● Activated via “App Links” ● No installation needed. Internet needed. ● Android 6.0+ (Coming to 5.0+ soon) ● Requires your project to be build in modules. 8 Step process ● Modularization is complicated and should be done for core business as of now

Slide 17

Slide 17 text

Special Mentions Android Go For users ● A version of Android for mass market consumers ● Make “Go” specific apps to reach a larger target audience specifically in India Play Console For developers ● A better way to manage crashes, performance and releases ● Cloud App Signing to auto create APKs for various architectures and instant apps

Slide 18

Slide 18 text

Summary Not everything is for you “right now” Always best to know what is out there! Play, Create sample apps, Upload to Github, Share, Learn! Use only stable elements in business apps Report bugs and request features to the Google team ● Kotlin ● Architecture components ● SMS Retriever API ● Android Studio profilers ● Instant Apps ● Android Go ● Play Console

Slide 19

Slide 19 text

Thanks! Karan Trehan @karntrehan [email protected]