SlideShare a Scribd company logo
Android
Starting App Development
Contents
Android Architecture
Creating New Layouts
UI components
Running and Debugging apps
Activity Navigation
Android  Starting App Development
Android Architecture
Linux Kernel
Libraries
Android Runtime and Core libraries
Application Framework
Applications
Android  Starting App Development
Linux Kernel
Provides Basic System Functionality such as process management, memory
management and device management.
Provides all device drivers to communicate all different hardware in device like
Camera, Sensors, Bluetooth, WiFi, Audio and others.
Basic Libraries
Low level libraries which provide basic features like SQLite Database, web
browser, LibC, library for playing and recording Audio/Video etc.
Mainly written in C/C++.
Interact with device drivers to handle all the basic features of the OS.
Android Core Libraries
Java based libraries that are specific to Android.
Interact with Basic libraries to perform desired functionality such as handling
recording of Audio and Video.
User interface building, Graphics design(2D and 3D) and Database access.
Dalvik Virtual Machine
Each application run in its own instance of Dalvik Virtual machine.
Multiple instances of Dalvik VM’s can run efficiently.
Application Framework
Application Manager
Activity Manager
Notification Manager
Location Manager
..and others
Applications
All built in apps
And the third party apps
***
“Till 29th September, 2015 Android activations were 1.4
billion.”
Let’s Make Layouts - some basics
Height and Width - “match_parent” or “wrap_content” or digital value in “dp”
Unique id - “@+id/xxx”
Naming convention for Id’s - “@+id/tv_login_username”,
“@+id/button_login_submit”
Naming convention for layouts - activity_login.xml, activity_settings.xml
ImageView
<ImageView
android:id="@+id/iv_orders_list_footer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_margin="20dp"
android:src="@drawable/icon"
/>
Drawables
Located in res/drawable/filename.png
Support different size/resolution devices.
hdpi, mdpi, xhdpi, xxhdpi.
Referred in xml as “@drawable/abc” (for abc.png)
Usually prefer PNG images, can also use JPG images.
EditText
<EditText
android:id="@+id/et_login_password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/passcode"
android:inputType="textPassword"
android:maxLength="30"
android:textSize="24dp"/>
Button
<Button
android:id="@+id/button_login_submit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgroundTint="@color/primary_dark"
android:text="Login"
android:textColor="@color/primary_text"
android:textSize="24dp"/>
Button
OnClickListener
mButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
//Do the required task
}
});
Hands On
Login screen
***
“Android share in Chinese mobile market is 76.5%”
Running and Debugging
Android Studio features - Clean, Build, Run
Android Emulator(Android Virtual Device)
Third Party Simulator - Genymotion
Displaying Logs
***
“Average daily Android subscription is 1.5 million.”
Activities
Every Activity will inherit an “Activity”.
Inheritance
Inheritance
Inheritance
Extending a class.
Accessing inherited methods and member variables.
Overriding methods.
Start Another Activity - Intents
Intent - “A message either to start another Activity or to communicate to another
Activity.”
Intent Actions - What it should do?
Passing Arguments to next Activity
Sending Data To Activity
Intent Parameters
Arrangement of Activities - Backstack
Why Activities are Important
Application performance and behaviour.
Interview Questions!!
Activity Lifecycle
Activity Lifecycle - Callback methods
onCreate
onStart
onResume
onPause
onStop
onDestroy
Activity Lifecycle
onCreate
onStart
onResume
onPause
onStop
onDestroy
ListView
PlayStore
Android  Starting App Development
But Not To Worry...
800,0000 apps have < 100 downloads.
Another 700,000 have < 1000 downloads.
Another 400,000 have < 10,000 downloads.
Only 35,000 apps are downloaded more than 500,000.
###
Paramvir Singh, Android Developer and Trainer
Paramvir.singh88@gmail.com
https://in.linkedin.com/in/paramvir-singh-android-developer-b45b5321

More Related Content

What's hot (15)

PPTX
Nasdanika HTML - Fluent Java API for building Web UI
Pavel Vlasov
 
PPTX
Leveraging Modernizr and Media Queries
Jay Rizzi
 
PPTX
Notification Framework
Sokna Ly
 
PDF
VinodKumarGone_Resume
Vinod Kumar
 
PPTX
Windows aazuremobileservices
Dhananjay Kumar
 
PDF
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
Marvin Heng
 
PPTX
Introduction to Kendo Mobile Applications
George Orhewere
 
PPTX
Introduction to the jQuery mobile framework
Rishabh Rao
 
PPT
2010 08-26-smart-architecture
CHIP
 
PPTX
Microsoft Teams community call - February 2020
Microsoft 365 Developer
 
PDF
Building component-driven UIs at Spotify
John Sundell
 
PPTX
Material design in android lollipop
Tushar Choudhary
 
PDF
Dynamic, native, backend-driven UIs - App Builders 2016
John Sundell
 
PPTX
jQuery programming with visual web part
Senthamil Selvan
 
PDF
Backend-driven native UIs
John Sundell
 
Nasdanika HTML - Fluent Java API for building Web UI
Pavel Vlasov
 
