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 to add Apache HTTP API (legacy) as compile-time dependency to build.grade for Android M?

As mentioned here, Android M will not support the Apache HTTP API. The docs state to: use the HttpURLConnection class …

android apache httpclient build.gradle android-6.0-marshmallow
How to check Grants Permissions at Run-Time?

In Android M (Preview) the user can choose a specific app and retreive specific permission. So I am asking How …

android android-permissions android-6.0-marshmallow
Android 6.0 open failed: EACCES (Permission denied)

I have added uses-permission including WRITE_EXTERNAL_STORAGE,MOUNT_UNMOUNT_FILESYSTEMS,READ_EXTERNAL_STORAGE to AndroidManifest.xml. When I tried …

java android android-6.0-marshmallow
How to use the legacy Apache HTTP client on Android Marshmallow?

Background On Android Marshmallow, Google has completely removed the support of Apache HTTP client (link here) because it doesn't have …

java android android-gradle-plugin android-6.0-marshmallow
What is com.google.android.gms.persistent and why is it always using the CPU?

Even when nothing else is happening this system process seems to use a steady 1-2% of the CPU. Over the …

android android-6.0-marshmallow
An Android app remembers its data after uninstall and reinstall

While developing an Android app targeting all versions above 4.1, I observed that uninstalling my app and installing it again does …

android android-6.0-marshmallow
Android 5.1.1 and above - getRunningAppProcesses() returns my application package only

It seems Google finally closed all doors for getting the current foreground application package. After the Lollipop update, which killed …

android android-6.0-marshmallow
Android "Screen Overlay Detected" message if user is trying to grant a permission when a notification is showing

I have Android Marshmallow on a Nexus 6. I am trying to fix the following problem: If a user is trying …

android permissions android-6.0-marshmallow
Can't get WRITE_SETTINGS permission

When I have a target API of 23 on Android M Preview 3, I cannot seem to acquire the Manifest.permission.WRITE_…

android android-6.0-marshmallow
Location needs to be enabled for Bluetooth Low Energy Scanning on Android 6.0

After upgrading to Android version 6.0 Bluetooth Low Energy (BLE) scanning will only work if Location services are enabled on the …

android bluetooth bluetooth-lowenergy android-6.0-marshmallow