This is the client side of a fitness exercise coaching application. for demo purpose, it has to run on an Android mobile phone with a server on the same LAN/WIFI (a laptop's hotspot is recommended).
Find the pre-built apk here.
Core section of the project is here.
Android 10+
Developed on: Windows 10, Android Studio 4.2
- You are welcomed to import the project using Android Studio and install the app to your mobile phone via wired connection and debug.
-
Check that the mobile phone has connected to the same LAN/WIFI with server.
- If a laptop hotspot is used and the IP address of the laptop is 192.168.137.1 (hopspot's default gateway), jump to the next step.
- If not, then manually set the IP address of the server in the code here like this:
private static final String TCP_SERVER_IP = "your server's IP address";
And then build the project.
-
Install the app through pre-built apk or Android Studio.
-
Manually allow all permission of the app in System Settings.
-
Properly place your mobile phone so that the front-facing camera can capture your whole body when you are doing the exercise.
-
Turn on the speaker of the phone, and run the server before using the app.
-
Account registration and information collection can be skipped.