First of all you need to register at their website and download their sdk. The StartAppInApp-2.4.6.jar. And add it to the android project of your game - just drag or copy/paste the file in the "libs" folder. Also register your app.
Then just follow this guide StartApp github
1)Add permissions and two activities to androidmanifest
2)Add code to your androidlauncher:
- declare private StartAppAd startAppAd = new StartAppAd(this);
- in onCreate method StartAppSDK.init(this, "your id", "app id", true);
- and add onResume, onPause, onBackPressed methods as in the guide.
Now your app will show app wall on exit.
No comments:
Post a Comment