Android Studio Hello World Tutorial - Learn application development using Android Studio IDE
Video tutorial on developing Hello World Example using Android Studio Development IDE.
In this video tutorial we are going to explain you the steps you should follow to quickly develop and test the Hello World example program in Android Studio IDE. The Android Studio is latest development tool from Google for the development of Mobile application using Android SKD.
Steps to develop the Hello World application in Android Studio
Step 1: JDK 7 is stalled and configured on your computer
Step 2: Android Studio is installed
Step 3: Start the Android Studio and then click on the New project window and follow the installer to create the project.
Step 4: Run the project and create the emulator.
Step 5: Select the emulator and test the project.
Following video explains the complete process:
How to create Hello World Project using Android Studio
In this Android Video tutorial we explain how to create 'hello world' project using android studio. This hello world android project is very useful for the developers who are beginners for Android apps development. To create your first Hello World project in Android studio just follow the steps below:
In the first step of the Android studio application project of how to create Hello World project, go to the start button and click in the Android Studio. Now select new project.
Here is image of first Android Studio Project:
Welcome to Android Studio:
It will open a new window that will show you a form to fill up. Give you project application name as hello world. Now, write the package name as here it is written ' net.roseindia.helloworld' (You can change the package name as per your choice). In the field of minimum required SDK, choose the version of Android you are using as here Android 4.2 ( jelly bean) has been used. Now, in the field of Target SDK: choose the Android 4.2 (Jelly bean). Then choose the Next Button to move the next level of the project.
In this window you will see the android icons as well as other options that will allow you to change the pattern of image like small and big. Moreover, you can change the foreground scaling as well as the background colors through this. After make changes as per your requirement, choose the next button.
Here is screen shot of next step:
Now, in the opened window you can find lists of options to create a new blank activity or new action bar or navigation element. Choose your appropriate section and click on the next button.
Full screen activity image:
Main activity image:
0
Here, you will create the new activity class. Once you select your activity class, you need to click on the finish button.
1
Here is next screen:
12
Now, the android studio will configure the the project that would allow you create "helloworldproject".
3
Now, your Helloworldproject is ready and you can see the hello world tree structure.
4
Now, click on the Source file by clicking on the source section of the project. Here, you will see the source code of the application with different values. Click on the Source Value section to find the source code. In the next step, select the string.xml file and Change as per your project name and save the source code.
35
Here is next screen image:
6
To run the helloworld project you need to run the project. To do so, click on the run button icon and choose your running device. By default it will selected the lunch emulator. Here we will show you how to create device in your android studio. Click on the the android virtual device sections( File browse selection button). If any device elumator is found, delete it. If you do not find any device elumator then click on the new button.
7
Here is next screen shot:
58
Now, you will see the window that is to be filled with data details. In this AVD section, you need to give your virtual device name. Select your device as here it is selected as Nexus 7 (7.27" 800 x 1280 tvd). Now select the Target as Android 4.2.2 API level 17. Modify you memory option as 512 (otherwise your program will crass because it not support more then 512 memory). Choose your SD card Size as 1024 and click on Ok Button. Now your Android virtual device is ready. So, close the window. Now, select your running android virtual device name. Then Click on the Ok button.
9
Here is another screen shot:
0
In the next step, your virtual emulator will start and you can see the window to start the application.
71
Now your Hello World Application is created in the Android Studio.
2
So, this is how you can create your own hello world program in Android studio by following simple and easy steps as shown in this android video tutorial on helloworldproject.
3
Back to the Android Video tutorials home page.
9