SlideShare a Scribd company logo
ANDROID APP DEVELOPMENT
J.SAITEJA
17311A0521
CSE-A
Contents
 What is Android?
 History of Android
 Android Architecture
 Components of Android app
 Android Studio
 System Requirements
 Android Emulator
 Developing Your First App
 Programming Languages Used
 Learning Resources
 Conclusion
 References
What is Android?
 Before learning all topics of android, it is required to know what is android.
 Android is a software package and linux based operating system for mobile
devices such as tablet computers and smartphones.
 It is developed by Google and later the OHA (Open Handset Alliance). Java
language is mainly used to write the android code even though other
languages can be used.
 The goal of android project is to create a successful real-world product that
improves the mobile experience for end users.
 There are many code names of android such as Lollipop, Kitkat, Jelly Bean,
Ice cream Sandwich, Froyo, Ecliar, Donut etc which is covered in next page.
History of Android
 The history and versions of android are interesting to know. The code names
of android ranges from A to J currently, such
as Aestro, Blender, Cupcake, Donut, Eclair, Froyo, Gingerbread, Honeycom
b, Ice Cream Sandwitch, Jelly Bean, KitKat and Lollipop. Let's understand
the android history in a sequence.
 Initially, Andy Rubin founded Android Incorporation in Palo Alto, California,
United States in October, 2003.
 In 17th August 2005, Google acquired android Incorporation. Since then, it is
in the subsidiary of Google Incorporation.
 The key employees of Android Incorporation are Andy Rubin, Rich
Miner, Chris White and Nick Sears.
 Originally intended for camera but shifted to smart phones later because of
low market for camera only.
 Android is the nick name of Andy Rubin given by coworkers because of his love
to robots.
 In 2007, Google announces the development of android OS.
 In 2008, HTC launched the first android mobile.
 Each Android version has a code name started from Alphabhet A and an api
level for that recently google launched a new version of
android I.e Android 11 on september 8th.
Android Architecture
Android architecture or Android software stack is categorized into five parts:
 linux kernel
 native libraries (middleware),
 Android Runtime
 Application Framework
 Applications
Components of Android app
 An android component is simply a piece of code that has a well defined life
cycle e.g. Activity, Receiver, Service etc.
 The core building blocks or fundamental components of android are
activities, views, intents, services, content providers, fragments and
AndroidManifest.xml.
Activity:
 An activity is a class that represents a single screen. It is like a Frame in AWT.
View:
 A view is the UI element such as button, label, text field etc. Anything that
you see is a view.
Intent:
 Intent is used to invoke components. It is mainly used to:
 Start the service
 Launch an activity
 Display a web page
 Display a list of contacts
 Broadcast a message
 Dial a phone call etc.
Service:
 Service is a background process that can run for a long time.
 There are two types of services local and remote. Local service is accessed
from within the application whereas remote service is accessed remotely
from other applications running on the same device.
Content Provider:
 Content Providers are used to share data between the applications.
Fragment:
 Fragments are like parts of activity. An activity can display one or more
fragments on the screen at the same time.
AndroidManifest.xml:
 It contains informations about activities, content providers, permissions etc.
It is like the web.xml file in Java EE.
Android Studio
 Android Studio is the official Integrated Development Environment (IDE) for
Android app development, based on IntelliJ IDEA . On top of IntelliJ's powerful
code editor and developer tools, Android Studio offers even more features
that enhance your productivity when building Android apps, such as:
 A flexible Gradle-based build system
 A fast and feature-rich emulator
 A unified environment where you can develop for all Android devices
 Apply Changes to push code and resource changes to your running app without
restarting your app
 Code templates and GitHub integration to help you build common app
features and import sample code
 Extensive testing tools and frameworks
 Lint tools to catch performance, usability, version compatibility, and other
problems
 C++ and NDK support
 Built-in support for Google Cloud Platform, making it easy to integrate Google
Cloud Messaging and App Engine.
 Download link: https://developer.android.com/studio
