This is a test app for Eflect's Android implementation.
Following technologies are required to install and run this app on an android device.
- Install Bazel
- Install Android Studio
- After installing Android Studio, install Android 12.0 SDK (Api level = 31) from within Android Studio > Settings > Appearance & Behavior > System Settings > Android SDK, as shown below.
- Obtain a YouTube API Key by following the steps here.
Make sure all the prerequisites above are properly installed before following the instructions below.
- Clone this repo to your local machine.
git clone https://github.com/zainasir/eflect-android-test.git - In MainActivity.java, set the YOUTUBE_API variable to the API Key you generated above.
private final String YOUTUBE_API = "<YOUR-YOUTUBE-API-KEY>";
- Switch into the root directory, same level as where the file Workspace is located.
- Connect an android phone to your machine using usb-a or usb-c.
- Install the app on your phone:
bazel mobile-install //src/main:app - If build completed successfully, you will see a "Eflect Test" app on your phone.
