Android - Getting data out of Startapp

142 Views Asked by At

I use Startapp as my ad network in my applications and I need to be able to handle when a user clicks on an ad. I could not find any documentation for this function, and I would rather use onPause() because other things might pause the activity. Help would be appreciated!

1

There are 1 best solutions below

1
On

Try this:

YourStartAppAd.showAd(new AdDisplayListener() {
    @Override
    public void adHidden(Ad ad) {
    }
    @Override
    public void adDisplayed(Ad ad) {
    }
    @Override
    public void adClicked(Ad ad) {
    }
});

https://github.com/StartApp-SDK/Documentation/wiki/android-advanced-usage