System Requirements
Windows:
 Microsoft® Windows® 7/8/10 (64-bit)
 4 GB RAM minimum, 8 GB RAM recommended
 2 GB of available disk space minimum,
4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system
image)
 1280 x 800 minimum screen resolution
Mac:
 Mac® OS X® 10.10 (Yosemite) or higher, up to 10.14 (macOS Mojave)
 4 GB RAM minimum, 8 GB RAM recommended
 2 GB of available disk space minimum,
4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system
image)
 1280 x 800 minimum screen resolution
Linux:
 GNOME or KDE desktop
 Tested on gLinux based on Debian.
 64-bit distribution capable of running 32-bit applications
 GNU C Library (glibc) 2.19 or later
 4 GB RAM minimum, 8 GB RAM recommended
 2 GB of available disk space minimum,4 GB Recommended (500 MB for IDE + 1.5
GB for Android SDK and emulator system image)
 1280 x 800 minimum screen resolution
Chrome OS:
 8 GB RAM or more recommended
 4 GB of available disk space minimum
 1280 x 800 minimum screen resolution
 Intel i5 or higher (U series or higher) recommended
 For more information on recommended devices as well as Android emulator
support, visit chromeos.dev
Android Emulator
 The Android emulator is an Android Virtual Device (AVD), which represents
a specific Android device. We can use the Android emulator as a target device
to execute and test our Android application on our PC. The Android emulator
provides almost all the functionality of a real device. We can get the
incoming phone calls and text messages. It also gives the location of the
device and simulates different network speeds. Android emulator simulates
rotation and other hardware sensors. It accesses the Google Play store, and
much more.
Developing Your first App
 Select Start a new Android Studio project
 Provide the following information: Application name, Company domain,
Project location and Package name of application and click next.
 Select the API level of application and click next.
 Select the Activity type (Empty Activity).
 Provide the Activity Name and click finish.
 After finishing the Activity configuration, Android Studio auto generates the activity class and other
required configuration files.
 Now an android project has been created. You can explore the android project and see the simple
program, it looks like this:
 Android studio auto generates code for activity_main.xml file. You may edit this
file according to your requirement.
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:
android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
 To run the android application, click the run icon on the toolbar or simply
press Shift + F10.
 The android emulator might take 2 or 3 minutes to boot. So please have
patience. After booting the emulator, the android studio installs the
application and launches the activity. You will see something like this:
Programming Languages
 Java or kotlin or else we can use c and c++ too.
 XML for ui styling.
Learning resources
 https://codelabs.developers.google.com/android-training/
 https://codelabs.developers.google.com/advanced-android-kotlin-training/
Conclusion
 Android is a truly open, free development platform based on Linux and open
source.
 Handset makers can use and customize the platform without paying a royalty.
 Android is now stepping up in next level of mobile internet.
 Android is open to all : industry, developers and users.
 Google Android is stepping into next level of Mobile internet& that is the
reason that android covers 90% of mobile OS market.
References
 •HonigZach(May15,2013).https://www.engadget.com/2013/05/15/google-
android-studio/ Retrieved May 16, 2013.
 •Dobie, Alex (May 15, 2013).https://www.androidcentral.com/android-studio-
unveiled-google-io-keynoteAndroid Central. Mobile Nations. Retrieved May 16,
2013.
 •https://developer.android.com/sdk/installing/studio.html May 15, 2013.
Retrieved August 15, 2014.
THANK YOU

More Related Content

What's hot

Introduction To Mobile Application Development
Introduction To Mobile Application DevelopmentIntroduction To Mobile Application Development
Introduction To Mobile Application Development
Syed Absar
 
Mobile application development ppt
Mobile application development pptMobile application development ppt
Mobile application development ppt
tirupathinews
 
Introduction to Android ppt
Introduction to Android pptIntroduction to Android ppt
Introduction to Android ppt
Taha Malampatti
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecture
deepakshare
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
Benny Skogberg
 
