2 Answers

0 votes
Android Explicit intent specifies the component to be invoked from activity. In other words, we can call another activity in android by explicit intent.
answered Jun 20, 2016 by Aruna
0 votes

Explicit activity While creating an Intent object when we explicitly specify and pass on the target component name directly in the intent, it’s an explicit intent.Explicit Intents are used to call a specific component. When you know which component you want to launch and you do not want to give the user free control over which component to use.For example, you have an application that has 2 activities. Activity A and activity B. You want to launch activity B from activity A. In this case you define an explicit intent targeting activityB and then use it to directly call it.

Example method

 You make a call that indicate exactly which activity class:

Intent intent = new Intent(this, ActivityABC.class);


answered Jan 11, 2017 by ajaykumar

Related questions

What is an implicit Intent?

Implicit intents specify the action which should be performed and optionally data which provides content for the action. If an implicit intent is sent to the Android system, it searches for all...

java, servlet, jdbc 2 Answer 78 views asked Jun 20, 2016 in Java by Srinu

What is an applet?

An applet is a Java program that runs in a Web browser. An applet can be a fully functional Java application because it has the entire Java API at its disposal.

java, servlet, jdbc 3 Answer 43 views asked Jun 30, 2016 in Java by Aruna

What is an Interface?

An interface in the Java programming language is an abstract type that is used to specify a behaviour that classes must implement. They are similar to protocols. Interfaces...

java, servlet, jdbc 2 Answer 53 views asked Jun 30, 2016 in Java by Surya

What is An android manifest file?

AndroidManifest  is a powerful file in the Android platform that allows you to describe the functionality and requirements of your application to Android. However, working with it is not easy....

java, servlet, jdbc 2 Answer 138 views asked Jun 20, 2016 in Java by RSK

What is An Intent?

An Intent is an "intention" to perform an action; in other words, a messaging object you can use to request an action from another app component An Intent is basically a message to say you did or...

java, android, servlet 2 Answer 91 views asked Jun 17, 2016 in Android by UdayKiran