Code Monkey home page Code Monkey logo

Comments (5)

ThreeDeeJay avatar ThreeDeeJay commented on July 20, 2024 2

Oh I totally get you mate. It's not really a huge deal anyway, but I'll keep an eye on this thread on case it gets implemented eventually 🤞🙂

from myne.

starry-shivam avatar starry-shivam commented on July 20, 2024

Thing is, starting Android 12 unless you have MANAGE_EXTERNAL_STORAGE permission (permission to access all of the files on device like file manager apps), Android don't allow apps to write data anywhere (i.e. in home directory) except standerd system directories, like music/document/photo/download etc, and Android 13 even removed the permission READ/WRITE_EXTERNAL_STORAGE, and introduced more granular permissions like READ_MEDIA_AUDIO for accessing system music directory, READ_MEDIA_PHOTO for accessing system photos directory etc, and there is no permission available which allows apps to write data directly in the home directory, so basically it's very hard or almost impossible to implement without targeting to lower sdks like API 30 or so.. which ofcourse isn't an option if i want app to utilise latest APIs and function properly on morden devices.

Thanks for understanding :)

from myne.

AceDenghar avatar AceDenghar commented on July 20, 2024

I understand your explanation but it could be a great feature....

I really would like to use a folder on a sdcard to save ebooks and, like senntore, sync them with my other android device (with foldersync)...

from myne.

ThreeDeeJay avatar ThreeDeeJay commented on July 20, 2024

Don't the latest Androids allow (or rather, force) apps to use the built-in file browser to select a folder anywhere (internal or external SD storage) to be able to write to it?
It does have some limitations like not being able to use a root/non-empty folder for security reasons, but that shouldn't be a hurdle for this specific purpose 🤔

from myne.

starry-shivam avatar starry-shivam commented on July 20, 2024

Don't the latest Androids allow (or rather, force) apps to use the built-in file browser to select a folder anywhere (internal or external SD storage) to be able to write to it? It does have some limitations like not being able to use a root/non-empty folder for security reasons, but that shouldn't be a hurdle for this specific purpose 🤔

Yeah, but at that time i had more important stuff to implement (as the app was very new & lot of other things needed work) than to research/lookup about that, and the usual method i knew to implement something like this this (by getting READ/WRITE_EXTERNAL_STORAGE permission) was no longer working in latest android versions so i skipped it that time, I'll try again with the new scoped storage folder permission method, if i get enough time to work on it. I'm not getting much time to work on my personal projects recently due to my job & I'm too tired on Sunday to do anything :( Let's see when it happens..

from myne.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.