AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
02/27/13 10:25 AM (12 years ago)

Revmob Android Banners

I have just followed Sandeeps excellent tutorial and put full screen ads into an android app. I would like to have banner adverts too. 2 Questions 1) Has anyone done this - I looked at the revmob documentation at http://sdk.revmob.com/android but I really didn't get it! 2) Would I be better off going with somebody else for banner ads? Alan
 
AlmaR
Lost but trying
Profile
Posts: 73
Reg: Jun 13, 2011
location unknow...
5,630
like
03/04/13 05:16 PM (12 years ago)
I'm in your same situation, any updates of this? I've been trying to adapt the code that is below from @ricardo to Revmob 6.0 but I couldn't make it work, I had a problem in this line "Banner banner = new Banner("Your app id", this); " 1. import the revmob-3.0.3.jar (you have already done this when using fullscreen ad, you don't have to do this again) 2. in the file act_base.xml file, i replaced these lines <!-- baseView is filled dynamically by each Activity .java class --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/baseView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> </LinearLayout> for these <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/revmobWrapper" android:padding="0dip" android:layout_margin="0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"> <!-- baseView is filled dynamically by each Activity .java class --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/baseView" android:layout_above="@+id/revmob_banner" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> </LinearLayout> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/revmob_banner" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_alignParentBottom="true" android:orientation="vertical"> </LinearLayout> </RelativeLayout> 3. In BT_activity_base.java, added this lines: Banner banner = new Banner("Your app id", this); LinearLayout bannerView = (LinearLayout)this.findViewById(R.id.revmob_banner); bannerView.addView(banner);
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
03/05/13 01:52 PM (12 years ago)
Hi @AlmaR, here is the revmob sdk code that I didn't understand where to put into buzztouch. http://sdk.revmob.com/android - does it help?
 
AlmaR
Lost but trying
Profile
Posts: 73
Reg: Jun 13, 2011
location unknow...
5,630
like
03/05/13 02:29 PM (12 years ago)
Hi @AlanMac, I read Revmob instruction too but I couldn't figure it out. Will let you know if I make it work.
 
Redbullet
Aspiring developer
Profile
Posts: 42
Reg: Mar 05, 2011
Earth
3,170
like
04/30/13 07:11 AM (12 years ago)
Hi guys, anyone successfully implemented banner ads for Revmob?
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
04/30/13 09:59 AM (12 years ago)
I stuck with Revmob for full screen adverts but I went with Admob for banners in the end. Alan
 

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.