GitXplorerGitXplorer
p

Huawei_Challenge

public
0 stars
2 forks
6 issues

Commits

List of commits on branch master.
Verified
58af07fd8ae687811b36bae28bab9fd1920e7cbd

Update README.md

committed 5 years ago
Unverified
da664a5ad60c50193bd82d2e39c8fd313f29e7bd

Prediction file ok

committed 7 years ago
Verified
2668174f07922bf8fd95685e63fecdfa88f20e26

Merge pull request #11 from pierrejeambrun/androidSocket

RRomWW12 committed 7 years ago
Unverified
253c32eee317f9243bb8bd97ba2236e27d43af41

last cleanup

RRomWW12 committed 7 years ago
Verified
80b3f0ea6df072ebe5f18b689da93e502e31c045

Merge pull request #10 from pierrejeambrun/256-sampling

committed 7 years ago
Unverified
d3b279c1b66020bd490ebe4f66ad0f7b57f0996e

Fix prediction

iinvalid-email-address committed 7 years ago

README

The README file for this repository.

Huawei Challenge

Activity Tracking

I Introduction

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.

II Installation

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

TIPS

Android Sdk version : 26
Build tools Sdk : 26.0.2

HTTP Request : Volley lib

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'