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.

getColor(int id) deprecated on Android 6.0 Marshmallow (API 23)

The Resources.getColor(int id) method has been deprecated. @ColorInt @Deprecated public int getColor(@ColorRes int id) throws NotFoundException { return …

android android-resources android-6.0-marshmallow android-mnc
Android marshmallow request permission?

I am currently working on an application that requires several "dangerous" permissions. So I tried adding "ask for permission" as …

android android-6.0-marshmallow android-permissions
Storage permission error in Marshmallow

In Lollipop, the download functionality works fine in my app, but when I upgraded to Marshmallow, my app crashes and …

android permissions android-6.0-marshmallow
Android M - check runtime permission - how to determine if the user checked "Never ask again"?

According to this: http://developer.android.com/preview/features/runtime-permissions.html#coding an app can check for runtime permissions and …

android android-permissions android-6.0-marshmallow
Android 6.0 multiple permissions

I know that Android 6.0 has new permissions and I know I can call them with something like this if (ContextCompat.…

java android permissions android-6.0-marshmallow android-permissions
How to programmatically open the Permission Screen for a specific app on Android Marshmallow?

I have a question regarding the new Android Marshmallow release: Is it achievable to display the Permission Screen for a …

android android-permissions android-6.0-marshmallow
Neither user 10102 nor current process has android.permission.READ_PHONE_STATE

I am trying to call getCallCapablePhoneAccounts() method of android.telecom.TelecomManager class. Though i have added required user-permission, i am …

android android-6.0-marshmallow
Android 6.0 Marshmallow. Cannot write to SD Card

I have an app that uses external storage to store photographs. As required, in its manifest, the following permissions are …

android android-sdcard android-6.0-marshmallow
How to check the multiple permission at single request in Android M?

I want to use the android.permission.CAMERA android.permission.WRITE_EXTERNAL_STORAGE in single request using ActivityCompat.requestPermissions(Activity …

android android-6.0-marshmallow runtime-permissions
ConnectivityManager getNetworkInfo(int) deprecated

Using compileSdkVersion 23, however trying to support as far back as 9. getNetworkInfo(int) was deprecated in 23. The suggestion was to use …

android networking android-6.0-marshmallow android-connectivitymanager