Android java parse class name via intent
Intent p = new Intent(StartScreen.this, Setting.class);
p.putExtra("class","packagename.classname");
Android java parse class name via intent
Intent p = new Intent(StartScreen.this, Setting.class);
p.putExtra("class","packagename.classname");
Android java parse class name via intent
Bundle extras = getIntent().getExtras();
String classname=extras.getString("class");
Class<?> clazz = Class.forName(classname);
Intent i = new Intent(Setting.this, clazz);
startActivity(i);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us