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.

How does storage access change on Android 6?

Background Android had a lot of changes as to how to handle the SD-card and storage in general: API 3 - …

android sd-card android-permissions android-external-storage android-6.0-marshmallow
Android M request permission non activity

My widget makes calls to secure permissions outside of an Activity scope. Is it possible to request permissions for Android …

android android-6.0-marshmallow
Open app permission settings

Regarding granular permissions on Android M. In case the user denies twice the request for a permission, Or that the …

android permissions android-6.0-marshmallow
Is it available to set checkSelfPermission on minimum SDK < 23?

New runtime permissions in Android-M asking for minimum 23 API level, but I still need minimum 16 API level in my project. …

android android-6.0-marshmallow
How to make Alarm Manager work when Android 6.0 in Doze mode?

I am a developer of two alarm clock apps on Google Play. I am trying to get them to work …

android alarmmanager android-6.0-marshmallow
How do I properly fire ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS intent?

As stated in the documentation: "An app holding the REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission can trigger a system dialog to …

android android-intent optimization android-6.0-marshmallow android-doze
How Do We Distinguish Never-Asked From Stop-Asking in Android M's Runtime Permissions?

When it comes to the M Developer Preview runtime permissions, according to Google: If you have never asked for a …

android android-permissions android-6.0-marshmallow
CollapsingToolBarLayout - status bar scrim color doesn't change

I updated my android studio few days ago and started working with the CoordinatorLayout and CollapsingToolbarLayout just trying stuff. It …

android android-toolbar android-6.0-marshmallow android-collapsingtoolbarlayout
Android M write to SD Card - Permission Denied

I'm trying to copy file from within my application to the SD card, but I get the error eacces (permission …

android android-6.0-marshmallow
App crashes with SecurityException on Android M

Yesterday I set upped target and compile sdk to 23 API level. When I launched the app on Nexus 9 with Preview …

android android-permissions android-6.0-marshmallow android-developer-api