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

What's new in Android M

What's new in Android M

Speaking about newest features in Android M for users and developers.

2aec47eb9a940c619f05972f0db5aa00?s=128

Kirill Rozov

December 10, 2015
Tweet

Transcript

  1. What’s new in Android 6.0

  2. Runtime Permissions

  3. Privacy & Security • Runtime Permission • Advanced permission controls

    for all apps • Verified boot • Fingerprint sensors support • BorringSSL replace OpenSSL • Android Keystore provider no longer support DSA • APK validation
  4. Doze Mode

  5. Doze Mode Restriction • Network access is suspended • The

    system ignores wake locks • The system doesn’t perform Wi-Fi scans • The system doesn’t allow sync adapter to run • The system doesn’t allow JobScheduler to run • Standart AlarmManager alarms are deferred to the next maintaince window • If you need to set alarms that fire while in Doze, use setAndAllowWhileIdle() or setExactAndAllowWhileIdle(). • Alarms set with setAlarmClock() continue to fire normally — the system exits Doze shortly before those alarms fire.
  6. Active app for App Standby conditions • The user explicitly

    launches the app • The app has a process in the foreground • The app generates a notification that users see on the lock screen on in the notification tray
  7. Battery Features • Doze Mode • App Standby Mode •

    USB Type C Support • More power efficient Bluetooth Low Energy scanning
  8. Now on Tap

  9. Direct Share

  10. Text Selection Easier selection Floating palette with action items Default

    for TextView Other views set ActionMode.TYPE_FLOATING
  11. Device setup and migration • Improved transfer accounts, apps and

    data to a new device • Auto backups for Apps • Additional system settings backup
  12. Performance Improvements • ART runtime improvement • faster application •

    lower memory overhead • faster multitasking • dead code elimination • bounds check elimination • Improved text rendering performance
  13. System UI Tuner

  14. Demo Mode

  15. Other features • App Links • Apache HTTP client removed

    • Bluetooth stylus support • Improved “Do not Disturb” • Simplified volumes control • Update Google Now Launcher • Bluetooth SAP Support • Android for Work update • Improved text input • Hotspot 2.0 Support
  16. Devices

  17. Developer Tools

  18. Android Studio

  19. Built-in SDK Manager

  20. C++ Support

  21. Vector Assets

  22. Theme Editor

  23. Android Memory (HPROF) Viewer

  24. Allocation Tracker

  25. GPU Rendering Monitor

  26. Network Monitor

  27. Other features • Firebase integration • Heap dump analyse (v1.5)

    • Updated Android Gradle Plugin • Updated Systrace
  28. New Libraries • Design Support Library • Custom Tabs Support

    Library • Preference v7, v14 Support Libraries • Preference v17 Support Library for TV • App Recommendation Support Library for TV • Percent Support Library • Data Binding Support Library
  29. Design Support Library • TextInputLayout • FloatingActionButton • Snackbar •

    TabLayout • NavigationView • Nested Scrolling Support • Update All Standard Widgets to Material Style • FAB • CoordinatorLayout • AppBarLayout • CollapsingToolbarLayout • Swipe to Dismiss • Drawable tinting on pre- Lollipop devices
  30. Design Support Library • TextInputLayout • FloatingActionButton • Snackbar •

    TabLayout • NavigationView
  31. Design Support Library • TextInputLayout • FloatingActionButton • Snackbar •

    TabLayout • NavigationView
  32. Design Support Library • TextInputLayout • FloatingActionButton • Snackbar •

    TabLayout • NavigationView
  33. Design Support Library • TextInputLayout • FloatingActionButton • Snackbar •

    TabLayout • NavigationView
  34. Design Support Library • TextInputLayout • FloatingActionButton • Snackbar •

    TabLayout • NavigationView
  35. Annotation Support Library • Thread Annotations • @BinderThread • @WorkerThread

    • @UiThread • @MainThread • @CallSuper • @CheckResult • @ColorInt • @IntRange • @Size • @RequiresPermission
  36. Percent Support Library • PercentFrameLayout • PercentRelativeLayout

  37. Percent Layout Params • layout_widthPercent • layout_heightPercent • layout_marginPercent •

    layout_marginLeftPercent • layout_marginTopPercent • layout_marginRightPercent • layout_marginBottomPercent • layout_marginStartPercent • layout_marginEndPercent • layout_aspectRatio
  38. PercentRelativeLayout Sample <android.support.percent.PercentRelativeLayout> <ImageView android:id=”@+id/centered_image” android:layout_gravity=”center” app:layout_widthPercent="50%" app:layout_heightPercent="50%" /> <TextView

    android:id=”@+id/caption” android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below=”@id/centered_image” android:layout_gravity=”center_horizontal” app:layout_marginStartPercent=”25%” app:layout_marginEndPercent=”25%” /> </android.support.percent.PercentRelativeLayout>
  39. PercentRelativeLayout Sample <android.support.percent.PercentRelativeLayout> <ImageView android:layout_width="300dp" app:layout_aspectRatio="150%" /> </android.support.percent.PercentRelativeLayout>

  40. PercentRelativeLayout Sample <android.support.percent.PercentRelativeLayout> <ImageView android:layout_width="300dp" android:layout_height="450dp" /> </android.support.percent.PercentRelativeLayout>

  41. Recycler View Support Library • ItemTouchHelper • Drag And Drop

    • Swipe to Dismiss • Item content animation
  42. The End