Quick start examples for integrating Banuba SDK on Android in C++ apps.
-
Clone the project to your computer:
git clone --recursive https://github.com/Banuba/quickstart-android-c-api.git
-
Get the latest Banuba SDK archive for Android and the client token. Please fill in our form on form on banuba.com website, or contact us via info@banuba.com.
-
Copy
aar
andinclude
files from the Banuba SDK archive intolibs
dir:BNBEffectPlayer/include
=>quickstart-android-c-api/app/libs/include
BNBEffectPlayer/banuba_effect_player_c_api-release.aar
=>quickstart-android-c-api/app/libs/banuba_effect_player_c_api-release.aar
-
Copy and Paste your client token into appropriate section of
com/banuba/quickstart_c_api/BanubaClientToken.java
-
Configure effect in the appropriate section of
com/banuba/quickstart_c_api/MainActivity.java
, e.g. effects/test_BG The effects folder should be located in theapp/src/main/assets/
folder. More effects can be found here -
Open the project in Android Studio and run the necessary target using the usual steps.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request