Higgey
buzztouch Evangelist
Profile
Posts: 394
Reg: Sep 07, 2011
West Midlands
13,540
06/06/13 07:05 AM (12 years ago)

Adding Airpush Ads - Process Updated

Hi, Airpush have updated their SDK and amended their installation process. They've created a great set of instructions that you can read at http://www.airpush.com/docs/index.php?title=Android_SDK_6.0_Documentation However, there are some areas that I just do not quite understand. Would anyone be willing to update the existing installation instructions for Buzztouch users? It would be appreciated by many folks, I'm sure. John
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
06/06/13 09:54 AM (12 years ago)
Everything is the same during the first steps 1-3. http://www.airpush.com/docs/index.php?title=Android_SDK_6.0_Documentation Step 3.4. Is if you want add a listener (not required). Its easy to add, the same as adding the airpush ad code Step 4. MRAID 2.0 and Banners .. If you want these types of ads add the code that they have given to your xml layout view (buzztouch screen) <<your package name>.AdView xmlns:ap="http://schemas.android.com/apk/res-auto" android:id="@+id/myAdView" android:layout_width="wrap_content" android:layout_height="wrap_content" ap:animation="fade" ap:banner_type="inappad" ap:placementType="interstitial" ap:test_mode="false" ap:refresh_time=”60” ap:canShowMR="false" /> the java file import com.airpush.android.AdView; com.airpush.android.AdCallbackListener; in the onCreate method: AdView adView=(AdView)findViewById(R.id.myAdview); adView.setAdListener(this); AdCallbackListener.MraidCallbackListener adlistener = new AdCallbackListener.MraidCallbackListener() { @Override public void onAdClickListener() { //This will get called when ad is clicked. } @Override public void onAdLoadedListener() { //This will get called when an ad has loaded. } @Override public void onAdLoadingListener() { //This will get called when a rich media ad is loading. } @Override public void onAdExpandedListner() { //This will get called when an ad is showing on a user's screen. This may cover the whole UI. } @Override public void onCloseListener() { //This will get called when an ad is closing/resizing from an expanded state. } @Override public void onErrorListener(String message) { //This will get called when any error has occurred. This will also get called if the SDK notices any integration mistakes. } }; doesn't seem very difficult nor have i upgraded yet but its a start to try if you want to add the rich media ads. maybe someone could chime in.. i would try at least especially if you've already added the previous airpush 5.0 sdk
 
Higgey
buzztouch Evangelist
Profile
Posts: 394
Reg: Sep 07, 2011
West Midlands
13,540
like
06/06/13 12:02 PM (12 years ago)
Thanks, Mysps. Most appreciated. Some steps do look familiar,as you say. I've been through it and I am happy to try but there are some things which are highly unfamiliar to me such as the listener thing (I'm not a "proper" developer). I think I'd be happy enough just with the Push Ads. I'm not sure I want to add the rest of the features. I'd be grateful if anyone else would like to add any thoughts about implementing this process.
 
Mike the App Guy
Lost but trying
Profile
Posts: 435
Reg: Sep 19, 2011
Birmingham, Ala...
5,900
like
07/02/13 07:47 PM (12 years ago)
Any updates on this? I'm going to give Airpush a shot, but I'm in about the same boat as Higgey
 
Tony @ Buzztouch
buzztouch Evangelist
Profile
Posts: 528
Reg: Mar 05, 2011
Saint Louis, Mi...
24,620
like
10/15/13 09:01 AM (12 years ago)
Buzztouch has now partnered with Airpush! Check out the "how To's" for updated samples and integrations information. Tony @ Buzztouch
 

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.