SlideShare a Scribd company logo
By-
SitCom Solutions
AN INTRODUCTION
TO
ANDROID APP
DEVOLOPMENT
Overview
• What we will cover ?
 What is android?
 Setting up Development Environment
 Project Structure
 Activity
 UI and Layouts
 Services
 Broadcast Receivers
 Deployment 1st Phase
Introduction
 Android Background
 Android Architecture
 Android Applications
 APIs
 Security and Permissions
 The Android Market
Android Background
• Mobile Operating System developed by Android Inc
 Google bought in 2005
• Based on Linux Kernel
• Open Source
• Built on Idea of being open
 All applications are equal
 Everything is swappable
• Application Layer is Java
• Has built in Google Market for Applications
• The first commercially available Smartphone running
Android was the HTC Dream, released on October 22,
2008
• Source Code released under Open Source
Android Background
• Supports a multitude of
devices
• Growth Rate since it
entered into mobile world
Android Architecture
Android Architecture
• Linux Kernel
• Libraries
Android Architecture
• Application Framework
• Applications
Android Applications
• Loosely coupled set of Service
• Contains
• Activities
• Services
• Broadcast Receivers
• Content Provider
• Can use other applications if
required
• Written in Java.
• Implements the “principle of least privilege”
APIs
• Android API level corresponds to particular Android OS
version
Other APIs
Location
Services
Telephony
Google Maps
Audio and
Video
Security and Permissions
• Each application is provided a unique Linux User ID
• Each App lives in its Security Sandbox
• Each App has access to privileges required by it
• Apps needs to take permissions to access end user
facilities required by an application
• Applications can share resources and data through
Intents.
The Android Market
•Direct access from phone
and web
•Open
•No approval
•Not Policed
•Other markets also
available
•Cost
•One time 25$ fees to
be an android
developer
•30% of cost at which
application is sold
Setting Up Development
Environment
• You can develop on different OS using different IDE’s.
Setting Up Development
Environment
• Long Way so First things first
• IDE
• Download an IDE say Eclipse
• Go to www.Eclipse.org and select download
for Java environment
• Extract it to a folder in C: with a name of
your choice
• JDK and JRE
• Download Java Development Kit and Java
Runtime Environment
• Install and Create Environment variables for
java compilation.
Setting Up Development
Environment
• Download Android SDK
• Go to
http://developer.android.com/sdk/installing/i
ndex.html
• Run SDK manager from root folder and install
all packages you require to develop for.
• Download and install ADT fro IDE here Eclipse
• Open Eclipse-> Click on Help-> Click on Install
new Software
• On next popup Window click on->ADD
• Type a name Android and URL-
https://dlssl.google.com/android/eclipse/
• On next window select all to install and click-
>Next
• Configure ADT
• Click on Window->Preferences
• Now select Android from Left Panel and browse
sdk location from right to place where you
downloaded android sdk.
Setting Up Development
Environment
Let’s Create an Android Project
• To do this Open Eclipse or your IDE and click on File-
>New->Other/Android Project
• If Other than select from popup window Android
Project
Let’s Create an Android Project
• Next select activity for your app and an icon.
First Page
Project Structure
Android Manifest File
• Must be available to all apps in root directory.
• Describes all Components of an Application
• Activities
• Permissions
• Services
• Data
• Intent Filter
• Application
• SDK version
• And many more to explore
Activities
• Backbone
• Main Entrance when started is Main Activity
• Sub Class of Activity class
• Activity state preserved in “Back Stack”
Activities Lifecycle
Activities -What we can do with
it?
• Create Views
• Get and Update Views
• Respond to View Events using “Intents”
• Create and Launch Activities
• Save Activity State
• Control how our Application responds.
• We can add “Fragments” to Activities.
Views and Layouts ! What are
these?
• Everything in android UI is a View because-
• View is an overloaded word
• Layouts
• Android Widgets
• UI
• Pass object to Activity and
it draws for us
• View Object
• XML Layout File
Layouts
• XML representation of View Objects
• Are typically ViewGroups
• Linear Layout
• Relative Layout
• Table Layout
• Absolute Layout
• Other Layouts
• List Views
• Grid Views
• Tab View
• And lot more to Explore
Services
• Runs in background, No UI
• Two Types
• Bound (runs till activity lives)
• Unbound (runs indefinitely)
• Service Lifecycle
Broadcast Receivers
• Responds to System Wide Broadcast announcements
• Can be
• Static
• Dynamic
• Some System Broadcasts are
• Low Battery notification
• Memory Full etc.
Deployment
• Sign your Application with your Private key
• Right Click on Project
• Go to Android Tools->Export Signed Application
• Fill the details
• Obfuscate with Proguard
• In order to diminish the misuse of your code use it.
• Open Source Java Tool in ADT
• Prevents code to be meaningfully Decompiled.
• Just add a line in default.properties
• Proguard.Config=proguard.cfg
• Export from Eclipse or other IDE
• And you are with a “.apk” file.
Android app devolopment

