1Intent p = new Intent(StartScreen.this, Setting.class);
2p.putExtra("class","packagename.classname");
3
1Bundle extras = getIntent().getExtras();
2String classname=extras.getString("class");
3Class<?> clazz = Class.forName(classname);
4Intent i = new Intent(Setting.this, clazz);
5startActivity(i);
6