Friday, 31 March 2017

HelloWorld app in Android

hello-world-app

For beginners it is recommended to use ANDROID DEVELOPMENT TOOL (ADT) eclipse .

After some core concepts, i will use Android Studio.

Read How to develop Android Apps and download the tools required to Create the android apps.

 Open Eclipse by double clicking the eclipse icon found in the folder where you have downloaded the ADT bundle. In my laptop i have saved it in the following path

D:\Development\ADT\adt-bundle-windows-x86_64-20140702\eclipse.

Double click the eclipse icon.

eclipse

After that it will load.

ADT

This is what you will see after ADT is opened.

Welcome-ADT

1. File-----> New-----> Android Application Project

new-application


Enter the Project name , where you want to store , minimum version to run your application etc...

new-android-application


as follows...

project name

Then click Next, Next , Next until Finish comes.

workspace

In the above screen you can choose the folder where you can store the project works and click NEXT.

icon

In the above window you can choose your own icon which will be displayed as your app icon when you installed in your mobile, we will discuss it on upcoming post.

create-activity

Click blank activity and NEXT.

activity-name

Then click Finish.

I will explain about what is Activity name later.

Then the Work space will be opened.

project-workspace

Then right click on the Project name and click Run As----> Android application.

new-project


choose-emulator

You need to select an emulator, I will tell how to create an Emulator, how to use our Android phone as an Emulator in my next post.

Just now we see how the output is coming.

output-in-emulator

Output in Mobile.

output-in-mobile

It is recommended for the beginners as well as developers to use Mobile as an Emulator which is 10 times faster than the Emulator.

In next post i will tell you how to create an Emulator and how to use our phone as Emulator.


Read Here:

How to Create an Emulator in Android Eclipse


No comments :

Post a Comment