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
1 answer

how to display a perfect 4k picture android TV?

i have a task in my company. they want me to display a 4k resolution image (4096 X 2160) on the android TV that we are working now by only using Android java code. one thing that i to have mention is, our tv resolution is 1920 X 1080. i got this…
squall leonhart
  • 301
  • 1
  • 5
  • 16
1
vote
0 answers

Is there any way to intercept Android M Bluetooh off scanning data?

I just have read that Android M performs bluetooth scanning even when the bluetooth is off (Here is the first question: Is it only BLE scanning?). So i thought it would be reallly nice to intercept that scanning data to discover the beacons. I…
1
vote
0 answers

Doze mode and GCM notifications

I've followed this stackoverflow post to set my Nexus 5 device to the 'IDLE' state with adb, after switching off the screen. > adb shell dumpsys battery unplug > adb shell dumpsys deviceidle step Stepped to: IDLE Despite this, I am able to see…
1
vote
0 answers

DialogFragment containing a DatePicker Crashing with InflateException on devices running Android M

I have a DialogFragment containing a DatePicker which is working fine for devices running 5.0 and below but crashing on Android M. public static class DatePickerFragment extends DialogFragment implements DatePickerDialog.OnDateSetListener,…
pgiitu
  • 1,671
  • 1
  • 15
  • 23
1
vote
0 answers

SSL Communication between Android Marshmallow and Java server

I have an Android client and a Java Server that communicate with a SSL socket. The communication works well with an Android version < 6.0. With Android 6.0 I have this exception: javax.net.ssl.SSLHandshakeException: no cipher suites in common at…
mary
  • 335
  • 1
  • 3
  • 11
1
vote
1 answer

Why does Android Marshallow UITest Reboots Device

When trying to update our app to work correctly with Android Marshmallow (API lvl 23) I went to run our UITest tests and found that on both physical devices and on the emulator the entire device reboots as if it has crashed. This occurs when both…
cdbitesky
  • 1,390
  • 1
  • 13
  • 30
1
vote
0 answers

bind to another app service in standby mode

In android 6 there are a new feature named Standby app mode. According to documentation - app in standby mode not allowed to do background work and network communications. Let's consider I have two applications, one client and second app with…
orium
  • 3,743
  • 2
  • 24
  • 27
1
vote
1 answer

Alarm manager for background services

I have implemented the alarm manager to wake up the background services every 15 mins periodically. It is working fine, but since the inclusion of DOZE mode Android 6.0, the seems like behaving strange and not waking up in every 15 mins. Although, I…
1
vote
1 answer

ACTION_ASSIST intent on Marshmallow (Android 6.0)

Is there a way to use the ACTION_ASSIST (Google now) intent on Android 6.0? I think this might have changed with the now on tap feature - but perhaps (hopefully) there is still a way to hook into this.
ligi
  • 39,001
  • 44
  • 144
  • 244
1
vote
2 answers

Android M getSharedPreferences is crashing in release build

I have a problem with the use of the function getPreferences/getSharedPreferences under Android M (Nexus 5/Clean install) When debugging is turned on (debug&release build), there is no problem, but when i make a release build with debugging off,…
1
vote
1 answer

Android M CDD - runtime permissions requirements

Can someone please help me understand the following CDD requirement: MUST NOT grant any runtime permissions to preinstalled apps unless: the user's consent can be obtained before the application uses it the runtime permissions are associated with…
Sai
  • 2,089
  • 3
  • 19
  • 30
1
vote
2 answers

Camera crashes after taking picture and hitting ok in Android Marshmallow.?

I am new to Android. I am creating ImageUpload Activity in my Android App but it is working fine under the Apk(23). But whenever I try it on Android Marshmallow it crashes after clicking picture. HERE IS MY MANIFEST FILE
Abhishek
  • 1,654
  • 2
  • 18
  • 31
1
vote
1 answer

Android does not have permission to read content://media/external/audio/media

In my app api level targetSdkVersion 23. I have added permission as follows:
masiboo
  • 4,537
  • 9
  • 75
  • 136
1
vote
1 answer

Android: Video with variable speed API 23

In API 23 PlaybackParams have been added for MediaPlayer support. Has anyone had any luck with the setSpeed method in PlaybackParams? I'm trying to slow down video on MediaPlayer and getting a 100 error (MEDIA_ERROR_SERVER_DIED): References:…
1
vote
2 answers

ENOENT, no such file or directory only on Android 6.0 marshmallow

When I try to run a simple cordova project with an extension called jxcore for running node.js app on ios and android I get the following error. This only appears on android 6.0, in android 5.0 and iOS everything works. How I can fix this problem?
ellipticaldoor
  • 1,122
  • 11
  • 24