How do I add leaderboard feature of OpenFeint in android?

Posted by Avi kumar Manku on Game Development See other posts from Game Development or by Avi kumar Manku
Published on 2011-10-07T11:46:08Z Indexed on 2012/03/19 10:19 UTC
Read the original article Hit count: 355

Filed under:
|

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) {
    super.onCreate(savedInstanceState);
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    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.

© Game Development or respective owner

Related posts about android

Related posts about openfeint