Mobile Android App of the recommendation system for people with cardiovascular diseases
- Сlone this repository in any convenient way to your computer
- For local starting system on this step we highly recommend starting local server: /~https://github.com/cardio-analyst/backend
- Open terminal and go to folder "emulator" in your PC
Defualt way for MacOS: cd /Users//Library/Android/sdk/emulator/
Defualt way for Windows: C:\Users\User\AppData\Local\Android\Sdk\emulator - Use command below to check existing emulator's names
emulator -list-avd - Use command below for starting emulator.
emulator -avd -netdelay none -netspeed full - For local starting system open file: /CardioAnalyst/app/src/main/java/is/ulstu/cardioanalyst/app.Const
Change BASE_URL param to http://10.0.2.2:8080/api/v1/ - Open terminal and go to downloaded project folder and install app to your emulator.
./gradlew installDebug - Finally, starting Cardio Analyst application in your emulator!
- Download and install Android Studio: https://developer.android.com/studio
- Open downloaded project in Android Studio
- Please check for default emulator. In case of absence emulator create new one following this instruction: https://developer.android.com/studio/run/managing-avds