MAGPIE agent platform for Android
- Contents of MAGPIE
- Required dependencies
- Quick start
- How to import the project in Android Studio
- Run the tests
- Documentation
- Copyright and license
- library: the MAGPIE agent platform.
- sample-debs: a demo application integrating the use of MAGPIE in a Distributed Event Based System.
- sample-paams: a demo application presented at PAAMS'17.
- sample-sensor: a demo application showing how to use MAGPIE with a BioHarness sensor.
- server: a Spring based server to be used with the sample-debs application.
The Android Build Tools version used is 25.0.0. It is necessary to install this version or change the version to the installed version in /library/build.gradle/ buildToolsVersion "25.0.0"
Two quick start options are available:
- Download the latest release.
- Clone the reop:
git clone https://github.com/aislab-hevs/magpie.git
.
-
If no project is open in Android Studio:
- Select "Open an existing Android Studio project"
- Select the folder /magpie/MAGPIE/
- Click on "OK"
-
If an other project is already open in Android Studio:
- Select File -> Import Project...
- Select the folder /magpie/MAGPIE/
- Click on "OK"
-
In Android Studio
- Open the "Android" perspective
- Right click on .ch.hevs.aislab.magpie.simpletest (androidTest) and select "Run" -> "All Tests"
OR
- Open the "Project" perspective
- Right click on /app/src/androidTest/java/ and select "Run" -> "Run 'All Tests'"
-
Command line
- Switch to /magpie/MAGPIE/
- Use the command to execute the tests: ./gradlew build connectedCheck
For testing a running emulator or a connected device is needed.
Code and documentation copyright 2014-2017 AISLab HES-SO Valais. Code released under the BSD license.