SlideShare une entreprise Scribd logo
1  sur  28
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

Contenu connexe

Tendances

Final year project presentation in android application
Final year project presentation in android applicationFinal year project presentation in android application
Final year project presentation in android applicationChirag Thaker
 
Introduction to Android ppt
Introduction to Android pptIntroduction to Android ppt
Introduction to Android pptTaha Malampatti
 
Android Project Presentation
Android Project PresentationAndroid Project Presentation
Android Project PresentationLaxmi Kant Yadav
 
Android app development
Android app developmentAndroid app development
Android app developmentTanmoy Roy
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android Ranjith Kumar
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android StudioSuyash Srijan
 
Mobile Application Development With Android
Mobile Application Development With AndroidMobile Application Development With Android
Mobile Application Development With Androidguest213e237
 
Mobile application development ppt
Mobile application development pptMobile application development ppt
Mobile application development ppttirupathinews
 
Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)Ahsanul Karim
 
CSE Final Year Project Presentation on Android Application
CSE Final Year Project Presentation on Android ApplicationCSE Final Year Project Presentation on Android Application
CSE Final Year Project Presentation on Android ApplicationAhammad Karim
 
PPT on Android Applications
PPT on Android ApplicationsPPT on Android Applications
PPT on Android ApplicationsAshish Agarwal
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-pptSrijib Roy
 
Android Based Application Project Report.
Android Based Application Project Report. Android Based Application Project Report.
Android Based Application Project Report. Abu Kaisar
 
Android College Application Project Report
Android College Application Project ReportAndroid College Application Project Report
Android College Application Project Reportstalin george
 
Synopsis on android application
Synopsis on android applicationSynopsis on android application
Synopsis on android applicationJawed akhtar
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating SystemBilal Mirza
 

Tendances (20)

Final year project presentation in android application
Final year project presentation in android applicationFinal year project presentation in android application
Final year project presentation in android application
 
Introduction to Android ppt
Introduction to Android pptIntroduction to Android ppt
Introduction to Android ppt
 
Android Project Presentation
Android Project PresentationAndroid Project Presentation
Android Project Presentation
 
Android app development
Android app developmentAndroid app development
Android app development
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android Studio
 
Mobile Application Development With Android
Mobile Application Development With AndroidMobile Application Development With Android
Mobile Application Development With Android
 
Mobile application development ppt
Mobile application development pptMobile application development ppt
Mobile application development ppt
 
Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)
 
CSE Final Year Project Presentation on Android Application
CSE Final Year Project Presentation on Android ApplicationCSE Final Year Project Presentation on Android Application
CSE Final Year Project Presentation on Android Application
 
Report on web development
Report on web developmentReport on web development
Report on web development
 
PPT on Android Applications
PPT on Android ApplicationsPPT on Android Applications
PPT on Android Applications
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-ppt
 
Android Based Application Project Report.
Android Based Application Project Report. Android Based Application Project Report.
Android Based Application Project Report.
 
Android College Application Project Report
Android College Application Project ReportAndroid College Application Project Report
Android College Application Project Report
 
Synopsis on android application
Synopsis on android applicationSynopsis on android application
Synopsis on android application
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android seminar ppt
Android seminar pptAndroid seminar ppt
Android seminar ppt
 

Similaire à Android app development ppt

Android tutorial
Android tutorialAndroid tutorial
Android tutorialAjai 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 studioParinita03
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app developmentAbhishekKumar4779
 
Android deep dive
Android deep diveAndroid deep dive
Android deep diveAnuSahniNCI
 
Questions About Android Application Development
Questions About Android Application DevelopmentQuestions About Android Application Development
Questions About Android Application DevelopmentAdeel Rasheed
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologiesjerry vasoya
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & ComponentsAkash Bisariya
 
Android app development.pdf
Android app development.pdfAndroid app development.pdf
Android app development.pdfAbanti 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 WorkshopKasun Dananjaya Delgolla
 
Software training report
Software training reportSoftware training report
Software training reportNatasha Bains
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorialilias ahmed
 

Similaire à 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
Android Android
Android
 
Android Basic
Android BasicAndroid Basic
Android Basic
 
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 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
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
 

Dernier

IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 

Dernier (20)

IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 

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.