Hope U all Understood My Last post about installing Android Development Environment.....
Now i will Show you How To build a Simple Hello World App in Eclipse....... :)
Let's get started...
Now i will Show you How To build a Simple Hello World App in Eclipse....... :)
Let's get started...
- Create a new Android project (File > New > Android Application)
- Set your project properties
- Project Name: Hello World
- Application Name: Hello World
- Package Name: com.Gaurang.test
- Min Required SDK : Android 2.3 or any as you want
- Target SDK: Select Android 4.2 or any you want
- Press " Next ".
- Select your App logo & press Next
- your Project is created, now start Developing.
- First open The activity_main.xml file.
- Drag & Drop The TextView & Button from sidebar to the graphical xml view.
- Now copy the code given Below.
- Save all files.
- now run the App in the AVD By clicking on the Run button on the menu bar of Eclipse as shown below.
- Now On clicking The Button It will Display a message for short priod of time.
Congratulaions Your First App Is Ready....
Stay Tuned For More Help....
Happy Coding :)

No comments:
Post a Comment