我想关闭我的整个应用程序。我已经尝试过finishActivity()
背压,但它不起作用。我想在back
新闻发布会上完全关闭我的申请。我该怎么做?
public void onImageViewClicked(View view){
switch(view.getId()){
case R.id.viewStk:
intent = new Intent(MainActivity.this,ViewStkActivity.class);
startActivityForResult(intent, 12);
break;
case R.id.about:
Intent aboutIntent = new Intent(MainActivity.this,AboutActivity.class);
startActivity(aboutIntent);
break;
}
}