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
0
votes
2 answers

Method onRequestPermissionsResult not called in no app module

I have an activity in no 'app' module where I should use WRITE_EXTERNAL_STORAGE permission. Method onRequestPermissionsResult not called in this module. My code to start this runtime permission private fun requestPermissions() { if…
0
votes
1 answer

Android screen rotation not taking effect

May I check how can I rotate screen via code in Android? The device (Android 6 ARM CPU) I am using does not have sensor to detect orientation change and I need to do it manually. The problem of this device is it will not save the setting, once I…
0
votes
1 answer

TelephonyManager.getAllCellInfo() return Null or displays Nothing

I'm facing an issue with getAllCellInfo(). App has permissions needed : here is my code : 1- listener private PhoneStateListener mPhoneStateListener = new PhoneStateListener() { @TargetApi(Build.VERSION_CODES.M) @Override …
0
votes
1 answer

Android app : Resource not found when building with an older API

I am getting the following error when I build my app targeting API 23 AAPT: error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found error: resource android:style/TextAppearance.Material.Widget.Button.Colored…
0
votes
1 answer

Android WebView becomes not responsive after finishing previous activity

I've bumped into a strange issue - WebView becomes unresponsive when I finish the activity that started the activity with the WebView BUT it doesn't happen on the first launch, only on the consecutive ones and it also happens on Android 6 and 7,…
0
votes
2 answers

Android Studio APK Parse Error There was a problem parsing the package

I'm trying to generate APK to install my app (e.g. Google Play). APK works FINE in Android 10.0 but I have an error when trying to install on ANDROID 6.0 [Error when trying to install in Android 6.0][1] [1]: https://i.stack.imgur.com/C20RJ.jpg I…
0
votes
1 answer

Resources$NotFoundException. layout with resource id x7804000c is not present in the apk , Android -23, Marshmallow

08-13 16:29:27.288 10821-10821/com.a.b.c E/AndroidRuntime: FATAL EXCEPTION: main Process: com.a.b.c, PID: 10821 android.content.res.Resources$NotFoundException: Resource ID #0x7804000c at…
SimpleCoder
  • 1,665
  • 1
  • 21
  • 34
0
votes
1 answer

Cordova Android App - Works on Android 7,8,9; Fails on Android 4,5, and 6

This has been a monster of a headache trying to figure out what is going on. I have an android app that I have been developing and maintaining. My latest test devices are on android 9 and bring up the app with no issues. Many of the files that I am…
0
votes
0 answers

Writing/Reading to storage is not working properly on Marshmallow

App requests permission from the user upon start and it automatically restarts for that specific OS only. That works properly for the app to detect OBB file. But our game has a downloader system that pulls the files from internet to unlock more…
Alistair
  • 101
  • 10
0
votes
1 answer

SMS manager not working on specific devices

I'm developing an application in which i can send specific messages to specific number. the messages are already pre-defined for example "SYSSTAT", and number is also pre-define when user start application he/she enter receiver device number. But…
Madhav
  • 317
  • 2
  • 12
0
votes
1 answer

Not able to to import android.os.storage.VolumeInfo and not able to use getVolumes() API

With Android 6.0 and Above, not able to compile the below code. It is not able to import android.os.storage.VolumeInfo Needs to get volumeInfos from getVolumes() API. Below is the code. if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { …
0
votes
1 answer

Javascript syntax error using Cordova in Android 6

I'm using Cordova and have a syntax error in Android API 23 (6 Marshmallow). Everything works fine on API 28 (9 Pie) and API 21 (5 Lollipop) but with API 23, I have those errors : Uncaught SyntaxError: Unexpected token => Uncaught SyntaxError:…
AmazingBite
  • 302
  • 2
  • 16
0
votes
1 answer

Cant get swap 2 images with a imagebutton

Im trying that when i click on the ImageButton swap both the view and the button for others that i have on drawable I can see the principal layout with the TextView, the ImageButton and the Image View. When i click on the button my app get close. I…
JarssS8
  • 61
  • 1
  • 1
  • 12
0
votes
1 answer

Copy prepopulated Sqlite DB to Android App Database Folder

I made a big proyect for Android using a prepopulated SQLite Database and it was working perfectly. Now I'm trying to reuse it but It doesn't work on Android 6.0+ Devices, on older android versions it's still working. Problem is everytime I try to…
Enkend
  • 1
  • 3
0
votes
0 answers

Why is the date converted incorrectly on some android devices?

I'm converting a string to date using SimpleDateFormat. It works fine on all the devices I've tested except one device Tecno w3 running marshmallow android 6.0. I have failed to figure out why it passes a wrong date for this particular device. I…
1 2 3
99
100