This is the code used for the Huawei Challenge.
You can find the code of the android application in the Android_Studio
module and the code of
the machine learning module in Ml_Module
.
You will need to install and configure the LAMP stack (Linux Apache MySQL Php), you can see how to install it here.
To install the dependencies for the machine learning module you can go into the folder ml_module
and run:
pip install -r requirements.txt
Android Sdk version : 26
Build tools Sdk : 26.0.2
The tutorial for this lib is there.
- First get latest volley with git (git clone https://android.googlesource.com/platform/frameworks/volley).
- In your current project (android studio) click [File] --> [New] -->[Import Module].
- Now select the directory where you downloaded Volley to.
- Now Android studio might guide you to do the rest but continue guide to verify that everything works correct
- Open settings.gradle (find in root) and add (or verify this is included):
include ':app', ':volley'
- Now go to your build.gradle in your project and add the dependency:
compile 'com.android.volley:volley:1.1.0'