Presentation on Android application
Presentation on Android applicationPresentation on Android application
Presentation on Android applicationAtibur Rahman
 
Introduction to Mobile Application Development
Introduction to Mobile Application DevelopmentIntroduction to Mobile Application Development
Introduction to Mobile Application Development
Tharindu Dassanayake
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
amaankhan
 
Mobile Application Development With Android
Mobile Application Development With AndroidMobile Application Development With Android
Mobile Application Development With Android
guest213e237
 
Android ppt
Android pptAndroid ppt
Android ppt
Ansh Singh
 
Mobile application development
Mobile application developmentMobile application development
Mobile application development
Eric Cattoir
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming Basics
Eueung Mulyana
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
zeelpatel0504
 
Android app development
Android app developmentAndroid app development
Android app development
Tanmoy Roy
 
Android Project Presentation
Android Project PresentationAndroid Project Presentation
Android Project Presentation
Laxmi Kant Yadav
 
Synopsis on android application
Synopsis on android applicationSynopsis on android application
Synopsis on android application
Jawed akhtar
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
Ranjith Kumar
 
Introduction to Android development - Presentation
Introduction to Android development - PresentationIntroduction to Android development - Presentation
Introduction to Android development - Presentation
Atul Panjwani
 

What's hot (20)

Introduction To Mobile Application Development
Introduction To Mobile Application DevelopmentIntroduction To Mobile Application Development
Introduction To Mobile Application Development
 
Mobile application development ppt
Mobile application development pptMobile application development ppt
Mobile application development ppt
 
Introduction to Android ppt
Introduction to Android pptIntroduction to Android ppt
Introduction to Android ppt
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecture
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
Presentation on Android application
Presentation on Android applicationPresentation on Android application
Presentation on Android application
 
Introduction to Mobile Application Development
Introduction to Mobile Application DevelopmentIntroduction to Mobile Application Development
Introduction to Mobile Application Development
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Mobile Application Development With Android
Mobile Application Development With AndroidMobile Application Development With Android
Mobile Application Development With Android
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android ppt
Android ppt Android ppt
Android ppt
 
Mobile application development
Mobile application developmentMobile application development
Mobile application development
 
Android Report
Android ReportAndroid Report
Android Report
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming Basics
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android app development
Android app developmentAndroid app development
Android app development
 
Android Project Presentation
Android Project PresentationAndroid Project Presentation
Android Project Presentation
 
Synopsis on android application
Synopsis on android applicationSynopsis on android application
Synopsis on android application
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
Introduction to Android development - Presentation
Introduction to Android development - PresentationIntroduction to Android development - Presentation
Introduction to Android development - Presentation
 

Similar to Android app development ppt

Android Basic Concept
Android Basic Concept Android Basic Concept
Android Basic Concept
University of Potsdam
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
Ajai Kumar
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studio
Parinita03
 
Android Basic
Android BasicAndroid Basic
Android Basic
Nirav Ranpara
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
AbhishekKumar4779
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
AnuSahniNCI
 
Questions About Android Application Development
Questions About Android Application DevelopmentQuestions About Android Application Development
Questions About Android Application Development
Adeel Rasheed
 
Aptech Apps
Aptech Apps Aptech Apps
Aptech Apps
RasikaShinde6
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologies
jerry vasoya
 
Android session 1
Android session 1Android session 1
Android session 1
Ahesanali Suthar
 
Android by LAlitha
Android by LAlithaAndroid by LAlitha
Android by LAlitha
Lally Lalitha
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
Akash Bisariya
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
Dharani Kumar Madduri
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
Bilal Mirza
 
Android app development.pdf
Android app development.pdfAndroid app development.pdf
Android app development.pdf
Abanti Aazmin
 
Java Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development WorkshopJava Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development Workshop
Kasun Dananjaya Delgolla
 
Software training report
Software training reportSoftware training report
Software training report
Natasha Bains
 

Similar to Android app development ppt (20)

