Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing a game in android, by extending a class with view. I have integrated OpenFeint in it by studying the tutorial provided on the OpenFeint site, but I am not able to add the leaderboard feature in my app. How can I achieve it?

My game class is like this

public class GameActivity extends Activity {  

Intent i;

Grapic g;

public void onCreate(Bundle savedInstanceState) {
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);           

    setContentView(new Grapic(this));

and Grapic is a class which extends view and where scoring is done with touch events.

share|improve this question
Have you added a leaderboard in the openfeint developer website? You have to set it up first and then, in theory, the openfeint client sees that it's there and lets you use it. – Tetrad Oct 7 '11 at 21:42
First sorry for late reply Tetrad , yes i have set up a leaderboard for my game in openfeint developer website , and i also have its id but i was not able to understand where to use that code of tutorial – Avi kumar Manku Oct 10 '11 at 4:27
even i am stuck at the same problem..... i think after enabling the openfeint feature...they will provide some means to access it.. – user14523 Mar 19 '12 at 4:49

If you're getting stuck trying to add OpenFeint (or now GREE) leaderboards to your Android game, then take a look at Swarm (aka SwarmConnect). It's incredibly easy and straight forward to implement and some pretty popular games are already using it (Logo Quiz with 10 million to 50 million downloads is one example).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.