Home »
Android
Building your first Android Application
In this article, we are going to learn how to create first Android project? This article contains step by step process with the screenshots.
Submitted by Shamikh Faraz, on January 18, 2018
Step 1: Click File → New → New Project
Step 2: In the ‘Application Name’, you can give your project name. Click Next
Step 3: Now you can select, device ( i.e. phone and tablet, wear, TV) for which you are designing your app. Click Next.
Step 4: Also you have to select android operating version for your device. Click Next
Step 5: Here you can select activity (the layout for app). Click Next
Step 6: Here you can give activity name, but generally we use ‘Main Activity’. Click Next
Step 7a): After clicking finish your project window will show. There will be two files ‘XML’ and ‘Java’.
Step 7b) : When you click XML file, it will show XML coding phase of layout. You will have to write code for app layout.
Step 7c) If you click on ’Design’. Only design phase will show. Coding will hide.
Step 8: Go to ‘Run’ or Click on ‘Run button’ or you can use Shift+F10 for displaying the final output of your layout.
Step 9: It is android virtual device list. Here you have to select your emulator i.e. which size of device you want to use for layout display. Select anyone of these and click ‘OK’.
Step 10: Finally your Emulator runs, you can see your output.
The Emulator gives you the final display of your app.