Coder Social home page Coder Social logo

Comments (7)

tibbi avatar tibbi commented on June 16, 2024

sadly file management on Android is a lot more difficult, we dont have access to such files

from simple-notes.

Switch123456789 avatar Switch123456789 commented on June 16, 2024

What do you mean by "such files"?

Simple Notes DOES have access. Even if I manually change the file with another app, Simple Notes has access afterwards. It ONLY craps itself after I updated the file using syncthing. I can even manually add it back to Simple Notes afterwards and it still has access.

If it is caused by a changed file-ID, it can be easily fixed by allowing access to the folder through Androids SAF. Or add the flag that allows Android to grant SN access to all files on the phone.

from simple-notes.

tibbi avatar tibbi commented on June 16, 2024

oh, wish it was that simple

from simple-notes.

Switch123456789 avatar Switch123456789 commented on June 16, 2024

Can you help me understand? Again SN has access to those file, I can send you video-proof or whatever if you just can't believe me. I use SN every day for many years now, it works!!!

About accessing folders: Syncthing does it this way, KDE Connect does it, almost every camera app I ever used since the introduction of SAF does it this way. Why exactly is it that SN can't access all files within a specified folder through SAF if many other apps can?

In the Android Documentation it says ACTION_OPEN_DOCUMENT_TREE
"Apps can fully manage documents within the returned directory".

For full access there is MANAGE_EXTERNAL_STORAGE
An app can request all-files access from the user by doing the following: Declare the [MANAGE_EXTERNAL_STORAGE] permission in the manifest.

So it says in the documentation it is possible, I use apps every day that does it. So what exactly am I missing here that prevents SN from doing it? Please educate me, I am so confused at this point.

from simple-notes.

tibbi avatar tibbi commented on June 16, 2024

file manangement on Android is really difficult and it keeps getting more messy with every new OS version. Anyway, honestly this issue is way too specific for your usecase to really work on it now.

from simple-notes.

Switch123456789 avatar Switch123456789 commented on June 16, 2024

I wonder why this request is still open if using syncthing is "way too specific". But fine, since I need to sync my notes, I'll try another app.

from simple-notes.

adapt-L avatar adapt-L commented on June 16, 2024

it seems to work fine now but the widget won't update unless it is redrawn

from simple-notes.

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.