Does Score Ninja have to be released to save scores?
<p>So I have Score Ninja up and running on my app. It appears to be coded correctly. When I play through the game and get a score the box pops up and prompts me to input my name and such and then it goes to the other small screen that shows the list. After I input and submit and then exit the 2nd little box and I got to the high scores it does not display any highscores. Then when I play another round I get high score again and the other score is not on the list. Was wondering if anyone has used this and knows much about it. Does it not display and keep track of high scores until the app is released? Or maybe I coded something in wrong and it's not saving it or something. Here is where it is in my code in case you want to see.</p>

<pre><code>@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(new GameView(this));
</code></pre>

<p>//          scoreNinjaAdapter = new ScoreNinjaAdapter(
//                  context, "appid", "key");</p>

<pre><code> }
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data){
     super.onActivityResult(requestCode, resultCode, data);
     scoreNinjaAdapter.onActivityResult(requestCode, resultCode, data);
 }

 void onGameOver(){
</code></pre>

<p>//<br>
     }</p>

<p>Thats the PlayGame class that leads to the surface view. I have tried it with the stuff that is commented above in the code and out. I also had stuff in the onGameOver() but it didnt make any difference either. Here is the code in the surface view that contains it.</p>

<pre><code> @Override
   protected void onDraw(Canvas canvas) {

       else if (gameState == GAME_OVER){
           gameOverTime =(double)(System.currentTimeMillis()-startTime)/100000;

           finalScore = score;

           canvas.drawRect(0, 0, canvas.getWidth(), canvas.getHeight(), clearPaint);
           if(gOverType == 1){
               canvas.drawBitmap(bmpBloodOver, null, dst, null);
               canvas.drawText("GAME OVER!", canvas.getWidth()/8, canvas.getHeight()/3, whitePaint);
               canvas.drawText("KILLS: " + kills, canvas.getWidth()/8, canvas.getHeight()/3+70, whitePaint);
               canvas.drawText("SCORE: " + finalScore, canvas.getWidth()/8, canvas.getHeight()/3+140, whitePaint);




           }

           if (scoreNinja &lt; 1){
               ScoreNinjaAdapter scores = new ScoreNinjaAdapter(getContext() , "appid", "key" );
                scores.show(finalScore, null, Integer.toString(finalScore));
                scoreNinja++;
           }


           GameLoopThread.running=false;


       }
</code></pre>

<p>I cut pieces out that had nothing to do with it. The if around the scoreninja score is there to keep the ondraw from redisplaying the boxes over and over. If anyone knows anything about it or any ideas help would be appreciated. Thanks</p>

<p>Here is the Score Ninja site btw <a href="http://scoreninja.appspot.com/#HowTo" rel="nofollow">http://scoreninja.appspot.com/#HowTo</a></p>
