Q. If you want to navigate from one activity to another then android provides you which class or method?
Q. In an implicit Intent, the sender specifies the type of receiver. True or False?
Q. Suppose that there are two activities in an application named ActivityOne
and ActivityTwo
. You want to invoke ActivityTwo
from ActivityOne
. What code will you write to do so?
Q. Which component is not activated by an Intent?
Q. Types of Intents in Android is\are:
Q. Suppose that there are two activities in an application named FirstActivity
and SecondActivity
. You want to send a website's name from first to second activity. What code will you write? Suppose that website name is "www.studytonight.com"
Q. In the above you sent the data from first to the second activity. How will you GET the data in the second activity?
Q. You can shut down an Activity by calling its __________ method.
Q. When an activity is not in focus, but still visible on the screen it is in?