A small demo app to test Sense's Android plugin.
Download a pre-built APK here, or follow the steps below to build your own.
You need to have the following installed on your machine:
- Git
- Maven 3.0.3+
- Andriod SDK
Google's most recent SDK(s) and libraries, like GCM, are not in public Maven repositories. You'll need to install them via Google's SDK manager, and then put them in your local Maven repository. Start the SDK manager by doing:
$ANDROID_HOME/tools/android sdk(this may take a while, go duel)
Put the SDK's and libraries in your local Maven repository using the Maven Android SDK Deployer:
git clone https://github.com/mosabua/maven-android-sdk-deployer.git
cd maven-android-sdk-deployer
mvn installMore info, see: https://github.com/mosabua/maven-android-sdk-deployer
Clone this project:
git clone https://github.com/askcs/asksensedemo.gitCreate local.properties inside the root of the project and add a single key to
it, sdk.dir, pointing to your local installation of the Android SDK:
sdk.dir=/path/to/your/android/sdk
Add the Sense APKLIB to your local Maven repository:
git clone https://github.com/bkiers/sense-android-library.git -b maven-apklib
cd sense-android-library
mvn clean installTo test your setup, either run the unit tests:
mvn clean test
or deploy the App on your phone (given it is properly connected):
mvn install android:deploy
To deploy and run the App, simply do:
mvn install android:deploy android:run
- open project
- select
pom.xml
