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

Friday, December 21, 2012

Merry Christmas, Happy Holidays.. and coming soon!

Posted by with 6 comments

Been a while, and the year is almost up. Doomsday tomorrow! See you all in hell (for those developers who use notification ads), and in heaven (for those who only used banner ads). I'll be at both places, we'll have fun!

Anyway, say we survive this weekend, here is what you can expect from me very very soon: