Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Put program on stack does not show files #23

Open
elmout31 opened this issue May 13, 2018 · 2 comments
Open

Put program on stack does not show files #23

elmout31 opened this issue May 13, 2018 · 2 comments

Comments

@elmout31
Copy link

Hi,
On my phone device (Android 6.0), the sdcard droid48 file list is always empty so i navigate among only system file and unable to find my files

I found the trouble and the solution.

Trouble:
inside ProgListView class, showDirectory, final File[] files = this.currentDir.listFiles() always return null.
It return null as the application is not granted to read sdcard. (I only found write permission)

Solution:
First: inside AndroidManifest.xml this permission shall be added:

Second on my device (android system (6.0)) , i shall go on settings->apps->Droid48->Permissions ans Enable storage.

Now all works well.

I'am not too familiar with git, so i join you the manifest file. (PS, i have also modify API version target in order to downgrade sdk API version to android 6)
AndroidManifest.xml.zip

Regards
Elmout kool

@elmout31
Copy link
Author

elmout31 commented Jun 1, 2018

I have put the change on github for proposal
Regards
Elmout kool

@dfgweb
Copy link

dfgweb commented Dec 21, 2024

It seems with Android 15, it is not possible anymore to put program on stack as all filesystem access requires the storage permission. I didn't have this problem with Android 14 on my Pixel 8 phone. But after upgrading, put program on stack don't work anymore.

Any chance the storage permission can be added?

Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants