Android SDK for MoreGamers.com.
Merge the src folder of this repo into the src folder of your game.
Make sure your AndroidManifest.xml file includes the Internet permission.
<uses-permission android:name="android.permission.INTERNET" />
You have two options for integrating MoreGamers into your game.
Add the following code to your layout xml file. Replace XX with your game ID.
<com.moregamers.MoreGamersView android:id="@+id/moregamers" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center" game="XX" />
If your game does not use native UI layouts, you will need to use this method to display a banner on your screen.
You will need to import the MoreGamers class into any file that uses it.
In the onCreate function of your Primary activity, initialize MoreGamers, where XX is your game id
This must be at the END of your onCreate function. It will create an AbsoluteLayout and stack it on top of your other Views.
Display a banner
MoreGamers.banner(x, y, width, height);
Hide the banner