/maven-android-plugin-samples

Usage examples for Android Maven Plugin

Primary LanguageJavaApache License 2.0Apache-2.0

Android Maven Plugin - Sample Projects

Introduction

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.

Versioning and Downloads

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.

List of Projects/Modules

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