在我的安卓游戏丢失几秒后,我试图启动一个分数屏幕。但Android工作室并不能识别startActivity,而新的Intent构造函数并不喜欢我的参数。有什么指导吗?
new Handler().postDelayed(new Runnable(){
public void run() {
Intent startGame = new Intent(MissionView.this, ScoreScreen.class);
startGame.setAction(startGame.ACTION_SEND);
startActivity(startGame);
***更新 startActivity method not accepting the intent I just created with getContext() } },2000); // 2秒后启动ScoreScreen