More Related Content

What's hot

Project a day 2 introduction to android studio
Project a day 2   introduction to android studioProject a day 2   introduction to android studio
Project a day 2 introduction to android studio
Goran Djonovic
 
Project Betzn - LinuxTag 2011
Project Betzn - LinuxTag 2011Project Betzn - LinuxTag 2011
Project Betzn - LinuxTag 2011
Frank Karlitschek
 
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Jason Conger
 
Android studio
Android studioAndroid studio
Android studio
Željko Plesac
 
Google IO 2017 Recap
Google IO 2017 RecapGoogle IO 2017 Recap
Google IO 2017 Recap
Vishal Nayak
 
Android studio&Gradle&Autotest
Android studio&Gradle&AutotestAndroid studio&Gradle&Autotest
Android studio&Gradle&Autotest
毅 方
 
UCCSC 2016
UCCSC 2016UCCSC 2016
UCCSC 2016
Alex Wu
 
Apple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical OverviewApple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical Overview
Sammy Sunny
 
android phone ppt
android phone pptandroid phone ppt
android phone ppt
mehul patel
 
Android introduction
Android introductionAndroid introduction
Android introduction
RaynaITSTEP
 
Android Marshmallow
Android MarshmallowAndroid Marshmallow
Android Marshmallow
Planet Web Solutions Pvt. Ltd
 
Mobile Day - Intel XDK & Testing
Mobile Day - Intel XDK & TestingMobile Day - Intel XDK & Testing
Mobile Day - Intel XDK & Testing
Software Guru
 
Android
AndroidAndroid
Docker for developers - The big picture
Docker for developers - The big pictureDocker for developers - The big picture
Docker for developers - The big picture
George Dyrrahitis
 
Android 6.0 Marshmallow - Everything you need to know !
Android 6.0 Marshmallow - Everything you need to know !Android 6.0 Marshmallow - Everything you need to know !
Android 6.0 Marshmallow - Everything you need to know !
Edureka!
 
App Studio: Hands-On
App Studio: Hands-OnApp Studio: Hands-On
App Studio: Hands-On
Shahed Chowdhuri
 
What's new in android M(6.0)
What's new in android M(6.0)What's new in android M(6.0)
What's new in android M(6.0)
Yonatan Levin
 
Android Workshop Part 1
Android Workshop Part 1Android Workshop Part 1
Android Workshop Part 1
NAILBITER
 
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDKLUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
Microsoft Mobile Developer
 
Docker management
Docker managementDocker management
Docker management
Karthik Gaekwad
 

What's hot (20)

Project a day 2 introduction to android studio
Project a day 2   introduction to android studioProject a day 2   introduction to android studio
Project a day 2 introduction to android studio
 
Project Betzn - LinuxTag 2011
Project Betzn - LinuxTag 2011Project Betzn - LinuxTag 2011
Project Betzn - LinuxTag 2011
 
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
 
Android studio
Android studioAndroid studio
Android studio
 
Google IO 2017 Recap
Google IO 2017 RecapGoogle IO 2017 Recap
Google IO 2017 Recap
 
Android studio&Gradle&Autotest
Android studio&Gradle&AutotestAndroid studio&Gradle&Autotest
Android studio&Gradle&Autotest
 
