scoreloop integration.

scoreloop integration.
0.0 0


im trying to integrate scoreloop into my game. following the tutorial heres how to show leaderboard :

//When the button is clicked, the LeaderboardsScreenActivity will be launched.
            startActivity(new Intent(this, LeaderboardsScreenActivity.class));

but you can’t call startActivity from static functions in java, and you can’t call non-static functions with jni helper so i guess it’s not possible to integrate scoreloop hugh?


You should make a

private static Activity me;

and then in the create, me = this;

Then use

me.startActivity(new Intent(me, LeaderboardsScreenActivity.class));