How do I add leaderboard feature of OpenFeint in android?
- by Avi kumar Manku
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.