I’m interested in porting some of the Open Source C/C++ applications I use to Android. I’ve been reading up on various tutorials. I’m investigating using the standalone toolchain to build the programs from source code.
Have some questions (below) about the process of putting together an Android package using the NDK and ported Open Source code. Would appreciate development tips or pointers to other relevant documentation or forums about building C/C++ applications for Android. Thanks.
What API version do F-Droid developers typically target? Our local Android meetup group recommended using an old enough API that it would support the majority of users. However, I read a few articles that said Google Play store is going to start requiring more up-to-date APIs. What do other F-Droid developers recommend?
For those that are using C/C++ code, what platforms do you typically target (for example: arm-linux-androideabi, i686-linux-android, etc.)?
I would guess a lot of the standard C/C++ libraries (such as zlib, libpng, freetype, SDL2, etc.) used in many Open Source projects would require similar patches to build and work properly on Android. Is there any place (or places) those patches are being shared if they don’t make it back into the upstream projects’ source code?