GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - android/platform-samples: A collection of samples of different Android OS platform APIs.

BranchesTags
Open more actions menu

Latest commit

 

History

688 Commits
688 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.google
.google
 
 
.idea
.idea
 
 
app
app
 
 
gradle
gradle
 
 
samples
samples
 
 
shared
shared
 
 
spotless
spotless
 
 
tools
tools
 
 
utilities
utilities
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
CODEOWNERS
CODEOWNERS
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
checksum.sh
checksum.sh
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
renovate.json
renovate.json
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

Build

Android Platform Samples

This 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.

Note: These samples are intended to showcase specific functionality in isolation, and they may use simplified code. They are not intended to be used as production-ready code. For best practices follow our documentation and check Now In Android

Browse the samples inside each topic samples folder:

  • Accessibility
  • Camera
  • Connectivity
  • Graphics
  • Location
  • Privacy
  • Storage
  • User-interface
  • More to come...

We are constantly adding new samples to this repository. You can find a list of all the available samples here.

How to run

  1. Clone the repository
  2. Open the whole project in Android Studio.
  3. Sync & Run app configuration

The app will open with the samples list screen that allows you to navigate throughout the different categories and available samples.

Note: the app module is required to bring together all the samples but it's not relevant for their functionality, you can simply ignore it. The wiring is done under the hood and an implementation detail not needed to understand any sample functionality.

Reporting Issues

You can report an issue with a sample using this repository. When doing so, make sure to specify which sample you are referring to.

Contributions

Please contribute! We will gladly review any pull requests. Make sure to read the Contributing page first though.

Note: make sure to run ./gradlew --init-script gradle/spotless-init.gradle.kts spotlessApply before submitting PRs.

License

Copyright 2023 The Android Open Source Project
 
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

A collection of samples of different Android OS platform APIs.

developer.android.com/about

Topics

androidandroid-platformsamplesamples

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

1.8k stars

Watchers

99 watching

Forks

552 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.