As we all are super excited to know what are new things that came up in Google’s annual I/O developer conference.

Android Image
Android Image

I am happy to share while developing mobile apps with my awesome team at LetsNurture, We are sharing our knowledge on http://engineering.letsnurture.com by posting blogs on what we are learning and what we are doing. As I am attending I/O Extended from 2015,  I/O 17 was also super excited about interesting things.

 

At Google’s 2017 I/O keynote, CEO Sundar Pichai introduced new products and shared more interesting things about Google Assistant, Android, Google Home, virtual reality, and much more.

 

In this blog, we are talking about “What’s New in Android?”.

Let’s start!

“There are now more than 2 billion monthly active Android devices.”

 

Android “O”:

Yet to be decided Android O name!

 

Android O Developer Preview
Android O Developer Preview

At Google I/O 17, O Developer Preview 2 was released. Android O beta is available: android.com/beta.

With the release of Android O, having different interesting features which we are going to explain:

 

Notification Dots:

 

In Android O, Now user can able to see notification badges on app icons(See below image).

The user can get notification details by long pressing on app icons. And the user can manage notification badge from app settings.

Android O Notification Badge

 

Now, Developer can easily integrate into the app.
Check development doc: https://developer.android.com/preview/features/notification-badges.html

 

Picture-in-picture (PIP) mode:

Android O makes the PIP feature available on Android devices to do multitasking on any size screen. Like you can check your calendar events with your friend’s video calling.

Check development doc: https://developer.android.com/preview/api-overview.html#opip

 

Picture in Picture mode -PIP
Picture in Picture mode -PIP

 

AutoFill API:

Simplifies setting up a new device and synchronising passwords by bringing Chrome’s Autofill feature to Android. Once a user opts-in, Autofill will work out-of-the-box for most apps.

Developer doc: https://developer.android.com/preview/features/autofill.html#optimizing_your_app_for_autofill

 

Smart Text Selection:

Now user can double tap on the relevant text and Google’s machine learning software is able to figure out and select where the relevant information starts and ends instead of just taped part.

Android O smart text selection
Android O smart text selection

 

Adaptive icons:

Android O introduces adaptive launcher icons, which can display a variety of shapes across different device models. For example, a launcher icon can display a circular shape on one OEM device, and display a squircle on another device.
https://developer.android.com/preview/features/adaptive-icons.html

Android O Adaptive icons
Android O Adaptive icons

 

TensorFlow Lite:

TensorFlow optimised version for mobile called TensorFlow lite. This library will allow developers to build deep learning models designed to run on Android smartphones.

https://www.tensorflow.org/

Tensorflow Lite
Tensorflow Lite

 

Generic findViewById() :

We don’t have to cast views after findViewById() anymore. Yay!

No more FindviewbyId
No more FindviewbyId

 

Fonts in XML

By adding font directory in res directory. Put your fonts in font directory. Double-click a font file to preview the file’s fonts in the editor. To access font same as another res like  R.font.your_awesome_font_name .

 

 

 

 

 

Android O introduces a new feature, Fonts in XML, which lets you use fonts as resources. Android O also provides a mechanism to retrieve information related to system fonts and provide file descriptors.

Now no more bundling fonts in assets! 

 

Android Architecture Components:

It is a collection of collection of libraries that help you design robust, testable, and maintainable apps.

It is available on Google’s Maven repository: “maven { url ‘https://maven.google.com’ }”.

https://developer.android.com/topic/libraries/architecture/index.html

Android Architecture-Components
Android Architecture-Components

 

 

Android GO:

As Android’s mission is to bring computing to everyone, Google announced the Lightweight version of the upcoming version of Android devices that have 1GB or less of memory with optimised apps and Play Store Google has called it as “Android Go”.

It mainly focuses on offline state, reducing APK size, and minimising battery and memory use.

Android Go
Android Go

 

Check Google vision for Building for billions.

 

Google Play Protect:

Google Play Protect helps protect Android phones from harmful apps.
It is continuous works to keep your device, data and apps safe. It actively scans your device and is constantly improving to make sure you have the latest in mobile security. Your device is automatically scanned, so you can rest easy. keeping you safe.

 

 

Kotlin Official Support:

Google announced The Kotlin officially supported language for Android.

Kotlin is a brilliantly designed, mature language to making Android development faster and more fun.
It has already been adopted by several major developers — Expedia, Flipboard, Pinterest, Square, and others — for their production apps.

Android kotlin support
Android kotlin support

 

Google Action:

Google Action provide a way to build apps for the Google Assistant. Your apps can help you engage users through Google Home, eligible Android phones, iPhones.

https://developers.google.com/actions/

Google Action

  1. Google I/O Key Note: https://youtu.be/Y2VF8tmLFHw
  2. Developer Keynote (Google I/O ‘17): https://youtu.be/EtQ8Le8-zyo

Thanks for reading this article. Be sure to share or recommend this article if you have found it helpful! Looking forward to hearing back suggestions and inputs on this blog, if any!

Pranay Patel

Software Engineer at @LetsNurture || #AndroidDev #twitter || @SOreadytohelp #github #java #database #security #ethicalhacking || #TEA

Want to work with us? We're hiring!
  • Rajendra

    Is there any example running TensorFlow lite?

    Is there any reference of it?