请通过http://www.pastie.org/3809101中的以下代码
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
// making it full screen
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
ball = new BallBounces(this);
ball.activity = this;
setContentView(ball);
getGPSdata();
}
这是没有错误的主要活动方法和项目。为什么突然停止?