{"id":28319881,"url":"https://github.com/bramtechs/hello-jni-ndkbuild-cpp20","last_synced_at":"2025-10-16T10:28:00.220Z","repository":{"id":260322074,"uuid":"880962857","full_name":"bramtechs/hello-jni-ndkbuild-cpp20","owner":"bramtechs","description":"Modern C++ on Android without the cmake bloat","archived":false,"fork":false,"pushed_at":"2024-10-30T17:23:47.000Z","size":150,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-01T06:12:29.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bramtechs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-30T17:11:15.000Z","updated_at":"2024-10-30T17:23:52.000Z","dependencies_parsed_at":"2024-10-30T18:35:37.768Z","dependency_job_id":null,"html_url":"https://github.com/bramtechs/hello-jni-ndkbuild-cpp20","commit_stats":null,"previous_names":["bramtechs/hello-jni-ndkbuild-cpp20"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bramtechs/hello-jni-ndkbuild-cpp20","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramtechs%2Fhello-jni-ndkbuild-cpp20","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramtechs%2Fhello-jni-ndkbuild-cpp20/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramtechs%2Fhello-jni-ndkbuild-cpp20/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramtechs%2Fhello-jni-ndkbuild-cpp20/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bramtechs","download_url":"https://codeload.github.com/bramtechs/hello-jni-ndkbuild-cpp20/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramtechs%2Fhello-jni-ndkbuild-cpp20/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279178511,"owners_count":26120218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-25T10:07:58.592Z","updated_at":"2025-10-16T10:28:00.190Z","avatar_url":"https://github.com/bramtechs.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hello-jni-ndkbuild-cpp20\n\nUp-to-date [hello-jni](https://github.com/android/ndk-samples) example that uses [ndk-build](https://developer.android.com/ndk/guides/android_mk) instead of cmake.\n\nMade as preparation to ditch cmake entirely for building [my mobile games](https://doomhowl-interactive.com).\u003cbr/\u003e\n*Modern C++ on Android with simple makefiles!*\n\n## Implementation\n\n```c++\n#include \"jni.h\"\n#include \"android_native_app_glue.h\"\n\n#include \u003cstring\u003e\n#include \u003cformat\u003e\n\nextern \"C\" jstring Java_com_example_myapplication_NativeView_stringFromJNI(JNIEnv *env)\n{\n    std::string msg = std::format(\"C++20 on {} with {}!\", \"Android\", \"ndk-build\");\n    return env-\u003eNewStringUTF(msg.c_str());\n}\n```\n\u003cimg src=\"misc/screenshot.png\" alt=\"Screenshot\" height=\"750\"\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramtechs%2Fhello-jni-ndkbuild-cpp20","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbramtechs%2Fhello-jni-ndkbuild-cpp20","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramtechs%2Fhello-jni-ndkbuild-cpp20/lists"}