43
Android N and TensorFlow

What new in Android n and Tensor Flow - Updates from Google #IO16

Embed Size (px)

Citation preview

Android N and TensorFlow

Android N and TensorFlow

1

Hi, I am Dhananjay PanditComputer Engineering graduate Class of 2016Part of GBG Mumbai for the last 2 yearsGoogle Student AmbassadorMentor for Python courses at MentiveAI and Machine Learning enthusiast

My brief intro

Android N

Overview12th version of Android, the previous version being Marshmallow.Disclaimer: What follows is not a comprehensive list of the features. I have select only the noteworthy ones which I felt would be useful for you.Cupcake Donut clair Froyo Gingerbread Honeycomb - Ice Cream Sandwich - Jelly Bean KitKat Lollipop Marshmallow - N

4

https://www.android.com/intl/en_in/versions/name-n/

Google hasnt yet decided upon a name for Android N. Suggest a name at the URL above. Help to get it named after your favourite confectionery!5

Whats New

Lets look at whats new in terms of UX firstSwipe out side menuEasy switching between tabsNight modeCan be used at places where you dont want your screen blasting light everywhere

Whats New

More information up frontUpdated notification templatesBundled notifications.Updated settings layout Can see which WiFi, Bluetooth device you are connected to

Multi-window SupportDirect Reply from notification barWhats New

Multi window: Run 2 apps side-by-side in portrait or landscape modeQuick apps switching between current and previous. Just like a TV remote.Directly reply from the notification bar

Paginated Quick Settings

On the Air system updatesWhats New

- Paginated quick settings will allow you to add more handy settings like torch, compass, etcRemember that annoying little message box Android is upgrading which seemed to take forever!? Well, its history nowOTA updates: Phone updates in the background and the next time you restart, you have updated version.

Doze! Battery that works smart, not hard!

Whats New

Doze: Now in Android N, Doze takes a step further and saves battery while on the go. This means users can save battery even when carrying their devices in their pockets.

Tap-to-PayWorks on any device with NFC support.Arriving in India, soon.

Desserts for Developers - Android Pay API

Something new for the devsNo need to take out your card. Setup your account on Android Pay and just tap your phone to pay the billExtremely safe and secureNo scope of credit card frauds

Unifies 7 context and location signals.Helps reduce resource utilization.Coming soon. Link to sign up for early access - https://goo.gl/H3oFGb

Desserts for Developers - Awareness API

7 signals: Time, location, places, beacons, headphones, activity and weather

Profile-guided Just in Time(JIT) and Ahead of Time(AOT) CompilationProject Svelte: Background OptimizationsFile based encryptionNumber BlockingCall ScreeningData SaverMulti-locale SupportMore LanguagesNew EmojisMore features of Android N

Profile-guided compilation improves runtime performance, saves storage space, and speeds up app updates and system updates.JIT: 75% faster app installation. 50% reduction in compiled code sizeSvelte: Minimize RAM use by optimizing the way apps run in the background.Supports number blocking in the platform and provides a framework API to let service providers maintain a blocked-number list.Better support bilingual use-casesANDROID WEAR 2.0 :- Standalone apps with direct connectivity access13

How can you leverage these features?

How can you use Android N to help your business and company grow?

Screenshot of the early implementation of Vulkan APIVulkan

How many of you play games on your phones?Well that number is just about to increaseHeres presenting the Vulkan API!15

Screenshot of a game running on the new Vulkan APIVulkan

The Android platform includes an Android-specific implementation of the Vulkan APIIt is a modern 3D graphics API giving developers direct access to the GPU.Vulkan

The same Vulkan API can be used to design games for both mobile and desktopOpenGL was its predecessorVulkan is a low-overhead, cross-platform API for high-performance, 3D graphics Squeezes more effects per frame without a drop in frame rate17

Android Instant Apps

I want you to take a look at the image on the screenImagine you are a business which has its own appBut your users do not install your appStill they can access the content present on your appHow is that possible? Too good to be true?Well thats what Android Instant Apps is all about!

Via Google Search

Via a shared linkVia NFC

Backward compatible till Android Jellybean (Android 4.1+ and API Level 16)

Android Instant Apps enables Android apps to run instantly, without requiring installation.As a developer, you wont need to build a new, separate app. Its the same Android APIs, same project, same source code, simply update your existing Android app to take advantage of Instant Apps functionality.Android Instant Apps

With Instant Apps, a tap on a URL can open right in an Android app, even if the user doesnt have that app installed.This feature hasnt released yet but you can request for Early Access!

