- WARNING
-
This project is deprecated. All sample projects for the Android Maven Plugin as of version 4.0.0-rc.1 are part of the actual plugin codebase and run as integration tests. They can be found in the src/it/projects folder at https://github.com/jayway/maven-android-plugin.
The following content is mostly historical information and reference:
This project includes a whole number of example projects that use the Android Maven Plugin available at http://code.google.com/p/maven-android-plugin. and https://github.com/jayway/maven-android-plugin.
It serves as samples for users as well as a test cases for the ongoing development of the plugin.
Documentation can be found there as well as in README files in the folders of the different examples.
To run all projects you will need the support library and other libraries from the SDK deployed to your Maven repository. Use the Maven Android SDK Deployer to do that.
The 'master' branch of this project always uses the latest development version of the Android Maven Plugin and as such is always x.y.z-SNAPSHOT.
The 'stable' branch uses the latest relase of the plugin that has been pushed to the Central Repository.
There are also branches for specific versions of the Android Maven Plugin with the branch naming equal to the version of the plugin.
You can just download the project as usual from github with
git clone https://github.com/jayway/maven-android-plugin-samples.git
Alternatively downloading of a zip file of a specific branch can be done via specific URL e.g.
There are a number of sub modules in this project. Here is the description for the top level ones. Details about each one is in the folder for the individual project.
- apidemos-android-16
-
the Android SDK API demo application suite for Android 16
- helloflashlight
-
a simple example application
- libraryprojects
-
a number of libraries in aar and apklib format being created and used in application examples
- morseflash
-
a simple example application with some external Java code from a library being used and an instrumentation test project
- native
-
a number of example libraries and applications using the Android NDK
- scala
-
an example application written in Scala
- support4demos
-
example applications using the support library
- tictactoe
-
an example application from the gradle samples project from the Android SDK team converted to a Maven based build