LECTURE - 02
MOBILE APPLICATION
DEVELOPMENT
By: AbuBakar Ubaid
WHAT IS ANDROID STUDIO?
Android integrated development environment (IDE)
Project and Activity templates
Layout editor
Testing tools
Gradle-based build
Log console and debugger
Emulators
By: AbuBakar Ubaid
ANDROID STUDIO INTERFACE
1. Toolbar
2. Navigation bar
3. Project pane
4. Editor
5. Tabs for other panes
By: AbuBakar Ubaid
CREATING YOUR FIRST
ANDROID APP
By: AbuBakar Ubaid
START ANDROID STUDIO
By: AbuBakar Ubaid
NAME YOU APP
By: AbuBakar Ubaid
PICK ACTIVITY TEMPLATE
Choose templates for
common activities,
such as maps or
navigation drawers.
Pick Empty Activity or
Basic Activity for
simple and custom
activities.
By: AbuBakar Ubaid
NAME YOUR ACTIVITY
Naming:
Name main activity
Name layout
Use AppCompat
Generating layout
file is convenient
By: AbuBakar Ubaid
PROJECT FOLDER
1. manifest
description of app read by the
Android runtime
2. Java
Java source code packages
3. Res
layout, strings, images,
dimensions, colors...
4. [Link]
Gradle build files
By: AbuBakar Ubaid
RUN YOUR APP
1. RUN
2. Select Virtual
or Physical
Device
3. OK
By: AbuBakar Ubaid
RUN ON PHYSICAL DEVICE
1. Turn on Developer Options:
a. Settings > About phone
b. Tap Build number seven times
2. Turn on USB Debugging
a. Settings > Developer Options >
USB Debugging
3. Connect phone to computer with cable
Windows/Linux additional setup:
• Using Hardware Devices
Windows drivers:
• OEM device Drivers
By: AbuBakar Ubaid
LECTURE - 02 “Create Your First Android App”
THANK YOU
By: AbuBakar Ubaid