i have following code to call new activity
now i want to use variable to call new activity
String var1,var2,var3; var1=\"Login\"; var2=\"Signup\"; var3=\"more
try this try { String className = 'com.www.tutorialforandroid.com.openActivity'; Intent openNewIntent = new Intent( this, Class.forName( className ) ); startActivity( openNewIntent ); } catch (ClassNotFoundException e) { e.printStackTrace(); }
try { String className = 'com.www.tutorialforandroid.com.openActivity'; Intent openNewIntent = new Intent( this, Class.forName( className ) ); startActivity( openNewIntent ); } catch (ClassNotFoundException e) { e.printStackTrace(); }