daniele-rapagnani / alephone-android

Port of the AlephOne engine on Android
GNU General Public License v3.0
40 stars 3 forks source link

[Feature Request] Support for Android 4.4 and lower? #46

Open Raypuia opened 3 years ago

Raypuia commented 3 years ago

Since your port of Aleph-One is pretty much straightforward, i wonder if Android versions before Lollipop can be supported?

daniele-rapagnani commented 3 years ago

In theory it should be possible but I'm afraid the new Launcher will make things harder #44 because Android is changing how storage can be accessed with secure storage and I'm not sure if there's any way to make it backward compatible. I'll look into that, I guess there are still a lot of gaming systems that use old versions of Android.

Raypuia commented 3 years ago

As far as i can tell you, it's likely possible and easy to do, just by checking the Android API version and execute the scoped storage code if the returned API is 21 or higher

Here's an example: https://stackoverflow.com/questions/2768806/programmatically-obtain-the-android-api-level-of-a-device

Btw, thanks for looking at it.