UCCSC 2016
UCCSC 2016UCCSC 2016
UCCSC 2016
 
Apple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical OverviewApple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical Overview
 
android phone ppt
android phone pptandroid phone ppt
android phone ppt
 
Android introduction
Android introductionAndroid introduction
Android introduction
 
Android Marshmallow
Android MarshmallowAndroid Marshmallow
Android Marshmallow
 
Mobile Day - Intel XDK & Testing
Mobile Day - Intel XDK & TestingMobile Day - Intel XDK & Testing
Mobile Day - Intel XDK & Testing
 
Android
AndroidAndroid
Android
 
Docker for developers - The big picture
Docker for developers - The big pictureDocker for developers - The big picture
Docker for developers - The big picture
 
Android 6.0 Marshmallow - Everything you need to know !
Android 6.0 Marshmallow - Everything you need to know !Android 6.0 Marshmallow - Everything you need to know !
Android 6.0 Marshmallow - Everything you need to know !
 
App Studio: Hands-On
App Studio: Hands-OnApp Studio: Hands-On
App Studio: Hands-On
 
What's new in android M(6.0)
What's new in android M(6.0)What's new in android M(6.0)
What's new in android M(6.0)
 
Android Workshop Part 1
Android Workshop Part 1Android Workshop Part 1
Android Workshop Part 1
 
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDKLUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
 
Docker management
Docker managementDocker management
Docker management
 

Viewers also liked

65.e police officer
65.e police officer65.e police officer
65.e police officer
Pvrtechnologies Nellore
 
E - Police Officers
E - Police OfficersE - Police Officers
E - Police Officers
BurtonSchool1
 
Report police - 6 month training project
Report police - 6 month training project Report police - 6 month training project
Report police - 6 month training project
Janella
 
Fir registration system
Fir registration systemFir registration system
Fir registration system
Ghufran Hasan
 
Online FIR System
Online FIR SystemOnline FIR System
Online FIR System
maneesh katara
 
Project Report On Online Crime Management Application
Project Report On Online Crime Management ApplicationProject Report On Online Crime Management Application
Project Report On Online Crime Management Application
satvirsandhu9
 
My Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & SnapshotsMy Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & Snapshots
Usman Sait
 
Bus tracking application in Android
Bus tracking application in AndroidBus tracking application in Android
Bus tracking application in Android
yashonil
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
Luminary Labs
 
TEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of WorkTEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of Work
Volker Hirsch
 

Viewers also liked (10)

65.e police officer
65.e police officer65.e police officer
65.e police officer
 
E - Police Officers
E - Police OfficersE - Police Officers
E - Police Officers
 
Report police - 6 month training project
Report police - 6 month training project Report police - 6 month training project
Report police - 6 month training project
 
Fir registration system
Fir registration systemFir registration system
Fir registration system
 
Online FIR System
Online FIR SystemOnline FIR System
Online FIR System
 
Project Report On Online Crime Management Application
Project Report On Online Crime Management ApplicationProject Report On Online Crime Management Application
Project Report On Online Crime Management Application
 
My Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & SnapshotsMy Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & Snapshots
 
Bus tracking application in Android
Bus tracking application in AndroidBus tracking application in Android
Bus tracking application in Android
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 
TEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of WorkTEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of Work
 

Similar to Android app devolopment

Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
Joe Jacob
 
Android Tutorial
Android TutorialAndroid Tutorial
Android Tutorial
Yogesh_Lakhole
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
amaankhan
 
Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
Omolara Adejuwon
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
lzongren
 
Android class provider in mumbai
Android class provider in mumbaiAndroid class provider in mumbai
Android class provider in mumbai
Vibrant Technologies & Computers
 
Android Programming
Android ProgrammingAndroid Programming
Android Programming
Pasi Manninen
 
Android development
Android developmentAndroid development
Android development
mkpartners
 
Android overview
Android overviewAndroid overview
Android overview
Ahmed M. Abed
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studio
Abdul Basit
 
