Skip to main content

Basic4Android Millennial Media Library

Here you go folks. Millennial Media library for Basic4Android is attached.

Please note that it has not been extensively tested. And I am having poor fill rates. So you are my official guinea pigs! Muahahahhaha!

What I would appreciate is some feedback on it's workings please. Please let me know if it works fine for you, as a lack of feedback would mean a lack of updates and new libraries from me :)

I have only tested the top and bottom banner formats, and those are fine for me. I have added the option for interstitials, but I can't seem to get them to work due to low fill rate, please let me know if it works for you.

Add this to your manifest file:

<!-- SDK Activities -->
<activity android:name=""
android:configChanges="keyboardHidden|orientation|keyboard" >
<activity android:name=""
android:configChanges="keyboardHidden|orientation|keyboard" >

Sample code:

mmedia.initialise("xxxxx", mmedia.GetBannerAdTop, 30, "mmedia")
Activity.AddView(mmedia, 0, 0, 320dip, 50dip)

Events available for adfailed or adreturned.

Download the jar from MM's own website.

The B4A library for ads is here.

If you need to know how to add the libraries in, please ask in Basic4Android forum.

Good luck!



  1. Hi Bill,

    Any news about new ad network?


  2. Hi Bojan,

    Sorry for the suspense :P

    Actually the ad network had/has lots of stuff to sort out yet, and they even had a major bug with their dashboard which I was waiting for them to fix.

    Anyway, it is Heyzap Ads... you can have a look and register here: Heyzap Ads

    For those who want the Basic4Android library for it, I'll get it out soon...

    Good luck!

  3. Using Millenial Media,AdMob, Jumptap, MobFox. I must say that MM is performing best of them followed by AdMob.

    1. Hi Ngoro,

      Thanks for the update. MM does have good eCPM when I used them a while back, but their fill rate is quite low for me, thus I am not using them now.

      Plus, I am more interested in CPA networks these days :D

  4. Hey, Bill:

    Thanks for this! The Millennial SDK API has changed a bit in the last two years... any hope for an update on this?

    1. Hi Mark,

      I'm not developing with B4A these days, and have not used MM for ages. I'm afraid there won't be an update from me on this.

      There was a library being developed by John McEnroy or someone on B4A, maybe he is a more suitable person for this?

      Good luck!


Post a Comment

Popular posts from this blog

Airpush Review - Where is the Promised CPM?

Hi all! How are you doing? Pretty tensed episode here on Airpush, and my opinion to the fact that they aren't playing fair to their developers. Are you using Airpush? If you are, how's your CPM been doing? Ever since you started? And if you are not, and you are planning to use it, what is attracting you to it?

A slow April - Is mobile advertising dieing?

Hi, and welcome to a brand new post. How is your April doing? For me, and many other developers, April has been a slow month. My revenues have gone down a bit. Not so bad though, I'll get to that later.

AppBucks Push and Icon Ads - Alternative to Airpush, Leadbolt, SendDroid and StartApp

We developers are always on the lookout for better monetisation options for our mobile apps. With the recent slow down on the mobile advertising scene after the December spending spree, people are starting to question the ad networks. The thing is, there IS a slow down across all networks. It is weird in that in 2012, my revenues kept growing in January and February. Well, it looks like advertisers are also getting savvier and better using their funds on ads. Let me introduce you to AppBucks (referral link).