EasyHits4U.com - Your Free Traffic Exchange - 1:1 Exchange Ratio, 5-Tier Referral Program. FREE Advertising!

Thursday, 13 November 2014

Android Development [Episode -02] :: Web developer tool contacts and create the first App


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




From here you can customize your own by filling in the Activity Name and click Finish.
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.



Now udaharanasbarapa If you delete the default Hello World Text Large Text view to Form Widgets App Hardcoded String if the drug on the screen or the bottom will display alerts.



Now udaharanasbarapa If you delete the default Hello World Text Large Text view to Form Widgets App Hardcoded String if the drug on the screen or the bottom will display alerts.


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