Matteo Gazzurelli - Introduction to Android Development - Have a break edition
Matteo Gazzurelli - Introduction to Android Development - Have a break editionMatteo Gazzurelli - Introduction to Android Development - Have a break edition
Matteo Gazzurelli - Introduction to Android Development - Have a break edition
DuckMa
 
Presentation1
Presentation1Presentation1
Android app development by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi android
susijanny
 
Android app development
Android app developmentAndroid app development
Android app development
Abhishek Saini
 
Android - Anroid Pproject
Android - Anroid PprojectAndroid - Anroid Pproject
Android - Anroid Pproject
Vibrant Technologies & Computers
 
Android OS & Security.pptx
Android  OS & Security.pptxAndroid  OS & Security.pptx
Android OS & Security.pptx
BhumiAvhad1
 
Android OS & SDK - Getting Started
Android OS & SDK - Getting StartedAndroid OS & SDK - Getting Started
Android OS & SDK - Getting Started
Hemant Chhapoliya
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
Can Elmas
 
Android development first steps
Android development   first stepsAndroid development   first steps
Android development first steps
christoforosnalmpantis
 
Android application development(training) (1)
Android application development(training) (1)Android application development(training) (1)
Android application development(training) (1)
Suraj Soni
 

Similar to Android app devolopment (20)

Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
Android Tutorial
Android TutorialAndroid Tutorial
Android Tutorial
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Android class provider in mumbai
Android class provider in mumbaiAndroid class provider in mumbai
Android class provider in mumbai
 
Android Programming
Android ProgrammingAndroid Programming
Android Programming
 
Android development
Android developmentAndroid development
Android development
 
Android overview
Android overviewAndroid overview
Android overview
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studio
 
Matteo Gazzurelli - Introduction to Android Development - Have a break edition
Matteo Gazzurelli - Introduction to Android Development - Have a break editionMatteo Gazzurelli - Introduction to Android Development - Have a break edition
Matteo Gazzurelli - Introduction to Android Development - Have a break edition
 
Presentation1
Presentation1Presentation1
Presentation1
 
Android app development by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi android
 
Android app development
Android app developmentAndroid app development
Android app development
 
Android - Anroid Pproject
Android - Anroid PprojectAndroid - Anroid Pproject
Android - Anroid Pproject
 
Android OS & Security.pptx
Android  OS & Security.pptxAndroid  OS & Security.pptx
Android OS & Security.pptx
 
Android OS & SDK - Getting Started
Android OS & SDK - Getting StartedAndroid OS & SDK - Getting Started
Android OS & SDK - Getting Started
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Android development first steps
Android development   first stepsAndroid development   first steps
Android development first steps
 
Android application development(training) (1)
Android application development(training) (1)Android application development(training) (1)
Android application development(training) (1)
 

Recently uploaded

Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
ISH Technologies
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
What’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete RoadmapWhat’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete Roadmap
Envertis Software Solutions
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
ervikas4
 
Kubernetes at Scale: Going Multi-Cluster with Istio
Kubernetes at Scale:  Going Multi-Cluster  with IstioKubernetes at Scale:  Going Multi-Cluster  with Istio
Kubernetes at Scale: Going Multi-Cluster with Istio
Severalnines
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
Maitrey Patel
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
kgyxske
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 

Recently uploaded (20)

Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
What’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete RoadmapWhat’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete Roadmap
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
 
Kubernetes at Scale: Going Multi-Cluster with Istio
Kubernetes at Scale:  Going Multi-Cluster  with IstioKubernetes at Scale:  Going Multi-Cluster  with Istio
Kubernetes at Scale: Going Multi-Cluster with Istio
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 