Android Basic Concept
Android Basic Concept Android Basic Concept
Android Basic Concept
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Introduction to Android Environment
Introduction to Android EnvironmentIntroduction to Android Environment
Introduction to Android Environment
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studio
 
Android Basic
Android BasicAndroid Basic
Android Basic
 
Android
Android Android
Android
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
 
Questions About Android Application Development
Questions About Android Application DevelopmentQuestions About Android Application Development
Questions About Android Application Development
 
Aptech Apps
Aptech Apps Aptech Apps
Aptech Apps
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologies
 
Android session 1
Android session 1Android session 1
Android session 1
 
Android by LAlitha
Android by LAlithaAndroid by LAlitha
Android by LAlitha
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android app development.pdf
Android app development.pdfAndroid app development.pdf
Android app development.pdf
 
Java Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development WorkshopJava Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development Workshop
 
Software training report
Software training reportSoftware training report
Software training report
 

Recently uploaded

一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 

Recently uploaded (20)

一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 

Android app development ppt

  • 2. Contents  What is Android?  History of Android  Android Architecture  Components of Android app  Android Studio  System Requirements  Android Emulator  Developing Your First App  Programming Languages Used  Learning Resources  Conclusion  References
  • 3. What is Android?  Before learning all topics of android, it is required to know what is android.  Android is a software package and linux based operating system for mobile devices such as tablet computers and smartphones.  It is developed by Google and later the OHA (Open Handset Alliance). Java language is mainly used to write the android code even though other languages can be used.  The goal of android project is to create a successful real-world product that improves the mobile experience for end users.  There are many code names of android such as Lollipop, Kitkat, Jelly Bean, Ice cream Sandwich, Froyo, Ecliar, Donut etc which is covered in next page.
  • 4. History of Android  The history and versions of android are interesting to know. The code names of android ranges from A to J currently, such as Aestro, Blender, Cupcake, Donut, Eclair, Froyo, Gingerbread, Honeycom b, Ice Cream Sandwitch, Jelly Bean, KitKat and Lollipop. Let's understand the android history in a sequence.  Initially, Andy Rubin founded Android Incorporation in Palo Alto, California, United States in October, 2003.  In 17th August 2005, Google acquired android Incorporation. Since then, it is in the subsidiary of Google Incorporation.  The key employees of Android Incorporation are Andy Rubin, Rich Miner, Chris White and Nick Sears.
  • 5.  Originally intended for camera but shifted to smart phones later because of low market for camera only.  Android is the nick name of Andy Rubin given by coworkers because of his love to robots.  In 2007, Google announces the development of android OS.  In 2008, HTC launched the first android mobile.  Each Android version has a code name started from Alphabhet A and an api level for that recently google launched a new version of android I.e Android 11 on september 8th.
  • 6. Android Architecture Android architecture or Android software stack is categorized into five parts:  linux kernel  native libraries (middleware),  Android Runtime  Application Framework  Applications
  • 7.
  • 8. Components of Android app  An android component is simply a piece of code that has a well defined life cycle e.g. Activity, Receiver, Service etc.  The core building blocks or fundamental components of android are activities, views, intents, services, content providers, fragments and AndroidManifest.xml. Activity:  An activity is a class that represents a single screen. It is like a Frame in AWT. View:  A view is the UI element such as button, label, text field etc. Anything that you see is a view.
  • 9. Intent:  Intent is used to invoke components. It is mainly used to:  Start the service  Launch an activity  Display a web page  Display a list of contacts  Broadcast a message  Dial a phone call etc. Service:  Service is a background process that can run for a long time.  There are two types of services local and remote. Local service is accessed from within the application whereas remote service is accessed remotely from other applications running on the same device.
  • 10. Content Provider:  Content Providers are used to share data between the applications. Fragment:  Fragments are like parts of activity. An activity can display one or more fragments on the screen at the same time. AndroidManifest.xml:  It contains informations about activities, content providers, permissions etc. It is like the web.xml file in Java EE.
  • 11. Android Studio  Android Studio is the official Integrated Development Environment (IDE) for Android app development, based on IntelliJ IDEA . On top of IntelliJ's powerful code editor and developer tools, Android Studio offers even more features that enhance your productivity when building Android apps, such as:  A flexible Gradle-based build system  A fast and feature-rich emulator  A unified environment where you can develop for all Android devices  Apply Changes to push code and resource changes to your running app without restarting your app
  • 12.  Code templates and GitHub integration to help you build common app features and import sample code  Extensive testing tools and frameworks  Lint tools to catch performance, usability, version compatibility, and other problems  C++ and NDK support  Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine.  Download link: https://developer.android.com/studio
  • 13. System Requirements Windows:  Microsoft® Windows® 7/8/10 (64-bit)  4 GB RAM minimum, 8 GB RAM recommended  2 GB of available disk space minimum, 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)  1280 x 800 minimum screen resolution Mac:  Mac® OS X® 10.10 (Yosemite) or higher, up to 10.14 (macOS Mojave)  4 GB RAM minimum, 8 GB RAM recommended  2 GB of available disk space minimum, 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)  1280 x 800 minimum screen resolution
  • 14. Linux:  GNOME or KDE desktop  Tested on gLinux based on Debian.  64-bit distribution capable of running 32-bit applications  GNU C Library (glibc) 2.19 or later  4 GB RAM minimum, 8 GB RAM recommended  2 GB of available disk space minimum,4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)  1280 x 800 minimum screen resolution Chrome OS:  8 GB RAM or more recommended  4 GB of available disk space minimum  1280 x 800 minimum screen resolution  Intel i5 or higher (U series or higher) recommended  For more information on recommended devices as well as Android emulator support, visit chromeos.dev
  • 15. Android Emulator  The Android emulator is an Android Virtual Device (AVD), which represents a specific Android device. We can use the Android emulator as a target device to execute and test our Android application on our PC. The Android emulator provides almost all the functionality of a real device. We can get the incoming phone calls and text messages. It also gives the location of the device and simulates different network speeds. Android emulator simulates rotation and other hardware sensors. It accesses the Google Play store, and much more.
  • 16. Developing Your first App  Select Start a new Android Studio project
  • 17.  Provide the following information: Application name, Company domain, Project location and Package name of application and click next.
  • 18.  Select the API level of application and click next.
  • 19.  Select the Activity type (Empty Activity).
  • 20.  Provide the Activity Name and click finish.
  • 21.  After finishing the Activity configuration, Android Studio auto generates the activity class and other required configuration files.  Now an android project has been created. You can explore the android project and see the simple program, it looks like this:
  • 22.  Android studio auto generates code for activity_main.xml file. You may edit this file according to your requirement. <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns: android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello World!" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout>
  • 23.  To run the android application, click the run icon on the toolbar or simply press Shift + F10.  The android emulator might take 2 or 3 minutes to boot. So please have patience. After booting the emulator, the android studio installs the application and launches the activity. You will see something like this:
  • 24. Programming Languages  Java or kotlin or else we can use c and c++ too.  XML for ui styling.
  • 25. Learning resources  https://codelabs.developers.google.com/android-training/  https://codelabs.developers.google.com/advanced-android-kotlin-training/
  • 26. Conclusion  Android is a truly open, free development platform based on Linux and open source.  Handset makers can use and customize the platform without paying a royalty.  Android is now stepping up in next level of mobile internet.  Android is open to all : industry, developers and users.  Google Android is stepping into next level of Mobile internet& that is the reason that android covers 90% of mobile OS market.
  • 27. References  •HonigZach(May15,2013).https://www.engadget.com/2013/05/15/google- android-studio/ Retrieved May 16, 2013.  •Dobie, Alex (May 15, 2013).https://www.androidcentral.com/android-studio- unveiled-google-io-keynoteAndroid Central. Mobile Nations. Retrieved May 16, 2013.  •https://developer.android.com/sdk/installing/studio.html May 15, 2013. Retrieved August 15, 2014.