Integrating AdMob into an Android Processing App
Integrating AdMob into an Android Processing App is surprisingly easy, once you know how. Here we show you the steps so you can display ads and monetise your app The processing forum has some great advice on doing this, but having tried it, we've adapted and improved this a little and listed the steps here The following steps assumes you already have a Processing sketch working in an Android app created in an IDE like Android Studio or Eclipse, as you will be dealing with non-Processing libraries. If not, you will need to port your sketch over as shown in the really useful tutorial over on processing.org We also assume you have signed up to AdMob and have an app key for your app. If not, you'll need to have over to AdMob and do so. We recommend using a Smart Banner as this easily adapts to screen size and resolution Step 1 - Import the AdMob library If you're using Android Studio or a dependency management build tool such as Gradle this is as simple as adding the