The Business of Mobile - Make Money with Android, mobile advertising and App Store Optimization

Wednesday, December 26, 2012

Basic4Android Millennial Media Library

Posted by with 6 comments

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="com.millennialmedia.android.MMActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:configChanges="keyboardHidden|orientation|keyboard" >
</activity>
<activity android:name="com.millennialmedia.android.VideoPlayer"
android:configChanges="keyboardHidden|orientation|keyboard" >
</activity>

Sample code:


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

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!

-Bill

6 comments:

  1. Hi Bill,

    Any news about new ad network?

    :)

    ReplyDelete
  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!

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

    ReplyDelete
    Replies
    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

      Delete
  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?

    ReplyDelete
    Replies
    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!

      Delete