Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's new in Android N

What's new in Android N

BLRDroid Post IO Meetup : 4th June 2016

Brijesh Masrani

June 02, 2016
Tweet

More Decks by Brijesh Masrani

Other Decks in Programming

Transcript

  1. 3 Agenda • Multi-window • Notification • Profile guided compilation

    • Doze 2.0 • Project Svelte • Data Saver • Quick Settings • Scoped Directory Access • Multilingual Support • JAVA 8 • Misc Features
  2. How to use on Device? ◦ Recent Apps screen ◦

    Long press on recent apps button 8
  3. Application Changes • Activity Life Cycle (No changes) • Manifest

    Attributes ➔ ➔ 9 Drag and Drop across application
  4. 13

  5. 14 • Template updates • Message style customization • Bundled

    notifications • Direct reply • Custom views New Updates
  6. 23

  7. 41 • Reduce cellular data roaming, near the end of

    the billing cycle, or on a small prepaid data pack. • Apps should check whether the user has enabled Data Saver and make an effort to limit foreground and background data usage. • Users can whitelist specific apps
  8. 48 ➔ Default and static interface methods ➔ Lambda expressions

    ➔ Repeatable annotations ➔ Method References Legacy javac toolchain: javac (.java --> .class) --> dx (.class --> .dex) New Jack toolchain: Instant Run won’t support Jack (.java --> .jack --> .dex) Configuring Gradle android { defaultConfig { jackOptions { enabled true } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } }
  9. 50

  10. 54 ★ VR Support ★ APK Signature Scheme v2 (v2SigningEnabled

    false) ★ Number Blocking ★ New Emojis (Paint.hasGlyph(String s)) ★ Android TV Recording ★ Direct Boot ★ Display Size (make sure app works on sw320dp) ★ Emergency Contact ★ Quick App Switch
  11. 55 Graphics ★ OpenGL™ ES 3.2 API ★ Vulkan API

    Vulkan is an open standard for 3D graphics and rendering maintained by the Khronos Group. WORK ★ Turn off work ★ Always on VPN ★ Support library announcement ★ Bugs in Top Apps due to N
  12. 56 References • Notification :- https://medium.com/exploring- android/android-n-introducing-upgraded-notifications- d4dd98a7ca92#.v8bh74dbz • Google

    IO Session :- https://t.co/9UJnVOgOgs • API Overview https://developer.android. com/preview/api-overview.html