News for hackers. Stuff that matters.
Re:Show HN: The full source code and assets for my custom ga... by idrios on Tuesday July 11, 2023 @09:05AM (#36680423)
You wrote an Android app in C++.

...how!? How did you even learn how to do this? I've never seen a github repo or documentation or tutorials that even mentions doing this. Nothing on the developer.android website, nothing in any YouTube tutorials. I'm blown away.

Re:Show HN: The full source code and assets for my custom ga... by skocznymroczny on Tuesday July 11, 2023 @09:14AM (#36680517)
https://developer.android.com/ndk/guides

you can use NDK to create an app with c++

Re:Show HN: The full source code and assets for my custom ga... by nyarlathotep_ on Tuesday July 11, 2023 @02:30PM (#36685277)
Really cool that this is written entirely in CPP.

All the NDK demos/examples I've seen are usually using JNI in some fashion.

Re:Show HN: The full source code and assets for my custom ga... by mknsri on Tuesday July 11, 2023 @04:04PM (#36686537)
Yeah I remember that Android pretty good had documentation and tutorials about the native-activity. It was not really advertised, more of "do this if you really want to" kind of feature. But it worked perfectly.