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 can the Google Photo App read the accounts without permission?

I'm implementing an login quiet similar to the login of the Google Photo App. I'm not testing my App in Android Marshmallow. That requires the permission: Quiet clear no questions…
rekire
  • 47,260
  • 30
  • 167
  • 264
1
vote
1 answer

HttpURLConnnection request failures on Android 6.0 (MarshMallow)

I am using Google's Volley library for my application project , that targets minimum api level 14.So, Volley library uses HttpURLConnection as the NetworkClient. Therefore , there should not be any issue related to Removal of Apache HTTPClient.…
1
vote
1 answer

Why I can not customize permission request dialog on Android 6?

Recently, I met a lot of questions about permission request dialog on new Android Marshmallow. They sound like: How can I customize Android permission dialog? How can I provide custom text to Android permission dialog? Why I can not customize…
Igor Tyulkanov
  • 5,487
  • 2
  • 32
  • 49
1
vote
3 answers

getAllNetworkInfo() is Deprecated

I wrote this code. ConnectivityManager connectivity = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); if (connectivity != null) { NetworkInfo[] info = connectivity.getAllNetworkInfo(); …
senior
  • 15
  • 3
  • 7
1
vote
2 answers

Android M Permission denied after it was granted

I'm getting this error after the permission was allowed and the activity was recreated. I/AppCompatDelegate: The Activity's LayoutInflater already has a Factory installed so we can not install AppCompat's W/EGL_emulation: eglSurfaceAttrib not…
SpyZip
  • 5,511
  • 4
  • 32
  • 53
1
vote
0 answers

NotificationService in android M

My application uses NotificationService which works fine on devices with up to Android L. When trying it on device with android M, service doesn't start. OnCreate is not fired at all. Service is normally declared in AndroidManifest:
1
vote
1 answer

Does access to Contact List has changed in Marshmallow?

Hope is not a kind of stupid question but my app was working until two days ago but after that I got OTA update to upgrade it to Marshmallow. Then after that not only I cannot get list of my contacts, even default device application for showing…
Hesam
  • 52,260
  • 74
  • 224
  • 365
1
vote
2 answers

Android 6.0 permissions error Toast

I am updating the app I am working on to work on Android 6.0. In the beginning the app would crash, but updating the gradle file to use the newest versions of external libs (intercom and GCM services) did the trick and the app runs smoothly. The…
Digital Da
  • 891
  • 1
  • 10
  • 23
1
vote
1 answer

Salesforce SDK -Unable to resolve org.apache.http.* APIs with Android 6.0 build target

I am getting following error when I set Android 6.0 as Project Build target for SalesforceSDK 3.3.0. And I guess because of this Changes in Android 6.0 As I am working on Eclipse - build.gradle file solution does't work. Any help will be…
Bharatesh
  • 8,943
  • 3
  • 38
  • 67
1
vote
0 answers

How to change DH Algorithm size when ssl startHandShake on server

DH Algorithm params is too weak in Android M, like: if (DH_num_bits(dh) < 1024) { OPENSSL_PUT_ERROR(SSL, ssl3_get_server_key_exchange, SSL_R_BAD_DH_P_LENGTH); goto err; } cipher suite has selected…
1
vote
0 answers

Android Wear (5.0) with Android Marshmallow's permission model

I'm in the middle of building a Wear App for an existing phone app. We plan on targeting API 23 and modifying our phone app's location permissions to work with Android new runtime permission model…
Jay Sidri
  • 6,271
  • 3
  • 43
  • 62
1
vote
1 answer

Does DefaultHttpClient still work running on Android 6?

Leaving target on API22 and running the app on Android 6 platform device, I see that DefaultHttpClient is still working, even though it isnt supported by the new platform. How is it possible, does it work in a compatibility mode?
1
vote
1 answer

New permission's model and RemoteViewsFactory

I am trying to use the new Android 6's permission model for but i get the exception java.lang.SecurityException: uid 10153 does not have…
1
vote
1 answer

Issue with proximity sensor freezing on Android M Preview 3

Is anyone else seeing the following bug on M preview 3? Inducing a proximity sensor event right after registering a proximity listener with the sensor manager will cause the sensor to becomes "frozen". I.e. if you register a proximity sensor…
Flyview
  • 1,899
  • 1
  • 28
  • 46
1
vote
1 answer

How to implement app links on android marshmallow?

App links are being changed in Android 6.0, so that Android has a greater awareness of which apps can open content directly, instead of stopping users every time with the dialog box. How do i implement it?
Ganesh Pandey
  • 5,216
  • 1
  • 33
  • 39