クラス名をextraで渡そうとしていますが、どうすればいいですか?
Intent p = new Intent(StartScreen.this, Setting.class);
p.putExtra(" ",StartScreen.this);
設定クラスでクラス名を取得したいのですが、String
このクラス名を次のように使用することを望んでいません:
Bundle extras = getIntent().getExtras();
extras.getString("class");
Intent i = new Intent(Setting.this, class);
startActivity(i);