/Android-Developers-Samples

Tracking changes for Android Developers Samples

Primary LanguageJava

About this repository

This repository is a mirror of the source code projects provided by Google. This repository will keep track of updated versions of these sample projects. This will allow anyone to find out what has changed without much effort.

Each project contains the README.md with the original description of the specific project. There is also a link to the original source of the project at the end of each README.md.

Contribution

Feel free to send pull requests if you find out about updates to the sample before I do ... Please mind that you might need to update the .gitignore file to exclude noise contained in the .zip archives.

Pink Android

Android Developers Samples

Welcome to code samples for Android developers. Here you can browse sample code and learn how to build different components for your applications. Use the categories on the left to browse the available samples.

Each sample is a fully functioning Android app. You can browse the resources, source files and see the overall project structure. You can copy and paste the code you need, and if you want to share a link to a specific line you can double-click it to the get the url.

If you want to download a complete project, just click on any source file in the project and click the link in the upper right of the source page.

To import a downloaded project:

Using Android Studio

  1. Unpack the downloaded project package.
  2. In Android Studio, chose File > Import Project and select the root folder of the unpacked project. Android Studio may ask you to choose the type of project you are importing. If this is the case, make sure to choose Import project from external model and select the Gradle option.

Note: At this time, the downloadable projects are designed for use with Gradle and Android Studio. Project downloads for Eclipse will be available soon!


Source