Deprecated Thread methods are not supported without stop() method
<p>I programmed game, which is supposed to use <code>.startActivity</code> on activity which should display score, the problem is, that instead of properly displaying the activity, i'm getting <strong>"Deprecated Thread methods are not supported"</strong>. I googled this error and i removed all <code>Thread.stop()</code> in my application, but it did not helped. Could there be any other reason why i'm getting this type of error?</p>

<pre><code>public class GameFrame extends Activity implements OnTouchListener, OnLossListener {
Panel game;
@Override
public void onCreate(Bundle savedInstanceState) {
    Display d=getWindowManager().getDefaultDisplay();
    super.onCreate(savedInstanceState);
    this.requestWindowFeature(Window.FEATURE_NO_TITLE);
    Point p=new Point(d.getWidth(),d.getHeight());
    game=new Panel(this,p);
    setContentView(game);
    game.setOnTouchListener(this);
    game.setOnLossListener(this);
}
public boolean onKeyDown (int kc,KeyEvent ke){
    if (kc==23){
        game.shoot();
    }
    return true;
}
public void onPause(){
    super.onPause();
    game.thread.setState(false);
    game.mech.setState(false);
    this.finish();
}
@Override
public boolean onTouch(View v, MotionEvent me) {
    if (v.equals(game)){
        game.setPosOfPlane((int)me.getX());
    }
    return true;
}
@Override
public void lost(int score) {
    Intent i=new Intent (this,EndGame.class);
    i.putExtra("score",score+"");
    startActivity (i);
}
</code></pre>

<p>}</p>
