Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
09/22/13 04:57 AM (12 years ago)

New Compliance AirSDK for play store from airpush

as we know Google revised their privacy policy before month ago and according to it no more push and icon ads allowed in android apps at play store. After that airpush and some other ad network is in danger and likely to their end. But nice to see that the airpush is back with brand new and 100% compliance "AirSDK for play store" yesterday. Now people can keep using airpush ad network. as m not programer it's difficult for me to install this new "AirSDK for play store" in my BT apps. so i need help. is that anyone here who tried this new "AirSDK for play store" to their BT apps? if yes than please share your code for bt users like me. Help will be really apriciate thanks before.
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
09/22/13 11:22 PM (12 years ago)
somebody help please :/
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
09/23/13 06:28 PM (12 years ago)
Hi, dont panic :) I had a bit of an issue but I've figured it out. 1. Import the jar + add dependies 2. Add everything to the manifest like always 3. 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 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 :)
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
09/24/13 07:05 AM (12 years ago)
thanks a lot @mysps for your help. now pls do lill bit more help. m not understanding 3(b) declare classes. what should i has to do in it?? should i need to make new class? or something else? please explain me in more details buddy. m totally nob in programing. thanks before and waiting for your response.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
09/24/13 07:08 AM (12 years ago)
Just copy and paste. I just wrote what it does. a. Add to the import section b. Add above ////////////////////////////////////////////////////////////////////////// //activity life-cycle events. c. add after //onCreate @Override public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); this.activityName = "BT_screen_menuList"; BT_debugger.showIt(activityName + ":onCreate"); bc you said you had added before, I didnt think that would make you lost. its pretty simple
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
09/24/13 08:03 PM (12 years ago)
once again thanks a lot for your reply buddy but m not asking about (c). m saying where i need to place this following lines? b. Declare classes private AirPlay airPlay; private AdCallbackListener adCallbackListener; thanks before waiting for your kind response.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
09/24/13 08:11 PM (12 years ago)
I've answered. Look at step b... Above that code just search it in your class whichever you use it will be the same
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
09/25/13 05:21 AM (12 years ago)
ya i have seen thanks a lot buddy for all your help. i will let you know is it working or not. thanks again.
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
09/25/13 11:36 AM (12 years ago)
getting errors. solution please 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.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
09/25/13 12:17 PM (12 years ago)
Are you using Android Core 3.0 or the old code..?
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
09/25/13 08:48 PM (12 years ago)
yah m on core 3.0
 
Higgey
buzztouch Evangelist
Profile
Posts: 394
Reg: Sep 07, 2011
West Midlands
13,540
like
09/29/13 12:10 PM (12 years ago)
Any chance that anyone can do a step by step tutorial for us, or maybe even a quick video? John
 

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.