There is the connectivity between .java file and main.xml file.
There are three main concepts that you need to understood
Intent:There are three main concepts that you need to understood
- Moving from one page to another page
- To display the information
- How to use Button
Intent is the one main thing through which we can move from one page to another page. Main concept is that where should we use it
Toast:
Toast is the way that you can show the information in the black display while the application is running.
OnclickListener
On click listener is used when we wish to perform the action when an Button is clicked.
- If you want to use these Button in the java file you need to insert the button in the main.xml page
- There is also another advantage in this eclipse is that if you have any doubt in type the code you can just press the start letter and press tab.
- After you pressed the tab there are lot of options listed according to you code in that line
No comments:
Post a Comment