{"id":15110372,"url":"https://github.com/android/platform-samples","last_synced_at":"2025-05-14T11:10:02.023Z","repository":{"id":160435284,"uuid":"623336962","full_name":"android/platform-samples","owner":"android","description":"A collection of samples of different Android OS platform APIs.","archived":false,"fork":false,"pushed_at":"2025-05-10T00:06:24.000Z","size":92268,"stargazers_count":1337,"open_issues_count":21,"forks_count":332,"subscribers_count":83,"default_branch":"main","last_synced_at":"2025-05-10T01:19:17.700Z","etag":null,"topics":["android","android-platform","samples"],"latest_commit_sha":null,"homepage":"https://developer.android.com/about","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/android.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2023-04-04T07:06:30.000Z","updated_at":"2025-05-09T06:52:30.000Z","dependencies_parsed_at":"2023-09-25T22:00:14.094Z","dependency_job_id":"5b7c061a-c046-49ad-a635-16556862f8f6","html_url":"https://github.com/android/platform-samples","commit_stats":{"total_commits":396,"total_committers":32,"mean_commits":12.375,"dds":0.5606060606060606,"last_synced_commit":"cd837457bd7cd865141d10774b0f4b064e18c72f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fplatform-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fplatform-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fplatform-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fplatform-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/android","download_url":"https://codeload.github.com/android/platform-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254129489,"owners_count":22019628,"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","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","android-platform","samples"],"created_at":"2024-09-25T23:44:37.091Z","updated_at":"2025-05-14T11:09:56.995Z","avatar_url":"https://github.com/android.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"![Build](https://github.com/android/platform-samples/actions/workflows/build.yml/badge.svg)\n\n# Android Platform Samples\n\nThis repository contains a collection of samples that demonstrate the use of different Android OS platform APIs. The samples are organized into folders by topic, and each folder contains a README file that provides more information about the samples in that folder.\n\n\u003e **Note:** These samples are intended to showcase specific functionality in isolation, and they may use\n\u003e simplified code. They are not intended to be used as production-ready code.\n\u003e For best practices follow our documentation and check\n\u003e [Now In Android](https://github.com/android/nowinandroid)\n\nBrowse the samples inside each topic samples folder:\n\n- [Accessibility](https://github.com/android/platform-samples/tree/main/samples/accessibility)\n- [Camera](https://github.com/android/platform-samples/tree/main/samples/camera)\n- [Connectivity](https://github.com/android/platform-samples/tree/main/samples/connectivity)\n- [Graphics](https://github.com/android/platform-samples/tree/main/samples/graphics)\n- [Location](https://github.com/android/platform-samples/tree/main/samples/location)\n- [Privacy](https://github.com/android/platform-samples/tree/main/samples/privacy)\n- [Storage](https://github.com/android/platform-samples/tree/main/samples/storage)\n- [User-interface](https://github.com/android/platform-samples/tree/main/samples/user-interface)\n- More to come...\n\nWe regularly add new samples to this repository. You can find a list of all the available samples [here](https://github.com/android/platform-samples/tree/main/samples).\n\n## How to run\n\n1. Clone the repository\n2. Open the whole project in Android Studio.\n3. Sync \u0026 Run `app` configuration\n\nThe app will open with the samples list screen that allows you to navigate throughout the different\ncategories and available samples.\n\n\u003e **Note:** the `app` module is required to bring together all the samples but it's not relevant\n\u003e for their functionality, you can simply ignore it. The wiring is done under the hood and an\n\u003e implementation detail not needed to understand any sample functionality.\n\n## Reporting Issues\n\nYou can report an [issue with a sample](https://github.com/android/platform-samples/issues) using\nthis repository. When doing so, make sure to specify which sample you are referring to.\n\n## Contributions\n\nPlease contribute! We will gladly review any pull requests.\nMake sure to read the [Contributing](CONTRIBUTING.md) page first though.\n\n\u003e Note: make sure to run `./gradlew --init-script gradle/spotless-init.gradle.kts spotlessApply` before \n\u003e submitting PRs.\n\n## License\n\n```\nCopyright 2023 The Android Open Source Project\n \nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid%2Fplatform-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroid%2Fplatform-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid%2Fplatform-samples/lists"}