Android n and beyond

16
Android N and Beyond A Step towards Future www.letsnurture.com

Transcript of Android n and beyond

Page 1: Android n and beyond

Android N and BeyondA Step towards Future

www.letsnurture.com

Page 2: Android n and beyond

Does this look any different?

www.letsnurture.com

Page 3: Android n and beyond

Y Open App when you can do it with Notification

www.letsnurture.com

Page 4: Android n and beyond

Doze

www.letsnurture.com

Page 5: Android n and beyond

Some more Doze

www.letsnurture.com

Page 6: Android n and beyond

Project Svelte: Background Optimizations

Android N applies the following optimizations:Apps targeting Android N do not receive CONNECTIVITY_ACTION broadcasts,

even if they have manifest entries to request notification of these events. Apps running in the foreground can still listen for CONNECTIVITY_CHANGE on their main thread if they request notification with a BroadcastReceiver.

Apps cannot send or receive ACTION_NEW_PICTURE or ACTION_NEW_VIDEO broadcasts. This optimization affects all apps, not only those targeting Android N.

www.letsnurture.com

Page 7: Android n and beyond

Zoomit

www.letsnurture.com

Page 8: Android n and beyond

Vision Settings in Setup Wizard

Android N includes Vision Settings on the Welcome screen, where users can set up the following accessibility settings on a new device:

Magnification gesture, Font size, Display size and TalkBack.

To assess the impact of this feature, you should test your apps with these settings enabled. You can find the settings under Settings > Accessibility.

www.letsnurture.com

Page 9: Android n and beyond

Other important points

When an app is running on Android N, but targets a lower API level, and the user changes display size, the app process is killed.

The app must be able to gracefully handle this scenario. Otherwise, it crashes when the user restores it from Recents.

You should test your app to ensure that this behavior does not occur. You can do so by causing an identical crash when killing the app manually via DDMS.

www.letsnurture.com

Page 10: Android n and beyond

Other important points

Apps targeting N and above are not automatically killed on density changes; however, they may still respond poorly to configuration changes.

Apps on Android N should be able to gracefully handle configuration changes, and should not crash on subsequent starts.

You can verify app behavior by changing font size (Setting > Display > Font size), and then restoring the app from Recents.

Page 11: Android n and beyond

TV Recording

www.letsnurture.com

Page 12: Android n and beyond

Changing Sizes

www.letsnurture.com

Page 13: Android n and beyond

Data Saver

www.letsnurture.com

Page 14: Android n and beyond

Add settings Link On App Info Screen

www.letsnurture.com

Page 15: Android n and beyond

Ready to Develop with and For Android N

www.letsnurture.com

Page 16: Android n and beyond

Visit Letsnurture for more

www.letsnurture.com