In Android Application Development, basically, two types of Intent available.
1. Explicit Intent
2. Intent Intent
Below is a code of very simple application which will guide how to use intent
In following application,
2 button set in main.xml file. When click to first button, it will shows Activity1 and when click to second button, it will show Activity2.
In java file, intent sets for the first activity and for second activity. In manifest file, activity set. Activity1 uses Explicit Intent and Activity2 uses Implicit Intent.
If u like this tutorial then do not forgot to comment on that
for any further query, you can also mail at pranavdv@gmail.com
1. Explicit Intent
2. Intent Intent
Below is a code of very simple application which will guide how to use intent
In following application,
2 button set in main.xml file. When click to first button, it will shows Activity1 and when click to second button, it will show Activity2.
In java file, intent sets for the first activity and for second activity. In manifest file, activity set. Activity1 uses Explicit Intent and Activity2 uses Implicit Intent.
If u like this tutorial then do not forgot to comment on that
for any further query, you can also mail at pranavdv@gmail.com
Hi, thank you very much for help. I am going to test that in the near future. Cheers
ReplyDeleteAndroid Training Chennai