Mix Some Marshmallow Into Your Android Apps

Avatar

Miguel

Marshmallow Android Today we are releasing our latest update to Xamarin.Android, featuring support for Android 6.0 (Marshmallow). Android Marshmallow adds several new features for Android developers to integrate into their apps, including the new Runtime Permissions, Voice Interactions, and Fingerprint Authorization.

Even More APIs!

Android Marshmallow is much more than the APIs bundled into the latest Android release. There are a series of new SDKs available to Android developers with Google Play Services and the Android Support Libraries.

Google Play Services 7.8

Google Play Services 7.8 contains a bunch of new goodies to take advantage of, including Nearby Messages to detect and connect nearby devices using Bluetooth, Wi-Fi, and ultrasonic audio. On top of this, there’s also new support for Mobile Vision to use face detection and barcode scanning in your apps and new enhancements to Google Cloud Messaging for push notifications. Download the component today.

We are also providing a release candidate of Google Play Services 8.1, the first version to fully support Marshmallow changes like the new permission model. Since Google has decided to change some of the API, the component is available directly from NuGet for now.

Android Support Libraries Revision 23

In the past we have covered how to leverage the Android Support Libraries to add material design widgets, gain access to the toolbar, and add Material theming with AppCompat. The latest revision adds even more great features, including a brand new percent package that provides access to support for adding and managing percentage based dimensions for widgets in your app. There’s also a new preference and custom tab support library. You can find these libraries and more Android support libraries on the Component Store.

Live Fast Track to Marshmallow—The Montemagno Tour de Force

Xamarin Developer Evangelist James Montemagno dives through the exciting new features in Android Marshmallow, Google Play Services, and the brand new Support Libraries that are ready for your app consumption in this webinar recording.
 
 

Installing Android Marshmallow

  • Starting with Android Lollipop, Java JDK 1.7 is required to properly compile apps. You can download one for your system from Oracle’s website.
  • Update your Android SDK Tools to 24.4 or higher from the Android SDK Manager.
  • Install the latest Android SDK Platform and Platform and Build-tools (currently 23.0.1).

Android Tools

  • Download the Android 6.0 Marshmallow (API 23) SDK.

M-SDK
Xamarin Studio on Mac OS X or PC:

  • Update the “Stable” channel in Xamarin Studio.
    • Xamarin Studio→Check for Updates
  • Install the latest updates.

Windows users with Visual Studio:

  • Update the “Stable” channel in Visual Studio.
    • Tools→Options→Xamarin→Android Settings
  • Install the Xamarin for Visual Studio extension update.

Android M

Getting Started

With this update, you should have all the new APIs available to use in your Xamarin.Android apps. Check out our release notes, download links, and more details on our Introduction to Android Marshmallow documentation to guide you through setup and the new APIs.

Avatar
Miguel de Icaza

Follow Miguel   

0 comments

    Leave a comment