![]() ![]() 'activity_hello.xml' is the layout built using ' Android Common XML Editor'. 'hello_world' resource string contains the message 'Hello world!' which will be shown on launching of the application. Here we can build UI by simply dragging and dropping UI components from the Palette. 'android_hello.xml' (layout) will be opened using ' Android Common XML Editor'. Overall Project StructureĪndroid project will be created with some default files as shown below In this case click Next button and hit ' Install/Upgrade' button to install or upgrade required dependencies.įinally click Finish button. If Finish button is not enabled and Next is enabled that means required dependencies (Supporting library) are not installed. For demonstration purpose, I have changed few settings as shown belowĬhoose an activity template (say ' BlankActivity') and click Next button.Įnter ' Activity Name' (say 'HelloActivity') and click Finish button. Click Next buttonĬhoose your App icon and configure as per your requirement. To make it simple you can leave the dropdown value as it is. ![]() Select ' Minimum Required SDK' (lowest version of Android that this app supports), ' Target SDK' (highest version of Android with which this application has been tested), ' Compile With' (platform version against which this application will be compiled with) and ' Theme' (Android UI style) from the corresponding theme. Select from the menu File -> New -> Other -> Android -> Android Application Project (say 'AndroidHello') and click Next button.Įnter Application, Project and Package Name. Tools & Technologies used in this article : Here, we'll use Eclipse IDE with Android Developer Tools (ADT) plugin to build the application and Android Emulator - Android Virtual Device (AVD) to run the application which will draw 'Hello World!' text on the screen. This tutorial will help you to write your first Android 'Hello World!' program. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |