Posts

Showing posts with the label android 5.0

Android 5.0 Behavior Changes

Android 5.0 Behavior Changes API Level: 21 Along with new features and capabilities, Android 5.0 includes a variety of system changes and API behavior changes. This document highlights some of the key changes that you should be understand and account for in your apps. If you have previously published an app for Android, be aware that your app might be affected by these changes in Android 5.0. For a high-level look at the new platform features, instead see the  Android Lollipop highlights . Android Runtime (ART) In Android 5.0 the ART runtime replaces Dalvik as the platform default. The ART runtime was introduced in Android 4.4 on an experimental basis. For an overview of ART's new features, see  Introducing ART . Some of the major new features are: Ahead-of-time (AOT) compilation Improved garbage collection (GC) Improved debugging support Most Android apps should just work without any changes under ART. However, some techniques that work on Dalvik do...

Android 5.0 APIs

Android 5.0 APIs API Level: 21 Android 5.0 ( LOLLIPOP ) offers new features for users and app developers. This document provides an introduction to the most notable new APIs. If you have a published app, make sure to check out the  Android 5.0 Behavior Changes  that you should account for in your app. These behavior changes may affect your app on Android 5.0 devices, even if you are not using new APIs or targeting new functionality. For a high-level look at the new platform features, instead see the  Android Lollipop highlights . Start developing To start building apps for Android 5.0, you must first  get the Android SDK . Then use the  SDK Manager  to download the Android 5.0 SDK Platform and System Images. Update your target API level To better optimize your app for devices running Android 5.0, set your targetSdkVersion  to  "21" , install your app on an Android 5.0 system image, test it, then publish the updated app with thi...