Lesson Plan: Unit - 01
Subject: P15A2AAD - Android Application Development
Topic of Study: Testing Your Development Environment
Grade/Level: Master of Computer Applications
Objective: To implement "Hello World" program and testing the environment
Time Allotment: 55 Minutes
Subject: P15A2AAD - Android Application Development
Topic of Study: Testing Your Development Environment
Grade/Level: Master of Computer Applications
Objective: To implement "Hello World" program and testing the environment
Time Allotment: 55 Minutes
- Steps:
- Step 1 : Create “Hello World” application.
- Start a Android Studio.
- File > New > New Project.
- Choose the Project - By default it is selected "Empty Activity" in Phone and Tablet.
- Configure your project like as below & Click Next
- Name of Application - "HelloWorld"
- Package Name - in.guj.meh.ampics
- Save Location - As per requirement / need
- Language - Java
- Configure the Activity like as below & Click Finish
- Name of Activity : MainActivity
- Name of Layout: activity_main
- Package name: you may change / take it default.
- Source Language: Java
- Step 2 : Create AVD to view application.
- You can run a Android Application on Virtual Device or Real Device.
- Today, we are discuss to run application on Virtual Device.
- Press shortcut "SHIFT + F10" or Click on "Run App" icon.
- It will display a dialog.
- It has main two types of devices...1. Connected devices (Real) 2. Virtual Devices
- In the above dialog, we have virtual device and it's name is Pixel 2 API 26 or you can create using Create New Virtual Device button.
- Now click on OK Button.
- Step 3 : Run your application in AVD or Real Device
- The program of Android will automatically display in virtual device or real device.