mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
09/23/13 06:32 PM (12 years ago)

Tutorial Airpush Airplay 1.x - Not tested on Android Core 3.0 Yet but should work :)

The new airpush is a bit different than before. Here is the tutorial although I haven't seen any video ads show but I guess it depends on the inventory and app. Here is how to add it to android apps. Note: I have not tested this in the Android 3.0 Core app yet so if someone can confirm. Tutorial: Choose your screen of choice/ *.java 1. Import the jar + add dependencies 2. Add everything to the manifest like in the tutorial and your app id. 3. Add code to Screen/ Activity a. Import both the Airplay and AdCallbackListner. Replace of course with your details import com.vvvvvvv.replace.AirPlay; import com.vvvvvvv.replace.AdCallbackListener; b. Declare classes: Add above //activity life-cycle events. private AirPlay airPlay; private AdCallbackListener adCallbackListener; c. Add to Activity after OnCreate airPlay=new AirPlay(this, adCallbackListener, false); airPlay.startSmartWallAd(); // or whatever ad type you like Voila, done :)
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
09/24/13 09:24 AM (12 years ago)
Rock star! (((HUGS))))) Thank you :)
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
09/25/13 11:36 AM (12 years ago)
if you can see than please check this error. after all about process when m trying to import airplay and adcallbacklistner it showing errors. m not able to import this also no option to fix errors. see the screenshot and please give the solution. https://fbcdn-sphotos-c-a.akamaihd.net/hphotos-ak-prn2/q71/s720x720/1377392_553025391431139_326125165_n.jpg thanks before.
 

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.