Run an Android Application In Eclipse
As You have Seen In The Previous Blog How to set Up an Eclipse IDE to Work With Android Development
Once you have set up the Android Virtual Device You will now need to configure the Runimg or the debugging
For this You can go to Run->Run Configurations
On the Left Panel Select the Android Node
Click on the Browse and select the Hello_World Application that we have created Now click on run
You emulator will start working and you will get the following output
Once you have set up the Android Virtual Device You will now need to configure the Runimg or the debugging
For this You can go to Run->Run Configurations
On the Left Panel Select the Android Node
Click on the Browse and select the Hello_World Application that we have created Now click on run
You emulator will start working and you will get the following output
So you have now run your first android app congratulations!!!!!!!!! but your are Blank its OK that how it works we will be expert very soon
Now coming back to the eclipse
You will see a screen like this
In the Bottom left side you can see two tabs Graphical Layout and Activity_Main.Xml.Graphical Layout is self explanatory
Activity_Main.xml is xml file that defines the graphical lay out of you app
In your emulator you can see Hello World because here in second last line android:text="@string/hello_world"
Now you can change this string as you desire and again run the applications you can see the changes as applied
THE JAVA FILE
In order to change the working of the android application we now need make the changes in the java file that is MainActivity.java
To locate this file go to the MainActvity as shown in the figure
You will find the following Java file
For the time being let just keep these things in the mind we will come back here later in greater details







0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home