Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 302

Akshay
I hate code!
Profile
Posts: 193
Reg: Mar 07, 2013
Pune ,India
1,930
12/19/13 11:35 AM (11 years ago)

Android:calling applovin interstitial ads on app exit

my home screen is menu simple when user quits app using the back/home button i want to display applovin interstitial ads where to put this code ? AppLovinInterstitialAd.show( getActivity() );
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
12/19/13 02:51 PM (11 years ago)
In the onBackPressed(), method.I think you have to add the method.I usually add it before the onDestroy method
 
Akshay
I hate code!
Profile
Posts: 193
Reg: Mar 07, 2013
Pune ,India
1,930
like
12/20/13 06:35 AM (11 years ago)
thanks bro..i will try that
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.