How to write a quick script for launching a new activity within your application?
Answers
Answered by
4
Explanation:
12Q:
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);
Filed Under: Programming
Similar questions