Posts

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...

Android 5.1 APIs

Android 5.1 APIs API Level: 22 Android 5.1 ( LOLLIPOP_MR1 ) is an update to the Lollipop release that offers new features for users and app developers. This document provides an introduction to the most notable new APIs. For a high-level look at the new platform features, see the  Android Lollipop highlights . Update your target API level To start building apps for Android 5.1, use the  SDK Manager  to download the Android 5.1 SDK Platform and System Images. Then set your app development project to use a  targetSdkVersion  of  "22" . Install your app on an Android 5.1 system image, test it, then publish the updated app with this change. You can use Android 5.1 APIs while also supporting older versions by adding conditions to your code that check for the system API level before executing APIs not supported by your  minSdkVersion . To learn more about maintaining backward compatibility, read  Supporting Different Platform Versions . ...

Android Lollipop

Image
Android Lollipop Welcome to Android 5.0 Lollipop—the largest and most ambitious release for Android yet! This release is packed with new features for users and thousands of new APIs for developers. It extends Android even further, from phones, tablets, and wearables, to TVs and cars. For a closer look at the new developer APIs, see the  Android 5.0 API Overview . Or, read more about Android 5.0 for consumers at  www.android.com . Material design Note:  The Android 5.1 Lollipop MR1 update is available with additional features and fixes. For more information, see the  Android 5.1 API Overview . Android 5.0 brings  Material design  to Android and gives you an expanded UI toolkit for integrating the new design patterns easily in your apps. New  3D views  let you set a z-level to raise elements off of the view hierarchy and cast  realtime shadows , even as they move. Built-in  activity transitions  take the user seam...