SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
Android
APPLICATION DEVELOPMENT
BY ABHIANDROID
Table of contents
• About Android
• History andVersion
• Software Stack
• Core Building Blocks
• Android Emulator
• Installing software
• Setup Eclipse
• DalvikVM
• AndroidManifest.xml
• R.java
• Questions & Answers
About 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.
• It is open-source.
• Anyone can customize the Android Platform.
• There are a lot of mobile applications that can be chosen by the
consumer.
• It provides many interesting features like weather details, opening
screen, live RSS (Really Simple Syndication) feeds etc.
Android History
• 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.
Android versions
Version Code name API Level
1.5 Cupcake 3
1.6 Donut 4
2.1 Eclair 7
2.2 Froyo 8
2.3 Gingerbread 9 and 10
3.1 and 3.3 Honeycomb 12 and 13
4.0 Ice Cream Sandwitch 15
4.1, 4.2 and 4.3 Jelly Bean 16, 17 and 18
4.4 KitKat 19
5.0 Lollipop 21
Android Software Stack
• linux kernel
• native libraries (middleware),
• Android Runtime
• Application Framework
• Applications
Android Core Building Blocks
• The core building blocks or fundamental components of android
are:
• activities
• Views
• Intents
• Services
• content providers
• Fragments
• AndroidManifest.xml.
Android Emulator
• Android Emulator is used to run, debug and test the android
application. If you don't have the real device, it can be the best
way to run, debug and test the application.
• It uses an open source processor emulator technology called
QEMU.
• The emulator tool enables you to start the emulator from the
command line.
• In case of Eclipse IDE, you can createAVD byWindow menu >AVD
Manager > New.
• In the given image, you can see the android emulator, it displays
the output of the hello android example.
Installing software
• Android supports java, c++, c# etc. language to develop android
applications. Java is the officially supported language for android.
All the android examples of this site is developed using Java
language and Eclipse IDE.
• Here, we are going to tell you, the required softwares to develop
android applications using Eclipse IDE.
• There are two ways to install android: by ADT Bundle, by Setup
Eclipse Manually.
Setup Eclipse
• Install the JDK
• Download and install the Eclipse for developing android
application
• Download and Install the android SDK
• Intall the ADT plugin for eclipse
• Configure the ADT plugin
• Create the AVD
• Create the hello android application
Dalvik Virtual Machine | DVM
• The DalvikVirtual Machine (DVM) is an android virtual machine
optimized for mobile devices. It optimizes the virtual machine for
memory, battery life and performance.
• The Dex compiler converts the class files into the .dex file that run
on the DalvikVM. Multiple class files are converted into one dex
file.
• The javac tool compiles the java source file into the class file.
• The dx tool takes all the class files of your application and
generates a single .dex file. It is a platform-specific tool.
• The Android Assets PackagingTool (aapt) handles the packaging
process.
Dalvik Virtual Machine | DVM
AndroidManifest.xml
• The AndroidManifest.xml file contains information of your
package, including components of the application such as
activities, services, broadcast receivers, content providers etc.
• It is responsible to protect the application to access any protected
parts by providing the permissions.
• It also declares the android api that the application is going to use.
• It lists the instrumentation classes.The instrumentation classes
provides profiling and other information's.These information's are
removed just before the application is published etc.
• This is the required xml file for all the android application and
located inside the root directory.
R.Java
• Android R.java is an auto-generated file by aapt (Android Asset
PackagingTool) that contains resource IDs for all the resources of
res/ directory.
• If you create any component in the activity_main.xml file, id for
the corresponding component is automatically created in this file.
This id can be used in the activity source file to perform any action
on the component.
• If you delete R.jar file, android creates it automatically.
For step by step learning of Android App
Development visit http://abhiandroid.com
Also if you have any question ask me via
website

Weitere ähnliche Inhalte

Was ist angesagt?

Android software stack
Android software stackAndroid software stack
Android software stackSoba Arjun
 
Android Programming
Android ProgrammingAndroid Programming
Android ProgrammingPasi Manninen
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studioAbdul Basit
 
03 Beginning Android Application Development
03 Beginning Android Application Development03 Beginning Android Application Development
03 Beginning Android Application DevelopmentArief Gunawan
 
Android Studio Overview
Android Studio OverviewAndroid Studio Overview
Android Studio OverviewSalim Hosen
 
Introduction to android coding
Introduction to android codingIntroduction to android coding
Introduction to android codingHari Krishna
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guidemagicshui
 
Building Eclipse Plugins
Building Eclipse PluginsBuilding Eclipse Plugins
Building Eclipse PluginsLiran Zelkha
 
Android session-1-sajib
Android session-1-sajibAndroid session-1-sajib
Android session-1-sajibHussain Behestee
 
