Millennial Media Ads

ssg

Well-Known Member
Licensed User
Hi folks,

Here is a new updated Millennial Media Library. Dummy XML file is provided for those using older version of B4A, new users don't need the dummy XML file.

Copy this library and get the millennial media library from their portal.

This is required in the manifest:

B4X:
<activity android:name="com.millennialmedia.android.MMAdViewOverlayActivity" 
                    android:theme="@android:style/Theme.Translucent.NoTitleBar">
        </activity>        
        <activity android:name="com.millennialmedia.android.VideoPlayer" 
                    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
                    android:configChanges="keyboardHidden|orientation|keyboard" >
        </activity>
The permissions needed are:

B4X:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
The code should be easy to follow.

Any questions ask away, though their portal still sucks big time.

Cheers!
-Bill

PS - ONLY BANNER ADS IN HERE FOR NOW!

PS - THERE IS A BUG IN THE LIBRARY FOR NEW APPS CREATED IN THE DASHBOARD OF MM, USE THIS ONLY FOR YOUR OLDER APPS. IF YOU'RE NEW WITH MILLENNIALMEDIA, THEN HOLD OFF TILL THE BUG IS FIXED.
 

Attachments

Last edited:

susu

Well-Known Member
Licensed User
Thanks Bill. You're the king of advertising apps :D How about its performance?
 

ssg

Well-Known Member
Licensed User
Hi All,

Apologies for the caps, but:

DONT USE THE LIBRARY IF YOU CREATE A NEW APP IN THE DASHBOARD OF MILLENNIALMEDIA! IT WORKS FINE IF YOU HAVE CREATED YOUR APP AGES AGO, BUT ANY NEW ONES CREATED IS CAUSING A FORCE CLOSE!

Use at your own risk :D

Cheers!
 

ssg

Well-Known Member
Licensed User
Thanks Bill. You're the king of advertising apps :D How about its performance?
Thanks susu... but the library has a bug which I found out after releasing it :p

Don't use it yet, if you're just starting off with Millennial Media.

Cheers!
-Bill
 

brm217

New Member
Millennial Support

Hey Bill!

I am part of the Developer Support team at Millennial and would love to help out with this issue.

If you could log into your Millennial account and submit a ticket on our Support page I will be happy to help get to the bottom of this with you.

It would be great if you could include in the ticket the name of this forum as well!

thanks,
Brian
 

ssg

Well-Known Member
Licensed User
Hi Brian,

Ticket raised. Hope we can solve this.

Basically if an ad is returned, and displayed, then it is fine. But when no ad is returned, it causes a force close when the area where the ad is supposed to be, is clicked.

Cheers!
-Bill
 

jake

Member
Licensed User
Have you heard any more from Millenial Media?

I'm at that stage with my very first app trying to figure out monetization, and I am considering going with MM.
 

ssg

Well-Known Member
Licensed User
I've got a basic response from them, nothing technical yet, plus not having the time to follow up with this for time being.

Hope you can consider one of the other ad implementations for now.
 

SellAringSupport

Member
Licensed User

iz2bkt

Member
Licensed User
A hopefully working version is available from my blog here:

Basic4Android Millennial Media Library

Please test it out and feedback if it is working or not as I am having poor fill rates to fully test it.

Thanks.
Hi ssg,
I downloaded the library from your blog and followed the instructions but MMedia does not work, returns a java exception when the app start:

java.lang.NoSuchMethodError: com.millennialmedia.android.MMAdView.
 
Top