Android app devolopment

  • 2. Overview • What we will cover ?  What is android?  Setting up Development Environment  Project Structure  Activity  UI and Layouts  Services  Broadcast Receivers  Deployment 1st Phase
  • 3. Introduction  Android Background  Android Architecture  Android Applications  APIs  Security and Permissions  The Android Market
  • 4. Android Background • Mobile Operating System developed by Android Inc  Google bought in 2005 • Based on Linux Kernel • Open Source • Built on Idea of being open  All applications are equal  Everything is swappable • Application Layer is Java • Has built in Google Market for Applications • The first commercially available Smartphone running Android was the HTC Dream, released on October 22, 2008 • Source Code released under Open Source
  • 5. Android Background • Supports a multitude of devices • Growth Rate since it entered into mobile world
  • 7. Android Architecture • Linux Kernel • Libraries
  • 8. Android Architecture • Application Framework • Applications
  • 9. Android Applications • Loosely coupled set of Service • Contains • Activities • Services • Broadcast Receivers • Content Provider • Can use other applications if required • Written in Java. • Implements the “principle of least privilege”
  • 10. APIs • Android API level corresponds to particular Android OS version Other APIs Location Services Telephony Google Maps Audio and Video
  • 11. Security and Permissions • Each application is provided a unique Linux User ID • Each App lives in its Security Sandbox • Each App has access to privileges required by it • Apps needs to take permissions to access end user facilities required by an application • Applications can share resources and data through Intents.
  • 12. The Android Market •Direct access from phone and web •Open •No approval •Not Policed •Other markets also available •Cost •One time 25$ fees to be an android developer •30% of cost at which application is sold
  • 13. Setting Up Development Environment • You can develop on different OS using different IDE’s.
  • 14. Setting Up Development Environment • Long Way so First things first • IDE • Download an IDE say Eclipse • Go to www.Eclipse.org and select download for Java environment • Extract it to a folder in C: with a name of your choice • JDK and JRE • Download Java Development Kit and Java Runtime Environment • Install and Create Environment variables for java compilation.
  • 15. Setting Up Development Environment • Download Android SDK • Go to http://developer.android.com/sdk/installing/i ndex.html • Run SDK manager from root folder and install all packages you require to develop for.
  • 16. • Download and install ADT fro IDE here Eclipse • Open Eclipse-> Click on Help-> Click on Install new Software • On next popup Window click on->ADD • Type a name Android and URL- https://dlssl.google.com/android/eclipse/ • On next window select all to install and click- >Next • Configure ADT • Click on Window->Preferences • Now select Android from Left Panel and browse sdk location from right to place where you downloaded android sdk. Setting Up Development Environment
  • 17. Let’s Create an Android Project • To do this Open Eclipse or your IDE and click on File- >New->Other/Android Project • If Other than select from popup window Android Project
  • 18. Let’s Create an Android Project • Next select activity for your app and an icon.
  • 21. Android Manifest File • Must be available to all apps in root directory. • Describes all Components of an Application • Activities • Permissions • Services • Data • Intent Filter • Application • SDK version • And many more to explore
  • 22. Activities • Backbone • Main Entrance when started is Main Activity • Sub Class of Activity class • Activity state preserved in “Back Stack”
  • 24. Activities -What we can do with it? • Create Views • Get and Update Views • Respond to View Events using “Intents” • Create and Launch Activities • Save Activity State • Control how our Application responds. • We can add “Fragments” to Activities.
  • 25. Views and Layouts ! What are these? • Everything in android UI is a View because- • View is an overloaded word • Layouts • Android Widgets • UI • Pass object to Activity and it draws for us • View Object • XML Layout File
  • 26. Layouts • XML representation of View Objects • Are typically ViewGroups • Linear Layout • Relative Layout • Table Layout • Absolute Layout • Other Layouts • List Views • Grid Views • Tab View • And lot more to Explore
  • 27. Services • Runs in background, No UI • Two Types • Bound (runs till activity lives) • Unbound (runs indefinitely) • Service Lifecycle
  • 28. Broadcast Receivers • Responds to System Wide Broadcast announcements • Can be • Static • Dynamic • Some System Broadcasts are • Low Battery notification • Memory Full etc.
  • 29. Deployment • Sign your Application with your Private key • Right Click on Project • Go to Android Tools->Export Signed Application • Fill the details • Obfuscate with Proguard • In order to diminish the misuse of your code use it. • Open Source Java Tool in ADT • Prevents code to be meaningfully Decompiled. • Just add a line in default.properties • Proguard.Config=proguard.cfg • Export from Eclipse or other IDE • And you are with a “.apk” file.