Saturday, July 2, 2011

Admob in Android

This link is great for just throwing a quick ad in with admob into your app.

followed by the following:

Basically you add the "publish code" jar to your app, then insert a few lines into your manifest. Then you place the banner into your app where you want.

The one piece that tricked me is that if you simply try to add the sample xml unit to your project you need to make sure that in the main layout (the one that declares the "android" namespace), you need to add the following:


No comments:

Post a Comment