Eclipse plug in development
Eclipse plug in developmentEclipse plug in development
Eclipse plug in developmentMartin Toshev
 
IntelliJ IDEA Architecture and Performance
IntelliJ IDEA Architecture and PerformanceIntelliJ IDEA Architecture and Performance
IntelliJ IDEA Architecture and Performanceintelliyole
 
CNIT 128 6. Analyzing Android Applications (Part 1)
CNIT 128 6. Analyzing Android Applications (Part 1)CNIT 128 6. Analyzing Android Applications (Part 1)
CNIT 128 6. Analyzing Android Applications (Part 1)Sam Bowne
 
Anroid Tutorial Beginner level By SAMRAT TAYADE
Anroid Tutorial Beginner level By SAMRAT TAYADE Anroid Tutorial Beginner level By SAMRAT TAYADE
Anroid Tutorial Beginner level By SAMRAT TAYADE Samrat Tayade
 
PDE Good Practices
PDE Good PracticesPDE Good Practices
PDE Good PracticesAnkur Sharma
 
Android Presentation
Android PresentationAndroid Presentation
Android PresentationBram Vandeputte
 

Was ist angesagt? (20)

Android software stack
Android software stackAndroid software stack
Android software stack
 
Android Programming
Android ProgrammingAndroid Programming
Android Programming
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studio
 
03 Beginning Android Application Development
03 Beginning Android Application Development03 Beginning Android Application Development
03 Beginning Android Application Development
 
Ide description
Ide descriptionIde description
Ide description
 
Android Studio Overview
Android Studio OverviewAndroid Studio Overview
Android Studio Overview
 
Introduction to android coding
Introduction to android codingIntroduction to android coding
Introduction to android coding
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Ide presentation
Ide presentationIde presentation
Ide presentation
 
Presentation on Java Basic
Presentation on Java BasicPresentation on Java Basic
Presentation on Java Basic
 
Building Eclipse Plugins
Building Eclipse PluginsBuilding Eclipse Plugins
Building Eclipse Plugins
 
Android session-1-sajib
Android session-1-sajibAndroid session-1-sajib
Android session-1-sajib
 
Eclipse plug in development
Eclipse plug in developmentEclipse plug in development
Eclipse plug in development
 
IntelliJ IDEA Architecture and Performance
IntelliJ IDEA Architecture and PerformanceIntelliJ IDEA Architecture and Performance
IntelliJ IDEA Architecture and Performance
 
JAVA First Day
JAVA First DayJAVA First Day
JAVA First Day
 
CNIT 128 6. Analyzing Android Applications (Part 1)
CNIT 128 6. Analyzing Android Applications (Part 1)CNIT 128 6. Analyzing Android Applications (Part 1)
CNIT 128 6. Analyzing Android Applications (Part 1)
 
Anroid Tutorial Beginner level By SAMRAT TAYADE
Anroid Tutorial Beginner level By SAMRAT TAYADE Anroid Tutorial Beginner level By SAMRAT TAYADE
Anroid Tutorial Beginner level By SAMRAT TAYADE
 
Eclipse IDE
Eclipse IDEEclipse IDE
Eclipse IDE
 
PDE Good Practices
PDE Good PracticesPDE Good Practices
PDE Good Practices
 
Android Presentation
Android PresentationAndroid Presentation
Android Presentation
 

Ă„hnlich wie Android app development by abhi android

Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)Omolara Adejuwon
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions newJoe Jacob
 
Android Seminar || history || versions||application developement
Android Seminar || history || versions||application developement Android Seminar || history || versions||application developement
Android Seminar || history || versions||application developement Shubham Pahune
 
Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA NITIN GUPTA
 
Android Architecture design programming with java
Android Architecture design programming with javaAndroid Architecture design programming with java
Android Architecture design programming with javassuser471dfb
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfNomanKhan869872
 
Mobile Application Development powerpoint
Mobile Application Development powerpointMobile Application Development powerpoint
Mobile Application Development powerpointJohnLagman3
 
Android technology
Android technology Android technology
Android technology vikas malviya
 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform ArchitectureNaresh Chintalcheru
 
Android application development(training) (1)
Android application development(training) (1)Android application development(training) (1)
Android application development(training) (1)Suraj Soni
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Javaamaankhan
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidkrishnastudent88
 
Android Workshop Part 1
Android Workshop Part 1Android Workshop Part 1
Android Workshop Part 1NAILBITER
 
Android
AndroidAndroid
AndroidRohith Rg
 
Android App Developement
Android App DevelopementAndroid App Developement
Android App DevelopementAayush Gupta
 

Ă„hnlich wie Android app development by abhi android (20)

Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
Android Seminar || history || versions||application developement
Android Seminar || history || versions||application developement Android Seminar || history || versions||application developement
Android Seminar || history || versions||application developement
 
