LITTLEBIGPLAY.COM - FREE ONLINE GAMES   DONAGAMES.COM - GAMES FOR GIRLS     CONTACT ME    
    SHAJBY  MY CREATIONS 
FLASH GAMES | FOR KIDS | ANDROID ONLINE GAMES | TABLET GAMES | ANDROID GAMES | WEBSITES


TUTORIALS

1. How to load SWF with JAVA and package it as APK file!
2. LET'S MAKE SOME MONEY - ADDING LEADBOLT ADS!
3. FINDING PAIRS #1 - FLASH GAME TUTORIAL
4. FINDING PAIRS #2 - PUBLISHING AN ANDROID VERSION WITH ADOBE AIR
5. FINDING PAIRS #3 - ADDING MORE FUNCTIONALITY TO OUR ANDROID GAME
6. EARNING EVEN MORE MONEY WITH REVMOB - ADDING REVMOB TO OUR ANDROID GAME!!

Do you want to see more tutorials? Please buy me some beer! :)



6) EARNING EVEN MORE MONEY WITH REVMOB - ADDING REVMOB TO OUR ANDROID GAME!

Another great advertising system we can use to monetize our android games is Revmob. An average eCPM I m getting with Revmob' fullscreen ads is $3.00! The integration is pretty easy and we will need to add just a few new lines to our existing project!

REQUIREMENTS
- register to RevMob
- Access the RevMob Console and register your application to get your RevMob App ID;
- download Android SKD
- project files from the first tutorial - Eclipse installed

1) Open the project file in Eclipse and add the required permissions in your AndroidManifest.xml file by putting the following code just above closing </manifest> tag!

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
2) Create a libs/ folder on your Eclipse project, and copy there the JAR file (Android SDK) you downloaded earlier! Add the library to your project's build path, by right-clicking the file on Eclipse, selecting Build Path, then Add to Build Path. More info about importing JAR files can be found in tutorial #2

3) Prepare your Revmob app ID (you can get it from RevMob Console). Add these two variables to your main GameActivity and replace "copy your RevMob App ID here" by your Revmob App ID!

private static final String REVMOB_APP_ID = "copy your RevMob App ID here";
private RevMob revmob;
4) Paste this line to the constructor onCreate of the main activity!

revmob = RevMob.start(this, REVMOB_APP_ID);
revmob.showFullscreen(this);
5) To be able to load the REVMOB in the app add access control on your AndroidManifest.xml. Just add the RevMob activity in the application node. Paste the lines below just above closing </application> tag:

<application>
<activity android:name="com.revmob.ads.fullscreen.FullscreenActivity"
android:configChanges="keyboardHidden|orientation">
</activity>
</application>


That's it! Export the project and you should see the revmob fullscreen ad in your game! You will see it even in the Eclipse emulator so test your project and ensure Revmob is displayed! Normally it can take a few seconds to display the ad, so be patient :)!

- Download one of my final game project files here. It includes also APK of the project in BIN folder, if you install it on your phone and run it you should see a game Madpet Skateboarder with a leadbolt ads and Revmob implemented!

- Check out the games I created and published with revmob on the Android market or visit my game portal littlebigplay.com

- register to leadbolt


TUTORIALS

1. How to load SWF with JAVA and package it as APK file!
2. LET'S MAKE SOME MONEY - ADDING LEADBOLT ADS!
3. FINDING PAIRS #1 - FLASH GAME TUTORIAL
4. FINDING PAIRS #2 - PUBLISHING AN ANDROID VERSION WITH ADOBE AIR
5. FINDING PAIRS #3 - ADDING MORE FUNCTIONALITY TO OUR ANDROID GAME
6. EARNING EVEN MORE MONEY WITH REVMOB - ADDING REVMOB TO OUR ANDROID GAME!!

Do you want to see more tutorials? Please buy me some beer! :)





 
 
Copyright © shajby 2010-2011