Computer Science, asked by zahrarida086, 10 months ago

How to write a quick script for launching a new activity within your application?

Answers

Answered by kanthanprithvi
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