{"id":13420787,"url":"https://github.com/pfalcon/android-platform-headers","last_synced_at":"2026-03-03T19:01:33.727Z","repository":{"id":6872713,"uuid":"8121762","full_name":"pfalcon/android-platform-headers","owner":"pfalcon","description":"Collection of platform headers and link libs for all versions of Android. (repo is rebased, see wiki)","archived":false,"fork":false,"pushed_at":"2016-01-18T13:30:29.000Z","size":18001,"stargazers_count":59,"open_issues_count":0,"forks_count":23,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-14T17:51:09.539Z","etag":null,"topics":["android-sdk"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pfalcon.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-10T11:21:39.000Z","updated_at":"2025-01-22T11:14:36.000Z","dependencies_parsed_at":"2022-09-19T11:40:22.135Z","dependency_job_id":null,"html_url":"https://github.com/pfalcon/android-platform-headers","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pfalcon/android-platform-headers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfalcon%2Fandroid-platform-headers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfalcon%2Fandroid-platform-headers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfalcon%2Fandroid-platform-headers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfalcon%2Fandroid-platform-headers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pfalcon","download_url":"https://codeload.github.com/pfalcon/android-platform-headers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfalcon%2Fandroid-platform-headers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30056056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-sdk"],"created_at":"2024-07-30T22:01:41.355Z","updated_at":"2026-03-03T19:01:33.684Z","avatar_url":"https://github.com/pfalcon.png","language":"C","readme":"These are sets of header files extracted from main components of\nAOSP (Android Open Source Project), for each main release of AOSP.\n\nAndroid NDK provided by Google contains subset of AOSP platform\nheaders which are deemed \"external interface\" by Google. However,\nwriting advanced software for Android necessitates access to complete\nplatform. Many aspects of it change, sometimes drastically, between\nreleases, so compiling user source code against platform headers for\ndifferent releases is required. This project intends to streamline\nthis process, allowing to access headers for all important Android\nreleases at once.\n\nIn this respect, it is similar to \"linux-kernel-headers\" found in\nmany Linux distributions - it allows to compile software without\nthe need to have hundreds of megabytes (or gigabytes) of complete\nkernel (or platform) source code around.\n\nTo prepare these headers, all *.h and *.hpp files were extracted\nfrom following AOSP projects:\n\n * system/core\n * frameworks/base\n * frameworks/native\n * hardware/libhardware\n * hardware/libhardware_legacy\n\n\nNOTE: Project git repository may undergo rebases. Please rely on\ntags when using in your projects. Use git pull --rebase for updating\nyour workcopy.\n\nFAQ\n---\nQ: Google doesn't recommend usage of non-NDK headers.\nA: Short answer: who cares. Long answer: Android is a multi-layer system,\nand there're different rules for different levels. If you want maximum\nportability, you should not use native code at all, and yet many applications\nuse it to improve performance, etc. Similar logic applies to usage of\nnot officially exported interfaces - sometimes they just need to be used\nto get most of the underlying system.\n\nQ: As these headers don't represent external interface, they can be\nchanged by a vendor of some device.\nA: True, so we can figure out what particular vendors work on -\nbringing up innovative products, cutting time to market, increasing\npower efficiency, or fragmenting platform and breaking compatibility.\n\nQ: How do I know that headers provided are correct?\nA: You are encouraged to verify. Each header project directory contains\n.git-org/refs/heads/master with revision of tag from which it was extracted.\nActually, extraction was automatic and script is provided. To easily verify\na particular tag:\n\n    rm -rf android-1.6_r1\n    scripts/fetch-headers android-1.6_r1\n    git diff\n\n\nTODO\n----\n1. Add platform \"import\" libraries to link with (devoid of code, only with\nexported symbols) - in progress.\n\n2. Similar \"implib\" jars to link Java code against - in progress.\n","funding_links":[],"categories":["TODO scan for Android support in followings","android-sdk"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfalcon%2Fandroid-platform-headers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfalcon%2Fandroid-platform-headers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfalcon%2Fandroid-platform-headers/lists"}