digitalmars.D.learn - Where is the latest android dev info?
- BetaDamnit (1/1) Mar 23 2020 See Title!
- Adam D. Ruppe (5/5) Mar 23 2020 My thingy can help
- BetaDamnit (11/16) Mar 26 2020 Maybe you have some free time with nCoV?
- Adam D. Ruppe (19/25) Mar 26 2020 Yeah, that's what it all does. My repo there works with ldc 1.19
My thingy can help https://github.com/adamdruppe/d_android a lot is built into ldc now too which is really nice as well. i need to update my repo to use the new ldc features, hoping to tomorrow. i'm just behind on a lot of things lol
Mar 23 2020
On Monday, 23 March 2020 at 15:39:27 UTC, Adam D. Ruppe wrote:My thingy can help https://github.com/adamdruppe/d_android a lot is built into ldc now too which is really nice as well. i need to update my repo to use the new ldc features, hoping to tomorrow. i'm just behind on a lot of things lolMaybe you have some free time with nCoV? It seems rather straight forward, just use ldc2, ndk linker, and proper linking to android libs to use the functionality(I assume there is no import lists or header translations?)? I imagine this does not create an apk either? [I do see you have bindings but I haven't looked in to them. Ideally there would be proper D support, at least for the typical android functionality] Maybe a good time with nCoV ravishing thee world to get android going for dmd? I mean, for those that are not dead. It would be a good way to "self isolate" that doesn't involve porn hub...
Mar 26 2020
On Thursday, 26 March 2020 at 10:07:35 UTC, BetaDamnit wrote:Maybe you have some free time with nCoV?nope, it is even worse for my time right now.....It seems rather straight forward, just use ldc2, ndk linker, and proper linking to android libs to use the functionalityYeah, that's what it all does. My repo there works with ldc 1.19 today, just not the new 1.20 yet. You can see in the code how simple it is - really just sets up a config file and downloads the runtime libraries. Then there's bindings in there for the NDK headers, a helper file for some hacks (one of which is no longer necessary with 1.20!), and also Java JNI bindings if you choose to use them (they a bit slow to compile though).I imagine this does not create an apk either?no, it compiles into a shared lib, then you add that to an android studio project and create the apk that way. There's also ways to do apks from the command line with the official android tools that should work here, just that's outside the scope of my little project.Maybe a good time with nCoV ravishing thee world to get android going for dmd?That will never happen. But ldc works today! I think gdc kinda works if you set it up right, but ldc is pretty easy, you don't even need my helper lib really, it just makes it a bit easier by helping set up and providing a bindings package.
Mar 26 2020