Q:
Write a quick script for launching a new activity within your application.
Answer
An explicit intent explicitly defines the activity the developer wishes to start.
Script code :
Intent myIntent = new Intent(this, MyNewActivity.class);
startActivity(myIntent);
View answer
Workspace
Report Error
Discuss