android-alliance-ads


android.alliance.ads

Android Alliance Ads (prevent adblocker - for admob)

Use this lib to show your own banners when admob ads failed to load due to network inaccesibility.

A use case is when the user has installed an adblocker, or the wireless connection is lost (test the lib by activate the airplane-mode).

The lib supports banner and fullscreen ads at the same time.

The usage of this lib is very simple:

  1. Checkout the lib android.alliance.ads to your workspace.

  2. Add android.alliance.ads as a lib to your android project.

  3. Add googleplay services as a lib to android.alliance.ads

  4. If you want to use fullscreen banner in your project, include the following line in the androidmanifest.xml of your project

  1. Set up the AdAdapter with admob id´s and your own banners located in the drawable folder in your android project.

  2. If you want to use banner ads, create a framelayout container ontop of your activity or fragment. In this container the banner will be displayed

  3. If you want to use fullscreen banner ads, simple start by call it in the adadapter

Please take a look on the example project. Here you will see a simple implementation and an advanced implementation. In the advanced implementation you can use a bannerClosedCallback by overriding the method.

Apps that use android.alliance.ads:

Banners:

https://play.google.com/store/apps/details?id=de.idcardscanner

https://play.google.com/store/apps/details?id=de.myinstructions

Fullscreen-Banners:

https://play.google.com/store/apps/details?id=de.levitheknight

Project Information

The project was created on Oct 10, 2012.