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

Android N Preview

Android N Preview

Presented at Android Listener on March 16th, 2016

Avatar for Bryan Sills

Bryan Sills

March 16, 2016
Tweet

More Decks by Bryan Sills

Other Decks in Technology

Transcript

  1. Android N Developer Preview • First developer preview released last

    week (March 9th) • 5 preview updates planned ◦ ~ 1 a month planned ◦ Final APIs in June ◦ Apps can submit to the Play Store in June • Planned to be released Q3
  2. Developer Change 1: Multi-Window Support • Apps support multi-window by

    default ◦ To opt-out, target N set android:resizeableActivity = ”false” • On focus change, onPause/onResume will be called • New Manifest layout parameters, new Activity methods, new Intent flag • More information should be available at Google I/O
  3. Developer Change 2: Multiple Locales • Users can now select

    multiple Locales (eg. bilingual users selecting English and Spanish) • Make sure your app does not have gaps in translations • Look for uses of android.R.string.* • Resolution strategy has changed ◦ Tries to display strings in correct language, even if country/region doesn’t match
  4. Developer Change 3: Notifications • Now supports Direct Reply via

    RemoteInput API • Supports bundling notifications via NotificationCompat.Builder.setGroup()
  5. Developer Change 4: Accessibility Features • Users now select font

    size and whether to enable Talk Back at device setup • Users can quickly switch font size • Handle font size changes • Use android:contentDescription when needed
  6. Developer Change 5: Background Power and Network Optimizations • Doze

    is now more aggressive. Will now activate even if device is moving. ◦ Use JobScheduler to make sure your work happens during the maintenance windows • CONNECTIVITY_ACTION Broadcast is removed ◦ Only foreground apps can monitor changes in network connectivity • Apps can query Data Saver settings
  7. More Changes... • Java 8* • Storage Changes • Network

    Security Configuration • Impending death of Intent Service?