I have a variable:
String MyClass = "MyClass" and I want to use it here:
Intent intent = new Intent(this, MyClass.class); startActivity(intent); or:
Intent intent = new Intent(this, MyClass.ToString().class); startActivity(intent); and it doesn't work... How can I pass the value of MyClass to the Intent constructor?