Leveraging Modernizr and Media Queries
Jay Rizzi
 
Notification Framework
Sokna Ly
 
VinodKumarGone_Resume
Vinod Kumar
 
Windows aazuremobileservices
Dhananjay Kumar
 
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
Marvin Heng
 
Introduction to Kendo Mobile Applications
George Orhewere
 
Introduction to the jQuery mobile framework
Rishabh Rao
 
2010 08-26-smart-architecture
CHIP
 
Microsoft Teams community call - February 2020
Microsoft 365 Developer
 
Building component-driven UIs at Spotify
John Sundell
 
Material design in android lollipop
Tushar Choudhary
 
Dynamic, native, backend-driven UIs - App Builders 2016
John Sundell
 
jQuery programming with visual web part
Senthamil Selvan
 
Backend-driven native UIs
John Sundell
 

Similar to Android Starting App Development (20)

PPT
Android Introduction
aswapnal
 
PPT
PPT Companion to Android
Dharani Kumar Madduri
 
PPT
Lec005 android start_program
Eyad Almasri
 
PPTX
Android Introduction on Java Forum Stuttgart 11
Lars Vogel
 
PPT
Android primer
intellisenseit
 
PPT
Android In A Nutshell
Ted Chien
 
PPT
Android Anatomy
Bhavya Siddappa
 
PPT
Android development tutorial
nazzf
 
PPTX
Introduction to android
zeelpatel0504
 
PPTX
Android development tutorial
Mohammad Taj
 
PPTX
Seminar on android app development
AbhishekKumar4779
 
PDF
Marakana Android User Interface
Marko Gargenta
 
PDF
Training Session 2 - Day 2
Vivek Bhusal
 
PPT
Intro to Android Programming
Peter van der Linden
 
PPTX
Android Programming made easy
Lars Vogel
 
PDF
Android Deep Dive
Marko Gargenta
 
PPT
Android Tutorial
Fun2Do Labs
 
PPT
Android Overview
Publicis Sapient Engineering
 
PPTX
Android 1-intro n architecture
Dilip Singh
 
Android Introduction
aswapnal
 
PPT Companion to Android
Dharani Kumar Madduri
 
Lec005 android start_program
Eyad Almasri
 
Android Introduction on Java Forum Stuttgart 11
Lars Vogel
 
Android primer
intellisenseit
 
Android In A Nutshell
Ted Chien
 
Android Anatomy
Bhavya Siddappa
 
Android development tutorial
nazzf
 
Introduction to android
zeelpatel0504
 
Android development tutorial
Mohammad Taj
 
Seminar on android app development
AbhishekKumar4779
 
Marakana Android User Interface
Marko Gargenta
 
Training Session 2 - Day 2
Vivek Bhusal
 
Intro to Android Programming
Peter van der Linden
 
Android Programming made easy
Lars Vogel
 
Android Deep Dive
Marko Gargenta
 
Android Tutorial
Fun2Do Labs
 
Android 1-intro n architecture
Dilip Singh
 
Ad

More from Paramvir Singh (9)

PDF
Ai and using ml in mobile apps
Paramvir Singh
 
PPTX
AI in image recognition
Paramvir Singh
 
PDF
Android gps, location services, camera and sensors - Paramvir Singh
Paramvir Singh
 
PDF
Dependency injection and dagger2 in android paramvir singh
Paramvir Singh
 
PDF
Android: Network optimization by Paramvir Singh
Paramvir Singh
 
PPTX
Android Connecting to Internet
Paramvir Singh
 
PPTX
Android one, why it is important for Android developers in India
Paramvir Singh
 
PPTX
Clean code, Better coding practices
Paramvir Singh
 
PPTX
Near field communication
Paramvir Singh
 
Ai and using ml in mobile apps
Paramvir Singh
 
AI in image recognition
Paramvir Singh
 
Android gps, location services, camera and sensors - Paramvir Singh
Paramvir Singh
 
Dependency injection and dagger2 in android paramvir singh
Paramvir Singh
 
Android: Network optimization by Paramvir Singh
Paramvir Singh
 
Android Connecting to Internet
Paramvir Singh
 
Android one, why it is important for Android developers in India
Paramvir Singh
 
Clean code, Better coding practices
Paramvir Singh
 
Near field communication
Paramvir Singh
 
Ad

Recently uploaded (20)

PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PDF
Productivity Management Software | Workstatus
Lovely Baghel
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
PPTX
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PDF
Alpha Altcoin Setup : TIA - 19th July 2025
CIFDAQ
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
Lecture 5 - Agentic AI and model context protocol.pptx
Dr. LAM Yat-fai (林日辉)
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
Productivity Management Software | Workstatus
Lovely Baghel
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Machine Learning Benefits Across Industries
SynapseIndia
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Alpha Altcoin Setup : TIA - 19th July 2025
CIFDAQ
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
Lecture 5 - Agentic AI and model context protocol.pptx
Dr. LAM Yat-fai (林日辉)
 
Market Insight : ETH Dominance Returns
CIFDAQ
 

Android Starting App Development

Editor's Notes

  • #33: See all the methods in code.