{"id":20679,"date":"2015-10-08T14:17:40","date_gmt":"2015-10-08T21:17:40","guid":{"rendered":"https:\/\/blog.xamarin.com\/?p=20679"},"modified":"2019-04-03T15:32:08","modified_gmt":"2019-04-03T22:32:08","slug":"mix-some-marshmallow-into-your-android-apps","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/xamarin\/mix-some-marshmallow-into-your-android-apps\/","title":{"rendered":"Mix Some Marshmallow Into Your Android Apps"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignright size-medium wp-image-20688\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Marshmallow-300x300.png\" alt=\"Marshmallow Android\" width=\"175\" \/>Today we are releasing our latest update to\u00a0Xamarin.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 <a href=\"https:\/\/blog.xamarin.com\/requesting-runtime-permissions-in-android-marshmallow\/\">Runtime Permissions<\/a>, <a href=\"https:\/\/blog.xamarin.com\/add-a-conversation-to-your-android-app-with-voice-interactions\/\">Voice Interactions<\/a>, and Fingerprint Authorization.<\/p>\n<h3>Even More APIs!<\/h3>\n<p>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.<\/p>\n<h4>Google Play Services 7.8<\/h4>\n<p>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&#8217;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 <a href=\"https:\/\/components.xamarin.com\/?search=google+play+services\" title=\"Google Play Services\">component today<\/a>.<\/p>\n<p>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 <a href=\"https:\/\/www.nuget.org\/packages\/Xamarin.GooglePlayServices.Base\/27.0.0-rc3\">available directly from NuGet<\/a> for now.<\/p>\n<h4>Android Support Libraries Revision 23<\/h4>\n<p>In the past we have covered how to leverage the Android Support Libraries to <a href=\"\/add-beautiful-material-design-with-the-android-support-design-library\/\">add material design widgets<\/a>, <a href=\"\/android-tips-hello-toolbar-goodbye-action-bar\/\">gain access to the toolbar<\/a>, and <a href=\"https:\/\/blog.xamarin.com\/android-tips-hello-material-design-v7-appcompat\/\">add Material theming with AppCompat<\/a>. 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&#8217;s also a new preference and custom tab support library. You can find these libraries and more Android support libraries on the <a href=\"https:\/\/components.xamarin.com\/?search=android+support\" title=\"Android Support Libraries\">Component Store<\/a>.<\/p>\n<h3>Live Fast Track to Marshmallow\u2014The Montemagno Tour de Force<\/h3>\n<p>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.\n&nbsp;\n<iframe width=\"854\" height=\"480\" src=\"https:\/\/www.youtube.com\/embed\/k02yzSM8OTI\" frameborder=\"0\" allowfullscreen><\/iframe>&nbsp;<\/p>\n<h3>Installing Android Marshmallow<\/h3>\n<ul>\n<li>Starting with Android Lollipop, Java JDK 1.7 is required to properly compile apps. You can download one for your system <a href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk7-downloads-1880260.html\" target=\"_blank\">from Oracle&#8217;s website<\/a>.<\/li>\n<li>Update your Android SDK Tools to 24.4 or higher from the Android SDK Manager.<\/li>\n<li>Install the latest Android SDK Platform and Platform and Build-tools (currently 23.0.1).<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-21652\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Android-Tools-1024x255.png\" alt=\"Android Tools\" width=\"600\" \/><\/p>\n<ul>\n<li>Download the Android 6.0 Marshmallow (API 23) SDK.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-20687\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/M-SDK-1024x398.png\" alt=\"M-SDK\" width=\"600\" \/>\nXamarin Studio on Mac OS X or PC:<\/p>\n<ul>\n<li>Update the &#8220;Stable&#8221; channel in Xamarin Studio.\n<ul>\n<li>Xamarin Studio\u2192Check for Updates<\/li>\n<\/ul>\n<\/li>\n<li>Install the latest updates.<\/li>\n<\/ul>\n<p>Windows users with Visual Studio:<\/p>\n<ul>\n<li>Update the &#8220;Stable&#8221; channel in Visual\u00a0Studio.\n<ul>\n<li>Tools\u2192Options\u2192Xamarin\u2192Android Settings<\/li>\n<\/ul>\n<\/li>\n<li>Install the Xamarin for Visual\u00a0Studio extension update.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-18865\" src=\"\/wp-content\/uploads\/sites\/44\/2019\/04\/devices-hero_620px_2x-1024x591.png\" alt=\"Android M\" width=\"600\" \/><\/p>\n<h3>Getting Started<\/h3>\n<p>With this update, you should have\u00a0all the new APIs available to use in your Xamarin.Android apps.\u00a0Check out our <a href=\"http:\/\/developer.xamarin.com\/releases\/android\/xamarin.android_5\/xamarin.android_5.1.7\/\" title=\"Xamarin.Android release notes\" target=\"_blank\">release notes<\/a>, download links, and\u00a0more details on our <a href=\"http:\/\/developer.xamarin.com\/guides\/android\/platform_features\/introduction-to-m\/\" title=\"Android M documentation\" target=\"_blank\">Introduction to Android Marshmallow<\/a> documentation to guide you through setup and the new APIs.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we are releasing our latest update to\u00a0Xamarin.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. [&hellip;]<\/p>\n","protected":false},"author":1917,"featured_media":21212,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[5],"class_list":["post-20679","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developers","tag-android"],"acf":[],"blog_post_summary":"<p>Today we are releasing our latest update to\u00a0Xamarin.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. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/20679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/users\/1917"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/comments?post=20679"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/20679\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media?parent=20679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/categories?post=20679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/tags?post=20679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}