Table of Contents | ||
---|---|---|
|
Prerequisites
Do Android Get Started all the way until finishing step 3
...
Add the Initialization code.
Add the Application class to the Manifest (in case you are using it)
Add the Tagged Wrappers, Tagged Buttons and
Note the Transitions Events
Add the testing Single Data
Test everything is working
Change everything to production code
Your app is now prepared for monetization with us.
...
Note |
---|
We require the SDK to be initialized only once and as early as possible so for this purpose using Android’s application class is recommended but if your app only has one activity, if using the activity make sure it is never destroyed unless killing the app or placing it in the background, matching then the lifecycle of Application, you can initialize it in onCreate method of that Activity. |
...
Then add this application class to the manifest you already had from the Android Get Started.
The code for adding the application is the following
...