4 ms·
This looks wonderful. I wish it had been around when I was doing an android app. I absolutely love seeing it and a good old make script. I am thrilled at the ti
by tomcam 7y ago
This looks wonderful. I wish it had been around when I was doing an android app. I absolutely love seeing it and a good old make script. I am thrilled at the tiny tiny runtime requirements. Bravo. This must have required an incredible amount of experimenting and mucking through old, poorly documented examples in the dusty corners of an SDK somewhere.
- kabacha 7y agoI feel the opposite. Whenever I see Makefile being used in 2020 instead of a hundred better modern alternatives I can't help but feel turned off.
- ianlevesque 7y agoThey could do the same with CMake (and regain things like IDE support) but I think it goes against the spirit of the hack.
- izacus 7y agoIt's been around in form of NativeActivity for years (since Android 2.x I think) - it's literaly what that one does as well: initializes a canvas and gives control to native code.
- kllrnohj 7y agoandroid_native_app_glue is a Google-provided helper library in the NDK, and it's incredibly old at this point (hence the "Copyright (C) 2010 The Android Open Source Project" on those files) Setting up a fully-native OpenGL ES window is also straight out of the NDK samples - this is also incredibly old (it's why NativeActivity even exists) Most everything else looks to just be a handful of hand-written JNI to call common SDK methods - I'm not seeing anything that'd require incredible amounts of experimenting or mucking through old, poorly documented examples?