Questions tagged [android-6.0-marshmallow]

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.

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

It was first shown at Google I/O 2015, with the final name confirmed on August 17th.

All API changes

Here is a summary of the major API-changes:

  • Runtime Permissions
  • Power-Saving Optimizations
  • Adoptable Storage Devices
  • Apache HTTP Client Removal
  • AudioManager Changes
  • Notifications
  • Text Selection
  • Android Keystore Changes
  • Wi-Fi and Networking Changes
  • Camera Service Changes
  • Runtime
  • Access to Hardware Identifier
  • APK Validation
  • USB Connection
  • Android for Work Changes

Official:

2168 questions
1
vote
2 answers

FileNotFound EACCESS when opening file Android Marshmallow

During automated tests for my product, I push files to the apps private directory and chmod the file so that the app can access it. On APIs < Marshmallow, this was fine and the apps never had an issue accessing files. Now, on some files, I get the…
Reuben Tanner
  • 5,229
  • 3
  • 31
  • 46
1
vote
1 answer

Very simple WebView crashes under API 23 Emulator

I have just created an API 23 emulator on my machine: HAXM: v1.4 with 1GB allocated RAM AVD Base: Nexus 4 RAM: 768MB, and 896MB in a second try Heap: 64 MB GPU acceleration: no I tried it successfully with a few apps of my own. But each time I try…
Shlublu
  • 10,917
  • 4
  • 51
  • 70
1
vote
2 answers

Android 6.0 Permissions

I am working on a big project with a reasonably big code base. What I want to ask you is hints on how to reliably check where I have to provide a solution to adapt for android 6.0 . What i have used is Analyze > Inspect Code , it does a static…
Rubin
  • 202
  • 1
  • 3
  • 13
1
vote
1 answer

Action bar drawer toggle seizes to work with API 23 (appcompat_v7)

I recently included the appcompat v7 library to my project. In trying to get rid of bunch of errors, I updated most of my SDK files and changed my target SDK version to 23 from 21. The problem is, my old code for designing the Navigation Drawer…
1
vote
1 answer

Android M - runtime permission. Is it possible to get all permissions required for the app in single click?

requestPermissions(..) ends up giving multiple permission requests where user needs to keep pressing allow or deny button. Is it possible to get the popup with some check box or so .. Or at least single accept or deny for all the permissions?
Aun
  • 1,883
  • 1
  • 17
  • 26
1
vote
1 answer

Run Time Permission check license Android M

I have a problem with the runtime permission. I'm updating my Android application to support Android M and the new system of permission. I took a look at the code example and I think I have understood the operation, instead of what I can not…
1
vote
0 answers

How can I recreate the latest Marshmallow Volume Expand/Collapse Animation?

I am implementing an expand/collapse list control. See how the carrot below animates when the volume is expanded or collapsed? I would like to use that exact same animation. Is this AnimatedVectorDrawable available anywhere? Note - I am okay with…
ZakTaccardi
  • 12,212
  • 15
  • 59
  • 107
1
vote
0 answers

Android Receiver for wifi web login

I have a wifi whit web autentication ej:https://weblogin/login To login it show a web explorer dialog to select with what browser i do the login I want to made an app that can be select when i conect to a wifi whit captive portal web login handles…
Rolando Corratge Nieves
  • 1,233
  • 2
  • 10
  • 25
1
vote
6 answers

how to handle runtime permission auth in android M

I want to know the best practise to ask user for permission check and the code to run if user declines that particular permission access.
user5256707
1
vote
0 answers

App standby and emulator

Is it possible to set an app in standby mode with Android emulator? I tried with adb commands (set-inactive and get-inactive), but the idle state is always false.
greywolf82
  • 21,813
  • 18
  • 54
  • 108
1
vote
1 answer

Normal permission is part of permission group that has non normal permissions. Does this grant all the group

So I have been reading the permission doc on Android developer official website with regard to the new permission model. One thing that confuses me is, the permission group. They say that if your user accept a permission from this permission group…
Snake
  • 14,228
  • 27
  • 117
  • 250
1
vote
2 answers

Activity.onProvideAssistContent() example

Could anybody give mi an example of using Activity.onProvideAssistContent(), new in Android 6.0?
Yair Kukielka
  • 10,686
  • 1
  • 38
  • 46
1
vote
1 answer

Context in Marshmallow

Question is about context, it return null on first time running after installing app. Do I need permissions? Earlier versions work. Android developer preview v3 (nexus5) public class App extends Application { private static App application; …
1
vote
0 answers

Android M, loading a MapFragement without ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION

I am working on an Android M project where the user gets prompted for Location permission to view a map, in case of denial I would like to show just a U.S continental view (without the user's location), for some reason I am not able to achieve that.…
MR Mido
  • 1,618
  • 4
  • 25
  • 35
1
vote
1 answer

Ask for SYSTEM-permission on Android M?

The desciption for the new permission-model on Android M doesn't state what happens with SYSTEM-permissions which are granted only for app under /system/priv-app normally: Limited Permissions Granted at Install Time: When the user installs or…
Martin L.
  • 3,006
  • 6
  • 36
  • 60