Calsign / APDE

Source code for APDE: Create and run Processing sketches on an Android device.
GNU General Public License v2.0
338 stars 76 forks source link

Make it available for Android 12 in app store #131

Open kemelzaidan opened 10 months ago

kemelzaidan commented 10 months ago

Trying to download the app in Google app store for an Android 12 device gives you the message that the "app was created for an older version of Android".

But downloading the apk from the Github release page works fine. I tried finding it in F-droid too without success.

Calsign commented 10 months ago

Android 12 removed the standard APIs for accessing files, and we have to use the Storage Access Framework now. APDE hasn't been updated to use the SAF yet, which is why it isn't available on Google Play for devices running Android 12 or later starting August. I have put a lot of effort into trying to address this situation, but I am very burnt out of it and I might never get around to fixing it.

See this commit for more narrative and details: https://github.com/Calsign/APDE/commit/f384e83fae7bd9dab99cbbb869ca6916fb93cc31 So basically I have an approach that seems to work, with some test coverage, but there's a lot of boring but important work still left. I included a description of the outstanding tasks in that commit. If anyone else is inclined to do that work and demonstrate a good testing strategy, I'm happy to merge and make a release.

This was on top of the big changes I needed to make to the way APDE uses aapt in order to support Android 12: https://github.com/Calsign/APDE/commit/a8da44cb8e1891f1082cef2e16af94dc2e6471b7

I hadn't considered f-droid. If that's better than hosting here on github then I'm happy to put the latest release there.

kemelzaidan commented 10 months ago

Thanks for the explanation. Unfortunately, Android is not my area of expertise, so I'm not the best person to help solving that problem.

Regarding F-Droid, I find it a lot better than hosting apks on Github since it's like Google Play Store, but for open source apps only. You will get updates for your apps in a easier way than going to Github and checking if there is something new. Worth taking a look.