Hi,
How can i launch an android activity via a specified class name of an activity?
Thank you.
Hi,
How can i launch an android activity via a specified class name of an activity?
Thank you.
From your base Activity (say, via an option menu click):
public boolean onOptionsItemSelected(MenuItem item)
{
Intent intent = new Intent (this, NewActivity.class);
startActivityForResult (intent, SOME_ACTIVITY_ID);
}
Hope that helps!