Android
AndroidAndroid
Android
 
Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA
 
Android Architecture design programming with java
Android Architecture design programming with javaAndroid Architecture design programming with java
Android Architecture design programming with java
 
Android ppt
Android ppt Android ppt
Android ppt
 
Android Applications
Android ApplicationsAndroid Applications
Android Applications
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdf
 
Mobile Application Development powerpoint
Mobile Application Development powerpointMobile Application Development powerpoint
Mobile Application Development powerpoint
 
Android technology
Android technology Android technology
Android technology
 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform Architecture
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android application development(training) (1)
Android application development(training) (1)Android application development(training) (1)
Android application development(training) (1)
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android Workshop Part 1
Android Workshop Part 1Android Workshop Part 1
Android Workshop Part 1
 
Android
AndroidAndroid
Android
 
Android App Developement
Android App DevelopementAndroid App Developement
Android App Developement
 

KĂĽrzlich hochgeladen

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Christopher Logan Kennedy
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 

KĂĽrzlich hochgeladen (20)

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Android app development by abhi android

  • 2. Table of contents • About Android • History andVersion • Software Stack • Core Building Blocks • Android Emulator • Installing software • Setup Eclipse • DalvikVM • AndroidManifest.xml • R.java • Questions & Answers
  • 3. About 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. • It is open-source. • Anyone can customize the Android Platform. • There are a lot of mobile applications that can be chosen by the consumer. • It provides many interesting features like weather details, opening screen, live RSS (Really Simple Syndication) feeds etc.
  • 4. Android History • 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.
  • 5. Android versions Version Code name API Level 1.5 Cupcake 3 1.6 Donut 4 2.1 Eclair 7 2.2 Froyo 8 2.3 Gingerbread 9 and 10 3.1 and 3.3 Honeycomb 12 and 13 4.0 Ice Cream Sandwitch 15 4.1, 4.2 and 4.3 Jelly Bean 16, 17 and 18 4.4 KitKat 19 5.0 Lollipop 21
  • 6. Android Software Stack • linux kernel • native libraries (middleware), • Android Runtime • Application Framework • Applications
  • 7. Android Core Building Blocks • The core building blocks or fundamental components of android are: • activities • Views • Intents • Services • content providers • Fragments • AndroidManifest.xml.
  • 8. Android Emulator • Android Emulator is used to run, debug and test the android application. If you don't have the real device, it can be the best way to run, debug and test the application. • It uses an open source processor emulator technology called QEMU. • The emulator tool enables you to start the emulator from the command line. • In case of Eclipse IDE, you can createAVD byWindow menu >AVD Manager > New. • In the given image, you can see the android emulator, it displays the output of the hello android example.
  • 9. Installing software • Android supports java, c++, c# etc. language to develop android applications. Java is the officially supported language for android. All the android examples of this site is developed using Java language and Eclipse IDE. • Here, we are going to tell you, the required softwares to develop android applications using Eclipse IDE. • There are two ways to install android: by ADT Bundle, by Setup Eclipse Manually.
  • 10. Setup Eclipse • Install the JDK • Download and install the Eclipse for developing android application • Download and Install the android SDK • Intall the ADT plugin for eclipse • Configure the ADT plugin • Create the AVD • Create the hello android application
  • 11. Dalvik Virtual Machine | DVM • The DalvikVirtual Machine (DVM) is an android virtual machine optimized for mobile devices. It optimizes the virtual machine for memory, battery life and performance. • The Dex compiler converts the class files into the .dex file that run on the DalvikVM. Multiple class files are converted into one dex file. • The javac tool compiles the java source file into the class file. • The dx tool takes all the class files of your application and generates a single .dex file. It is a platform-specific tool. • The Android Assets PackagingTool (aapt) handles the packaging process.
  • 13. AndroidManifest.xml • The AndroidManifest.xml file contains information of your package, including components of the application such as activities, services, broadcast receivers, content providers etc. • It is responsible to protect the application to access any protected parts by providing the permissions. • It also declares the android api that the application is going to use. • It lists the instrumentation classes.The instrumentation classes provides profiling and other information's.These information's are removed just before the application is published etc. • This is the required xml file for all the android application and located inside the root directory.
  • 14. R.Java • Android R.java is an auto-generated file by aapt (Android Asset PackagingTool) that contains resource IDs for all the resources of res/ directory. • If you create any component in the activity_main.xml file, id for the corresponding component is automatically created in this file. This id can be used in the activity source file to perform any action on the component. • If you delete R.jar file, android creates it automatically.
  • 15. For step by step learning of Android App Development visit http://abhiandroid.com Also if you have any question ask me via website