Android Explicit Intent ExampleAndroid Explicit intent specifies the component to be invoked from activity. In other words, we can call another activity in android by explicit intent. We can also pass the information from one activity to another using explicit intent. Here, we are going to see an example to call one activity from another and vice-versa. Android calling one activity from another activity exampleLet's see the simple example of android explicit example that calls one activity from another and vice versa. activity_main.xmlFile: activity_main.xml ActivityOne classFile: MainActivityOne.java activitytwo_main.xmlFile: activitytwo_main.xml ActivityTwo classFile: MainActivityTwo.java Output:Next TopicAndroid StartactivityForResult Example |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India