{"id":21215,"date":"2020-03-04T10:33:49","date_gmt":"2020-03-04T16:03:49","guid":{"rendered":"https:\/\/www.solutionanalysts.com\/blog\/top-features-of-android-11-from-developers-point-of-view\/"},"modified":"2023-08-16T23:06:54","modified_gmt":"2023-08-17T04:36:54","slug":"android-11-preview","status":"publish","type":"post","link":"https:\/\/www.solutionanalysts.com\/blog\/android-11-preview\/","title":{"rendered":"Top Features of Android 11 from Developer\u2019s Point of View"},"content":{"rendered":"<p>On September 3, 2019, the release day of Android 10, the buzz was so amazing the people were buying a new phone just to utilize cool features of Android 10. Currently, the same excitement is being seen around as the upcoming version Android 11 is also coming with exciting features. Certainly, this version will impact <a href=\"https:\/\/www.solutionanalysts.com\/android-application-development\/\" target=\"_blank\" rel=\"noopener\"><strong>Android app development<\/strong><\/a> services.<\/p>\n<p>How about discussing some of the features of Android 11 from the developer\u2019s point of view?<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7194\" src=\"https:\/\/www.solutionanalysts.com\/blog\/wp-content\/uploads\/2021\/02\/1_1u9FOVUl7HBshqsV8baAFQ.jpeg\" alt=\"developer\u2019s point of view\" width=\"830\" height=\"193\" \/><\/p>\n<p><strong>For better understanding, let\u2019s divide this article into 3 sections.<\/strong><\/p>\n<p><strong>1. New Features, API &amp; Security<br \/>\n2. Migration &amp; Compatibility<br \/>\n3. Testing<br \/>\n<\/strong><br \/>\n<strong>Requisition:<\/strong><br \/>\nGo to all of the links in details to really shape your skills.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"New_Features_API_Security\"><\/span><strong>New Features, API &amp; Security:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong><a href=\"https:\/\/developer.android.com\/reference\/android\/view\/DisplayCutout.html#DisplayCutout(android.graphics.Insets,%20android.graphics.Rect,%20android.graphics.Rect,%20android.graphics.Rect,%20android.graphics.Rect,%20android.graphics.Insets)\" target=\"_blank\" rel=\"nofollow noopener\">Display Cutout API:<\/a><\/strong> Based on the continuous innovation with screens, the <a href=\"https:\/\/developer.android.com\/reference\/android\/view\/WindowManager.LayoutParams.html#LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS\" target=\"_blank\" rel=\"nofollow noopener\">new API<\/a> is been developed for Curved &amp; <a href=\"https:\/\/developer.android.com\/reference\/android\/view\/DisplayCutout.html#getWaterfallInsets()\" target=\"_blank\" rel=\"nofollow noopener\">Waterfall<\/a> screens.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7195\" src=\"https:\/\/www.solutionanalysts.com\/blog\/wp-content\/uploads\/2021\/02\/Bubbles-API.png\" alt=\"Bubbles API\" width=\"695\" height=\"636\" \/><\/p>\n<p><strong><a href=\"https:\/\/developer.android.com\/guide\/topics\/ui\/bubbles\" target=\"_blank\" rel=\"nofollow noopener\">Bubbles API<\/a>:<\/strong> Bubbles are a way to keep conversations in view and accessible while multi-tasking on their phones. Messaging and chat apps should use this on notifications to enable <a href=\"https:\/\/developer.android.com\/guide\/topics\/ui\/bubbles#the_bubble_api\" target=\"_blank\" rel=\"nofollow noopener\">this<\/a> in Android 11.<\/p>\n<p><strong><a href=\"https:\/\/developer.android.com\/preview\/privacy\/storage\" target=\"_blank\" rel=\"nofollow noopener\">Scoped Storage<\/a>:<\/strong> As it all started from Android 10, the features are enhanced now such as opt-in <a href=\"https:\/\/developer.android.com\/preview\/privacy\/storage#test-raw-file-path-access\" target=\"_blank\" rel=\"nofollow noopener\">raw file path access<\/a> for media, updated Documents UI, and batch edit operations in <a href=\"https:\/\/developer.android.com\/preview\/privacy\/storage#permissions-target-11\" target=\"_blank\" rel=\"nofollow noopener\">MediaStore<\/a>.<\/p>\n<p>Permissions dialog that includes Only this time option<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7366\" src=\"https:\/\/www.solutionanalysts.com\/blog\/wp-content\/uploads\/2021\/02\/Permissions1.png\" alt=\"Permissions\" width=\"846\" height=\"383\" \/><\/p>\n<p><strong><a href=\"https:\/\/developer.android.com\/preview\/privacy\/permissions\" target=\"_blank\" rel=\"nofollow noopener\">Permissions<\/a>:<\/strong> Android 11 is being more transparent with permissions and for that new features are added as <a href=\"https:\/\/developer.android.com\/preview\/privacy\/permissions#data-access-auditing\" target=\"_blank\" rel=\"nofollow noopener\">Data Access Auditing<\/a>. By this <a href=\"https:\/\/developer.android.com\/preview\/privacy\/permissions#audit-by-feature\" target=\"_blank\" rel=\"nofollow noopener\">feature<\/a>, end users will better identify &amp; rectify potentially unexpected data access. Another is <a href=\"https:\/\/developer.android.com\/preview\/privacy\/permissions#dialog-visibility\" target=\"_blank\" rel=\"nofollow noopener\">Dialog Visibility<\/a> which says, by tapping \u201cDeny\u201d twice for specific permission, it will be considered as \u201cdon\u2019t ask again\u201d subsequently.<\/p>\n<p>Also, the new <a href=\"https:\/\/developer.android.com\/preview\/privacy\/permissions#one-time\" target=\"_blank\" rel=\"nofollow noopener\">One Time Permission<\/a> contains an option called \u201cOnly this time\u201d for temporary one-time permission. Moreover, if the app targets <a href=\"https:\/\/developer.android.com\/preview\/privacy\/location#target-android-11\" target=\"_blank\" rel=\"nofollow noopener\">Android 11<\/a>, you cannot directly request all-the-time access to background location.<\/p>\n<p><strong><a href=\"https:\/\/developer.android.com\/preview\/features#biometric-auth\" target=\"_blank\" rel=\"nofollow noopener\">Bio-metric Authentication Strength<\/a>:<\/strong> Android 11 introduces the <a href=\"https:\/\/developer.android.com\/reference\/android\/hardware\/biometrics\/BiometricManager.Authenticators\" target=\"_blank\" rel=\"nofollow noopener\">BiometricManager.Authenticators interface<\/a>. Also the <a href=\"https:\/\/developer.android.com\/reference\/android\/hardware\/biometrics\/BiometricPrompt.AuthenticationResult#getAuthenticationType()\" target=\"_blank\" rel=\"nofollow noopener\">AuthenticationResult<\/a> API allows you to check whether the user authenticated using bio-metric or device credentials.<\/p>\n<p><strong><a href=\"https:\/\/developer.android.com\/preview\/features#nnapi\" target=\"_blank\" rel=\"nofollow noopener\">Neural Networks API 1.3<\/a>:<\/strong> <a href=\"https:\/\/developer.android.com\/ndk\/guides\/neuralnetworks\" target=\"_blank\" rel=\"nofollow noopener\">Neural Networks API<\/a> (NNAPI) is designed for running computationally intensive operations for machine learning on Android devices. In Android 11, the operations and controls are expanded and available to developers.<\/p>\n<p>In this release, some new operations and execution controls are added to help optimize common use cases:<\/p>\n<p>\u2022 Quality of Service APIs support priority and timeout for model execution.<br \/>\n\u2022 Memory Domain APIs reduce memory copying and transformation for consecutive model execution.<br \/>\n\u2022 Expanded quantization support, we\u2019ve added <a href=\"https:\/\/www.tensorflow.org\/lite\/performance\/quantization_spec\" target=\"_blank\" rel=\"nofollow noopener\">signed integer asymmetric quantization<\/a> where signed integers are used in place of float numbers to enable smaller models and faster inference.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Migration_Compatibility\"><\/span><strong>Migration &amp; Compatibility<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The Android 11 Preview SDK includes changes that are not compatible with some older versions of Android Studio. So, for the best development experience with the Android 11 Preview SDK, It is recommended that you install the latest preview version of <a href=\"https:\/\/developer.android.com\/studio\/preview\" target=\"_blank\" rel=\"nofollow noopener\">Android Studio 4.0<\/a> Preview.<\/p>\n<p>Though you can compile and test Android 11 apps using Android Studio 3.3 and higher. After all these, you can configure the <a href=\"https:\/\/developer.android.com\/preview\/setup-sdk#update-build\" target=\"_blank\" rel=\"nofollow noopener\">build<\/a> and access the features subsequently.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Testing\"><\/span><strong><a href=\"https:\/\/developer.android.com\/preview\/test-changes#identify\" target=\"_blank\" rel=\"nofollow noopener\">Testing<\/a><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Android 11 introduces new tools for testing and debugging your app against the behavior changes in the latest version of the platform. The main purpose of the compatibility framework is to provide you with control and flexibility as you test your app with a new version of Android.<\/p>\n<p>One should <a href=\"https:\/\/developer.android.com\/preview\/test-changes#when-toggle\" target=\"_blank\" rel=\"nofollow noopener\">toggle<\/a> \u201cOFF\u201d while changing all the apps and should toggle \u201cON\u201d while targeting specific SDK version. There are some <a href=\"https:\/\/developer.android.com\/preview\/test-changes#restrictions\" target=\"_blank\" rel=\"nofollow noopener\">restrictions<\/a> too.<\/p>\n<p><strong>Things To Remember:<\/strong> Implementing Android 11 in your projects at this time can <a href=\"https:\/\/developer.android.com\/preview\/behavior-changes-all\" target=\"_blank\" rel=\"nofollow noopener\">affect the behaviors<\/a>.<\/p>\n<p>Known Issues to take care with: <a href=\"https:\/\/developer.android.com\/preview\/release-notes#known_issues_android_studio_and_tools\" target=\"_blank\" rel=\"nofollow noopener\">android studio and tools<\/a>, <a href=\"https:\/\/developer.android.com\/preview\/release-notes#known_issues_android_auto\" target=\"_blank\" rel=\"nofollow noopener\">android auto<\/a>.<\/p>\n<p>There are too many new or extended features available with Android 11, but this article is for those who want to start some hands-on with their projects with Android 11.<\/p>\n<p>If you found any <a href=\"https:\/\/developer.android.com\/preview\/feedback#templates\" target=\"_blank\" rel=\"nofollow noopener\">issue<\/a> regarding android 11, file it in <a href=\"https:\/\/goo.gl\/qL5TjA\" target=\"_blank\" rel=\"nofollow noopener\">issue tracker<\/a> after checking <a href=\"https:\/\/developer.android.com\/preview\/release-notes\" target=\"_blank\" rel=\"nofollow noopener\">Release Notes<\/a>.<\/p>\n<p>Other Key Features:<br \/>\n\u2022 Performant graphics debug layer injection<br \/>\n\u2022 Batch operations for media files<br \/>\n\u2022 Rich media in quick replies<br \/>\n\u2022 Access to media files using raw file paths<br \/>\n\u2022 Secure sharing of large data sets<br \/>\n\u2022 Requesting and checking for low latency support<br \/>\n\u2022 Low-latency decoding in MediaCodec<br \/>\n\u2022 NDK image decoder<br \/>\n\u2022 Resource loaders<br \/>\n\u2022 Updates to the ICU libraries<br \/>\n\u2022 CallScreeningService updates<br \/>\n\u2022 Wi-Fi Suggestion API<br \/>\n\u2022 Mute notification sounds and vibrations during active capture<\/p>\n<p>To know more, visit <a href=\"https:\/\/developer.android.com\/preview\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/developer.android.com\/preview<\/a><\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/HNR_HtnLOEA\" width=\"663\" height=\"382\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Android 11 is all set to release on May 12, 2020. Let&#8217;s see how its features will bring a radical change in the user experience.<\/p>\n<p>Article Written by Sanket Vekariya<\/p>\n<p><a href=\"https:\/\/www.solutionanalysts.com\/contact\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7193\" src=\"https:\/\/www.solutionanalysts.com\/blog\/wp-content\/uploads\/2021\/02\/Android-11-cta.png\" alt=\"Android-11-cta\" width=\"825\" height=\"100\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On September 3, 2019, the release day of Android 10, the buzz was so amazing the people were buying a new phone just to utilize cool features of Android 10. Currently, the same excitement is being seen around as the upcoming version Android 11 is also coming with exciting features. Certainly, this version will impact [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":21220,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[200],"tags":[],"class_list":["post-21215","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android-apps"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/posts\/21215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/comments?post=21215"}],"version-history":[{"count":2,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/posts\/21215\/revisions"}],"predecessor-version":[{"id":39997,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/posts\/21215\/revisions\/39997"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/media\/21220"}],"wp:attachment":[{"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/media?parent=21215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/categories?post=21215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.solutionanalysts.com\/blog\/wp-json\/wp\/v2\/tags?post=21215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}