Fileobserver onEvent() does not run on the marshmallow version.

Asked 2 years ago, Updated 2 years ago, 79 views

Fileobserver creates files and directories, changes, deletes, etc. are being checked

It's not working in version 6.0.

We have already registered WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE in the manifest.

I think it's because of the 6.0 version of the currency exchange management, but I want to know what the solution is.

android permissions

2022-09-22 20:57

1 Answers

Looking at the Android Issue Tracker, there is a bug in the marshmallow that FileObserver does not work as an issue.

There is a post in the stack overflow about some alternatives to FileObserver. I think it's accurate to check for yourself if this method works.


2022-09-22 20:57

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.