- Clone this repository by entering this command into Bash:
git clone git@github.com:david-read-iii/Vine-Soundboard.git
- Then, open the root project directory in Android Studio.
- Register for a Google AdMob account from this site.
- Add an app to your Google AdMob account.
- Append the following line into the
local.properties
file in your root project directory. Replaceca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy
with the App ID of the app you just added in your Google AdMob account:
ADMOB_APP_ID=ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy
- Create a new ad unit for the app you just added to your Google AdMob account. Select
Banner
when going through the creation wizard. - Append the following line into the
local.properties
file in your root project directory. Replaceca-app-pub-xxxxxxxxxxxxxxxx/yyyyyyyyyy
with the App Unit ID of the ad unit you just created. Replacingca-app-pub-xxxxxxxxxxxxxxxx/yyyyyyyyyy
withca-app-pub-3940256099942544/6300978111
should be sufficient for testing purposes:
MAIN_ACTIVITY_AD_UNIT_ID=ca-app-pub-xxxxxxxxxxxxxxxx/yyyyyyyyyy
- Create an
assets
directory in the/app/src/main
directory. - Copy your own MP3 files into the
assets
directory for the soundboard to use. Make sure you specify the Title MP3 attribute for each file.
- From Android Studio, go to the Build menu.
- Go to the Build Bundle(s) / APK(s) menu.
- Select either Build APK(s) or Build Bundle(s).
- Wait for a notification to pop signifying the operation completion.
- Select locate in the notification to navigate to the file location of the built artifact.
- Install the artifact on your Android device and try it out.
This project is maintained by: