This code starts the activity:
Intent intent = new Intent(context, GameActivity.class); intent.putExtra(\"load\", true); startActivity(intent); >
Intent intent = new Intent(context, GameActivity.class); intent.putExtra(\"load\", true); startActivity(intent);
Try out as below:
private boolean value =getIntent().getBoolean("load");