Top "Android-6.0-marshmallow" questions

Android Marshmallow, formerly known as just "Android M", is version 6.0 of Android, is supporting API Level 23, and began shipping in October 2015.

Permission from manifest doesn't work in Android 6

It completely ignores: <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> So I got exception: Caused by: android.…

android android-6.0-marshmallow
Requesting and allowing WRITE_EXTERNAL_STORAGE permission at runtime has no effects on the current session

this is regarding the new model of runtime permissions introduced in Android Marshmallow when requesting Manifest.permission.WRITE_EXTERNAL_STORAGE …

android permissions runtime file-permissions android-6.0-marshmallow
How to open application permission window in app settings programmatically

I'm working on new permission model (Android 6.0 Marshmallow) and I wonder is there a way to open the application's permission …

android permissions android-6.0-marshmallow android-settings
Android getAllNetworkInfo() is Deprecated. What is the alternative?

I want to use the ConnectivityManager which provides the getAllNetworkInfo() method for checking the availability of network in Android. This …

android networking android-6.0-marshmallow
Android Marshmallow: Test permissions with Espresso?

The new permissions scheme introduced by Android Marshmallow requires checking for specific permissions at runtime, which implies the need to …

android permissions android-espresso android-6.0-marshmallow
Android notification setSound is not working

In my hybrid Cordova Android app targeting API 23+ I want to use a custom sound for notifications. To that end …

android uri android-notifications android-6.0-marshmallow
How app can access files on USB OTG storages in Android 6.0 (API level 23) without root?

Android 6.0 Developer Preview (API level 23) can natively mounts external removable USB OTG storages out-of-the-box without any additional apps (for more …

android file-io android-6.0-marshmallow android-external-storage usb-otg
Go to My app's App Permission screen

Is there an Intent to go to my Application's "App Permissions" screen in Android-M? I am making my App ready …

android permissions android-6.0-marshmallow
How to shift device in Doze Mode (Android Preview M / Marshmallow)?

I followed steps described here: https://developer.android.com/preview/testing/guide.html#doze-standby Circumstances: Android Debug Bridge version 1.0.32 Nexus 9 …

android android-6.0-marshmallow android-doze