Pages

Monday, 24 February 2014

Your First project

There is the connectivity between .java file and main.xml file.
There are three main concepts that you need to understood
  1. Moving from one page to another page
  2. To display the information
  3. How to use Button
Intent:
             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