Posts

Showing posts from January, 2020

Android App - Gym League Table

This is an application which I created in Android Studio and wrote in Java to improve my programming abilities.  How the app works Step 1 -logging in or signing up Under the surface: The app loads the intent filter (MainActivity) which then goes to onResume and checks if user is logged in by check if  FirebaseAuth.getInstance().id is not null - If null this will start AcrtivityLogIn User: When a user signs up the app will take four videos to prove your lifts in the gym: 1. Bench Press  2. Squat 3. Deadlift 4. Over Head Press Step 2 - displaying and updating user data  Under the surface: The videos are stored in different files for each compound lift with the key being the FirebaseAuth.getInstance().id. Adding and removing listeners on the current logged in user data.  User: The above user input information is then stored in Firebase Cloud Firestore and can be accessed and updated in the profile activity/page.  ...