An Android health app focused on photo-based food journaling
- Facebook login
- Upload meal photos
- Create meal title
- Signing out of account correctly redirects to login screen
-
There is no indication of what the main landing screen is inside the application when first logging in
-
Swiping between screens on an actual phone is difficult as you have to swipe from the far right or left and not just from the middle of the screen
-
Clicking the back button after logging out bypasses authentication and returns you into the application
-
We haven’t completed the feature of providing users with a full diet plan to follow — we moved this user story to future work
- Android device running Android 8.0 (Oreo) or newer — works best on Pixel and Pixel 2 devices
- Download APK file from the repo: https://github.com/ericyuegu/whaddya-havin/
- Navigate to the APK file and open it — this will prompt you to proceed with the installation
- Open the app drawer and find Whaddya-havin, tap the app icon to open
- Allow installation of APK files by enabling “Unknown sources”. Use one of these steps to enable the option depending on your device:
- “Settings” > “Applications” > “Unknown sources”
- “Settings” > “Security” > “Unknown sources”
- Enable camera and file permission when prompted
- Android Studio (Version 3.1 or newer)
- A device running Android 8.0 (Oreo) or newer
- A device with Google Play services 15.0.0 or higher
- There are no dependent libraries that need to be installed
- Clone or download from the repo: https://github.com/ericyuegu/whaddya-havin/
- Connect your device to your development machine with a USB cable
- Enable USB debugging in the Developer options
- In Android Studio, click the app module in the Project window and then select Run > Run (or click Run in the toolbar)
- In the Select Deployment Target window, select your device, and click OK
- Android Studio installs the app on your connected device and starts it
- In Android Studio, click the app module in the Project window and then select Run > Run
- In the Select Deployment Target window, click Create New Virtual Device
- In the Select Hardware screen, select a phone device, such as Pixel 2, and then click Next
- In the System Image screen, select the version with the highest API level. If you don't have that version installed, a Download link is shown, so click that and complete the download
- Click Next
- On the Android Virtual Device (AVD) screen, leave all the settings alone and click Finish
- Back in the Select Deployment Target dialog, select the device you just created and click OK
- Android Studio installs the app on the emulator and starts it
- Additional information on building and running your Android application can be found on the Android Developer Documentation - Run your app
- After installing the application, select Run > Run in the menu (or click the green play button in the toolbar of Android Studio)
- Android Studio will prompt you to select a deployment target which will either be your own connected Android device or a downloaded emulator
- Additional information on adding new emulators can be found at Android Developer Documentation - Managing-avds
- Additional information on building and running your Android application can be found at Android Developer Documentation - Build and run your app
- Account management and file storage is currently handled through Firebase—for access, email project point of contact: eric DOT yue DOT gu AT gmail.com
- Alternatively, to replace with your own Firebase project, use Firebase Assistant in Android Studio or follow the instructions at Firebase Documentation - Add Firebase to Your Android Project
- To resolve Gradle build error: Click Build > Clean Project, then click Build > Rebuild Project.