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

Built first android app project 0

Step 2: In the ‘Application Name’, you can give your project name. Click Next

Built first android app project 1

Step 3: Now you can select, device ( i.e. phone and tablet, wear, TV) for which you are designing your app. Click Next.

Built first android app project 2

Step 4: Also you have to select android operating version for your device. Click Next

Built first android app project 3

Step 5: Here you can select activity (the layout for app). Click Next

Built first android app project 4

Step 6: Here you can give activity name, but generally we use ‘Main Activity’. Click Next

Built first android app project 5

Step 7a): After clicking finish your project window will show. There will be two files ‘XML’ and ‘Java’.

Built first android app project 6

Step 7b) : When you click XML file, it will show XML coding phase of layout. You will have to write code for app layout.

Built first android app project 7

Step 7c) If you click on ’Design’. Only design phase will show. Coding will hide.

Built first android app project 7C

Step 8: Go to ‘Run’ or Click on ‘Run button’ or you can use Shift+F10 for displaying the final output of your layout.

Built first android app project 8

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’.

Built first android app project 9

Step 10: Finally your Emulator runs, you can see your output.

Built first android app project 10

The Emulator gives you the final display of your app.

Built first android app project 11





Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.