This repository hosts the android application for the pothole hunter project.
Pothole Hunter is a system that allows the citizen of a city to capture and report pothole to the city authorities This project is in active development with the help from volunteers from nkola
The Pothole Hunter application has both mobile and web interfaces that interact with a backend API. A mobile phone will be used by anyone to register a pothole and upload it to the backend system that us accessible by the city authorities.
Stories for the Pothole Hunter project (api, android, web) are tracked as Github issues in the tracker repository you can also look at the story board here
We are currently targeting Android API 19 (4.0.0)
This project requires;
- JDK 1.7 and above
- Maven 3.2 and above
- Download the android sdk from the android developer website and unzip the same.
- Open the android sdk manager and install the following items;
- Platform Tools
- Build Tools
- Extras
- Android support library
- Android Maven Repository
- Android API 19 (including the system images)
- Set
ANDROID_HOME
environment variable to the path of the android sdk
We recommend using Genymotion
- Run
mvn clean package
from the project folder to test whether everything is working properly. This will build the APK inside theapp/target
folder. - Run
mvn android:deploy android:run
to deploy and the run the generated apk to the emulator
-
Simply import: File > Open Project and select
pom.xml
, and the Maven project will be automatically imported along with the maven sub-modules (app and integration-tests). For more information on how to do this [http://www.jetbrains.com/idea/webhelp/importing-project-from-maven-model.html] -
Intellij comes with default android support, so once the project is imported, configure the android framework when prompted to.