Open Source Android Apps for Developers: Andoop (Demo for aHighScore – Android global highscore board)

Cute Android: Open Source Android Apps for Developers: Andoop (Demo for aHighScore – Android global highscore board)

Description
aHighScore is a local & global high score board used by any Android game to save their scores. This is a demo project showing how to integrated with aHighScore and promote your Android game.

Project Home
http://code.google.com/p/andoop/

Project owners
feedb…@andoop.com

Version
b5

Downloads
http://code.google.com/p/andoop/downloads/list

QR code

Source Code
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://andoop.googlecode.com/svn/trunk/ andoop-read-only

How to use aHighScore?
1. Install aHighScore and register an account in your Android phone.
2. Download the aHighScore library: aHighScoreApi_1.02.jar.
3. Add this jar into your project library.
4. Submit your game in MyGame. A private key will be generated for your game.
5. Add your private key in res/values/strings.xml of your game project.
6. There are three ways to use aHighScore in your game Activity. More details can be found on this demo project.

public class Demo extends Activity {
private HighScoreManager scoreManager;

@Override
public void onCreate(Bundle savedInstanceState) {

scoreManager = new HighScoreManager(this);

//1. show your scoreboard in aHighScore.
scoreManager.showBoard();

//2. submit intSort into aHighScore
//display score is same as intSort in this way.
int intSort = 10;
scoreManager.submitScore(intSort);

//3. submit score into aHighScore
//sorted by intSort, displayed as strDisplay.
//subboard can be specified in this way.
String strDisplay = “Time 20s”;
String subboard = “Easy”;
scoreManager.submitScore(intSort, strDisplay, subboard);
}
}

7. Publish your game in Android Market, Enable your game in MyGame.
8. Note: your game status is “Dev Only” at first which means only yourself can see this game in aHighScore. After “Enable this game in aHighScore” in MyGame, the game status is “Published” which means everyone can see your game in aHighScore now.

Posted by Cute Android

Related posts:

  1. Open Source Android Apps for Developers: jPCT-AE (Android Game 3D Engine)
  2. Open Source Android Apps for Developers: TapsofFire (Android Game)
  3. Open Source Android Apps for Developers: Noiz2-droid (Android Game)
  4. Open Source Android Apps for Developers: XRace-sa (Android Game)
  5. Open Source Android Apps for Developers: Cavedroid (Android Game)
  6. Open Source Android Apps for Developers: Libgdx
  7. Open Source Android Apps for Developers: jMonkeyEngine (Java Based 3D Game Engine)
  8. Open Source Android Apps for Developers: Mages (Android Game Engine)
  9. Open Source Android Apps for Developers: Asqare (Android squares games)
  10. Open Source Android Apps for Developers: Dwarf-fw (Android 3D Framework)