Daydream is a platform for high quality, mobile virtual reality providing rich, responsive, and immersive experiences with hardware and software.Google hasn't yet made public the exact minimum specifications that are needed for a phone to be certified as Daydream-ready

Google VR - Daydream

- Coming Fall 2016- It encompasses both hardware and software and is a more advanced successor to Cardboard.- None of our current phones except the Nexus 6P are compatible with Daydream!

New rules for password policies.Better integration of work and personal contacts.Disabling of location functions for work apps while allowing them for personal apps.Custom lock screen messages. "Think different."And moreAndroid for Work

This is Google's system for allowing a company to have some control over your work phone.Apps can be temporarily suspended We warned you about spending too much time on Facebook! :PAnd other little things like locking down the wallpaper and user icon.22

Machine Learning 101

Let us first look at what *IS* Machine Learning before looking into TensorFlowIn the mood to shop for mangoes?!Refer Google Keep note! Due credits to Pararth Shah for writing this post on Quora.How do *YOU* choose mangoes?

Let us first look at what *IS* Machine Learning before looking into TensorFlowIn the mood to shop for mangoes?!Refer Google Keep note! Due credits to Pararth Shah for writing this post on Quora.How do *YOU* choose mangoes?

24

Not so fast!

Some mangoes might not be as sweet as youd like

Some mangoes might not be as sweet as youd like

She likes apples NOT mangoes!

She likes apples NOT mangoes!

Apply ML to buy any fruit you want!

Apply ML to buy any fruit you want!

Steps in Machine Learning

Collect dataProcess dataTrain modelTest data

Collect dataProcess dataTrain modelTest data

ML algorithms are an evolution over normal algorithms. They make your programs "smarter", by allowing them to automatically learn from the data you provide.

Making your algorithms smart, so that you don't need to be!

Machine Learning is NOT

And DEFINITELY not.

TensorFlow Video

TensorFlow video31

For search ranking on www.google.comAutomatically generate email responses (Inbox smart replies Im in, Will do!)Optical character recognition to enable real-time translation (Google Translate)

http://playground.tensorflow.orgTensorFlow Applications

TensorFlow provides a Python API, as well as a less documented C/C++ API.Gives you the ability to use ML algorithms without worrying about the implementation32

Image Classification

It reportedly can differentiate between different breeds and species as well!

Classified as Military Uniform with 64% confidence

Grace Hopper American Early computer scientist

Recommender Systems

https://www.coursera.org/learn/machine-learningNext Steps

I hope I have created enough interest in you about Machine Learning. Here are a few links where you can learn more!

https://www.udacity.com/course/deep-learning--ud730

Firebase is a cloud services provider and backend as a service company.Number of products for software developers building mobile or web applications including a real-time cloud database.This allows developers to store and sync data across multiple clients.

Firebase is a cloud services provider and backend as a service company.Number of products for software developers building mobile or web applications including a real-time cloud database.This allows developers to store and sync data across multiple clients.

Unified App Platform

Earlier: Multiple tools like SQL Server, IDEs; Diff tools for diff tasksNow: One tool! Developer experience mattersWork across platforms: iOS, Web, or Android.Integrate: one SDK, one console, and one place to go for documentation and support.Crash reporting allows the app to be robustAnalytics gives you more insight

Earlier: Multiple tools like SQL Server, IDEs; Diff tools for diff tasksNow: One tool! Developer experience mattersWork across platforms: iOS, Web, or Android.Integrate: one SDK, one console, and one place to go for documentation and support.Crash reporting allows the app to be robustAnalytics gives you more insight

Cloud Messaging

Firebase Cloud Messaging is a cross-platform messaging solution delivering messages and notifications to Android, iOS or the Web.Messages can be sent to individual devices, groups of devices, or even topics that devices are subscribed to.Powerful and scalable with 95% of messages delivered within 250 milliseconds.Firebase Cloud Messaging is the successor to Google Cloud Messaging

Firebase Cloud Messaging is a cross-platform messaging solution delivering messages and notifications to Android, iOS or the Web.Messages can be sent to individual devices, groups of devices, or even topics that devices are subscribed to.Powerful and scalable with 95% of messages delivered within 250 milliseconds.Firebase Cloud Messaging is the successor to Google Cloud Messaging

DatabaseAuthorisation and HostingMessaging, Store, Remote ConfigurationTest labNotificationsDynamic LinksAdMobNew features of Firebase

My personal favourite Mar I/O

Id like to end by showing you MY favourite implementation of a ML algorithm.Any guesses what it might be looking at the title?

Thank you!

gbgmumbai.orgtwitter.com/gbgmumbai