Android Development [Episode -01] :: Android Contacts and Useful Tools
The Android Developer Tools Open tool at the top of the left you will see several options if you want to open the project to
File> New> Android Application Project
The screen will show you like below
From here you Application Name, Project Name, Package Name Please fill.
Minimum Required SDK from here, then you want to iusa the API level, and then select the Target SDK.
Check the other options, click Next.
Then the screen will display like below
Then two files, MainAcivity.java and activity_main.xml file will open.
We will now discuss activity_main.xml.
Click activity_main.xml see two options at the bottom, a Graphical Layout, other activity_main.xml
Graphical Layout Palette on the left side of the field at the various options available, from the field of options from which you can customize the FirstApp on drugs.
To remove all of the folders you FirstApp FirstApp> res> values> string.xml to open the file.
And the need to enter a new line of code, for example,
Techtunes Code hailaitara - Double-click on the code to copy the code 1 Hello This Is My First App
Activity_main.xml then open the file in TextView android: text = "@ string / FirstText" wrote the code will not display the error. This text alerts can be eliminated.
To run the application in the Android Virtual Device or AVD manager to be selected, click on the options like below
Then the screen will show you like below
Select New from here
Then the screen will display like below
From here Avd Name, Device, Target, select the Ok button.
Click the Start button and then like below.
Emulator Device will run out soon.
Loading process is then complete, MainActivity.java visiting like below
Click the Run button.
Then, after a while it will show in the Emulator Device first Android App!
No comments:
Post a Comment