android java parse class name via intent

Solutions on MaxInterview for android java parse class name via intent by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "android java parse class name via intent"
Elana
30 Aug 2016
1Intent p = new Intent(StartScreen.this, Setting.class);
2p.putExtra("class","packagename.classname");
3
Máximo
15 Sep 2019
1Bundle extras = getIntent().getExtras();
2String classname=extras.getString("class");
3Class<?> clazz = Class.forName(classname);
4Intent i = new Intent(Setting.this, clazz);
5startActivity(i);
6
similar questions
queries leading to this page
android java parse class name via intent