shagr4th / droid48

HP48 emulator for Android
https://play.google.com/store/apps/details?id=org.ab.x48
GNU General Public License v3.0
78 stars 27 forks source link

Put program on stack does not show files #23

Open elmout31 opened 6 years ago

elmout31 commented 6 years ago

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 commented 6 years ago

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