Admob is a mobile advertising and monetization solutions from a trusted name in mobile advertising. As mobile advertising method, it supports all the main platform, such as android app, iPad app, iPhone app, mobile web, webOS app, and Windows Phone 7 app. For flash, it only support the flash lite, which is not widely used in the latest mobile technology. For the latest flash cs5.5, it already integrates the support for Android Air application and iphone application. For flash developers, there is still a way to embed admob ads in their flash application for android and iphone.
Add Admob in WebView
Admob doesn’t support the flash actionscript 3 natively. But it support the mobile web application, which means you can use admob ads in your web page for mobile. According to the adobe air guide, you can use the StageWebView working with your html page to embed admob ads in your flash android applications. This is my admob flash application. It works very well in my HTC desire 🙂
Add Admob in Flash Native Extension
From Flash CS5.5, Flash introduced a new way to support native device feature. This great feature makes it possible to add admob in flash air based native app. We can create an Android library which implements FREEExtension, FREContext, FREFunction. Then we can use Flash AIR adt to build an native extension ANE file. To show admob ads banner, we can add ANE file as a library to our flash or flex project. Inside flash project, we can call the interface to show adds in flash apps. For more information, you can check following post: