{"id":16352151,"url":"https://github.com/kneth/androidcalcpi","last_synced_at":"2025-11-12T01:53:22.214Z","repository":{"id":35725977,"uuid":"40004323","full_name":"kneth/AndroidCalcPi","owner":"kneth","description":"Playing with C++ for Android","archived":false,"fork":false,"pushed_at":"2015-11-26T14:46:35.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-20T04:05:27.848Z","etag":null,"topics":["android-studio","cpp","legacy","ndk"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kneth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-31T12:28:56.000Z","updated_at":"2018-01-20T09:08:37.000Z","dependencies_parsed_at":"2022-08-26T09:00:16.931Z","dependency_job_id":null,"html_url":"https://github.com/kneth/AndroidCalcPi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kneth/AndroidCalcPi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kneth%2FAndroidCalcPi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kneth%2FAndroidCalcPi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kneth%2FAndroidCalcPi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kneth%2FAndroidCalcPi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kneth","download_url":"https://codeload.github.com/kneth/AndroidCalcPi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kneth%2FAndroidCalcPi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283961755,"owners_count":26923662,"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-11-11T02:00:06.610Z","response_time":65,"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":["android-studio","cpp","legacy","ndk"],"created_at":"2024-10-11T01:25:09.911Z","updated_at":"2025-11-12T01:53:22.193Z","avatar_url":"https://github.com/kneth.png","language":"C++","readme":"# AndroidCalcPi\n\nThis is a simple Android project to play with C++ and test Android Studio 1.3 and Gradle 2.5. Moreover, it is part of my [tutorials](http://www.slideshare.net/geisshirt/tips-and-tricks-for-building-high-performance-android-apps-using-native-code) and [talk](http://www.slideshare.net/geisshirt/building-high-performance-android-applications-in-java-and-c?related=1) on how to use C++ in Android.\n\nThe following branches exist:\n\n* `master` has all except benchmarking code.\n\n* `initial` is where you begin. It is an empty app (for Android Studio 1.3 and Gradle 2.5) and some C++ code. The C++ code acts as the \"legacy\" code for the exercises.\n\n* `wrapping` implements the wrapper classes and intermediate C++ code so the \"legacy\" code can be used in an Android app.\n\n* `reducing-size` adds compiler and linker flags to reduce the sizes of the final `.so` files.\n\n* `exceptions-and-logging` is about rethrowing C++ exceptions as Java exceptions. Furthermore, the introduction of logging through the Android logging mechanism is also found here.\n\n* `posix-threads` shows how to use POSIX threads in Android native code. It requires a larger refactoring in order to get a thread-safe random number generator.\n\n* `non-ndk-libraries` can be used to get you started using some of the libraries on Android devices but not included in NDK.\n\n* `benchmarking` adds a bit of benchmarking. It hasn't been merged into `master` as the runs are too short to give any reliable results.\n\nYou are welcome to try out the code and open Github issues.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkneth%2Fandroidcalcpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkneth%2Fandroidcalcpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkneth%2Fandroidcalcpi/lists"}