SlideShare une entreprise Scribd logo
1  sur  25
Verious Presents OpenClass – Android Developers Day www.openclass.in Event Organized on September 24, 2011
Agenda ,[object Object],[object Object],[object Object],Android
Android System Architecture
Linux Kernel Android relies on Linux version 2.6 for core system services such as security, memory management, process management, network stack, and driver model.  ,[object Object],[object Object],[object Object]
Libraries Android Libraries implementation Android includes a set of C/C++ libraries used by various components of the Android system. These capabilities are exposed to developers through the Android application framework.
Core Libraries ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Core Libraries (Cont..) ,[object Object]
Android Runtime ,[object Object],[object Object],[object Object],[object Object]
Application Framework ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Application Framework (Cont..) ,[object Object],[object Object],[object Object],[object Object],[object Object]
Application ,[object Object]
[object Object]
Android UI ,[object Object],[object Object]
View Hierarchy Layouts (Linear/Relative) It can be TextView, Button or any other Widget
Creating a UI ,[object Object],[object Object],[object Object]
Creating XML under Layout directory  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Create widgets with Java application ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Difference XML Based UI UI created within Application 1. It is easy to create as one can create UI using design tool. No development skill required for this. 2. This helps developer to create consistant UI.  If property of any component is modified in XML then same changes will be reflected everywhere, where component is used. 1. This require testing every time user add any component if developer makes any changes. 2. Developer need to dig into the code and  need to find all usage and replace and test every case as he/she may forget to keep update to same properties everywhere. So its time consming process for developers.
Layout resources in Android ,[object Object],[object Object]
LayoutInflater ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Android Services  and  Broadcast Receiver
Services ,[object Object],[object Object],[object Object]
Own Services  ,[object Object],[object Object],[object Object]
Broadcast Receiver  A broadcast receiver is a class which extends &quot;BroadcastReceiver&quot; and which is registered as a receiver in an Android Application via the AndroidManifest.xml (or via code). This class will be able to receive intents via the sendBroadcast() method. &quot;BroadCastReceiver&quot; defines the method &quot;onReceive()&quot;. Only during this method your broadcast receiver object will be valid, afterwards the Android system will consider your object as no longer active. Therefore you cannot perform any asynchronous operation.  AndroidManifest.XML <receiver android:name=&quot;MyPhoneReceiver&quot;>  <intent-filter> <action android:name=&quot;android.intent.action.PHONE_STATE&quot;> </action>  </intent-filter> </receiver>
Broadcast Receiver Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Contenu connexe

Tendances

Android Screen Containers & Layouts
Android Screen Containers & LayoutsAndroid Screen Containers & Layouts
Android Screen Containers & LayoutsVijay Rastogi
 
Android Tutorials : Basic widgets
Android Tutorials : Basic widgetsAndroid Tutorials : Basic widgets
Android Tutorials : Basic widgetsPrajyot Mainkar
 
Day: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentDay: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentAhsanul Karim
 
Android Bootcamp Tanzania:understanding ui in_android
Android Bootcamp Tanzania:understanding ui in_androidAndroid Bootcamp Tanzania:understanding ui in_android
Android Bootcamp Tanzania:understanding ui in_androidDenis Minja
 
Android application-component
Android application-componentAndroid application-component
Android application-componentLy Haza
 
Multiple Activity and Navigation Primer
Multiple Activity and Navigation PrimerMultiple Activity and Navigation Primer
Multiple Activity and Navigation PrimerAhsanul Karim
 
Londroid Android Home Screen Widgets
Londroid Android Home Screen WidgetsLondroid Android Home Screen Widgets
Londroid Android Home Screen WidgetsRichard Hyndman
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialEd Zel
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialkatayoon_bz
 
Ui layout (incomplete)
Ui layout (incomplete)Ui layout (incomplete)
Ui layout (incomplete)Ahsanul Karim
 
Android apps development
Android apps developmentAndroid apps development
Android apps developmentRaman Pandey
 
01 11 - graphical user interface - fonts-web-tab
01  11 - graphical user interface - fonts-web-tab01  11 - graphical user interface - fonts-web-tab
01 11 - graphical user interface - fonts-web-tabSiva Kumar reddy Vasipally
 

Tendances (19)

Android Screen Containers & Layouts
Android Screen Containers & LayoutsAndroid Screen Containers & Layouts
Android Screen Containers & Layouts
 
Android Tutorials : Basic widgets
Android Tutorials : Basic widgetsAndroid Tutorials : Basic widgets
Android Tutorials : Basic widgets
 
Day: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentDay: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application Development
 
Android Bootcamp Tanzania:understanding ui in_android
Android Bootcamp Tanzania:understanding ui in_androidAndroid Bootcamp Tanzania:understanding ui in_android
Android Bootcamp Tanzania:understanding ui in_android
 
GUI JAVA PROG ~hmftj
GUI  JAVA PROG ~hmftjGUI  JAVA PROG ~hmftj
GUI JAVA PROG ~hmftj
 
Android application-component
Android application-componentAndroid application-component
Android application-component
 
Multiple Activity and Navigation Primer
Multiple Activity and Navigation PrimerMultiple Activity and Navigation Primer
Multiple Activity and Navigation Primer
 
AndroidManifest
AndroidManifestAndroidManifest
AndroidManifest
 
Londroid Android Home Screen Widgets
Londroid Android Home Screen WidgetsLondroid Android Home Screen Widgets
Londroid Android Home Screen Widgets
 
Android Widget
Android WidgetAndroid Widget
Android Widget
 
Android
AndroidAndroid
Android
 
Android layouts
Android layoutsAndroid layouts
Android layouts
 
Android Basic- CMC
Android Basic- CMCAndroid Basic- CMC
Android Basic- CMC
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Ui layout (incomplete)
Ui layout (incomplete)Ui layout (incomplete)
Ui layout (incomplete)
 
Android apps development
Android apps developmentAndroid apps development
Android apps development
 
01 11 - graphical user interface - fonts-web-tab
01  11 - graphical user interface - fonts-web-tab01  11 - graphical user interface - fonts-web-tab
01 11 - graphical user interface - fonts-web-tab
 

Similaire à Android Tutorial

Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptxmuthulakshmi cse
 
Android Tutorial For Beginners Part-1
Android Tutorial For Beginners Part-1Android Tutorial For Beginners Part-1
Android Tutorial For Beginners Part-1Amit Saxena
 
Android App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structureAndroid App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structureVijay Rastogi
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialAbid Khan
 
android training_material ravy ramio
android training_material ravy ramioandroid training_material ravy ramio
android training_material ravy ramioslesulvy
 
Industrial Training in Android Application
Industrial Training in Android ApplicationIndustrial Training in Android Application
Industrial Training in Android ApplicationArcadian Learning
 
Basic android development
Basic android developmentBasic android development
Basic android developmentUpanya Singh
 
Basic android development
Basic android developmentBasic android development
Basic android developmentUpanya Singh
 
Android apps development
Android apps developmentAndroid apps development
Android apps developmentMonir Zzaman
 
Android Development : (Android Studio, PHP, XML, MySQL)
Android Development : (Android Studio, PHP, XML, MySQL)Android Development : (Android Studio, PHP, XML, MySQL)
Android Development : (Android Studio, PHP, XML, MySQL)Kavya Barnadhya Hazarika
 
Android Workshop
Android WorkshopAndroid Workshop
Android WorkshopJunda Ong
 
Mobile Application Development -Lecture 07 & 08.pdf
Mobile Application Development -Lecture 07 & 08.pdfMobile Application Development -Lecture 07 & 08.pdf
Mobile Application Development -Lecture 07 & 08.pdfAbdullahMunir32
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspectiveGunjan Kumar
 
Introduction To Google Android (Ft Rohan Bomle)
Introduction To Google Android (Ft Rohan Bomle)Introduction To Google Android (Ft Rohan Bomle)
Introduction To Google Android (Ft Rohan Bomle)Fafadia Tech
 
Training Session 2 - Day 2
Training Session 2 - Day 2Training Session 2 - Day 2
Training Session 2 - Day 2Vivek Bhusal
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A NutshellTed Chien
 

Similaire à Android Tutorial (20)

Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptx
 
Android Tutorial For Beginners Part-1
Android Tutorial For Beginners Part-1Android Tutorial For Beginners Part-1
Android Tutorial For Beginners Part-1
 
Android App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structureAndroid App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structure
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
android training_material ravy ramio
android training_material ravy ramioandroid training_material ravy ramio
android training_material ravy ramio
 
Android
AndroidAndroid
Android
 
Industrial Training in Android Application
Industrial Training in Android ApplicationIndustrial Training in Android Application
Industrial Training in Android Application
 
Basic android development
Basic android developmentBasic android development
Basic android development
 
Basic android development
Basic android developmentBasic android development
Basic android development
 
Android apps development
Android apps developmentAndroid apps development
Android apps development
 
Android Development : (Android Studio, PHP, XML, MySQL)
Android Development : (Android Studio, PHP, XML, MySQL)Android Development : (Android Studio, PHP, XML, MySQL)
Android Development : (Android Studio, PHP, XML, MySQL)
 
Intro to Android Programming
Intro to Android ProgrammingIntro to Android Programming
Intro to Android Programming
 
Android Workshop
Android WorkshopAndroid Workshop
Android Workshop
 
Mobile Application Development -Lecture 07 & 08.pdf
Mobile Application Development -Lecture 07 & 08.pdfMobile Application Development -Lecture 07 & 08.pdf
Mobile Application Development -Lecture 07 & 08.pdf
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 
Introduction To Google Android (Ft Rohan Bomle)
Introduction To Google Android (Ft Rohan Bomle)Introduction To Google Android (Ft Rohan Bomle)
Introduction To Google Android (Ft Rohan Bomle)
 
Training Session 2 - Day 2
Training Session 2 - Day 2Training Session 2 - Day 2
Training Session 2 - Day 2
 
Android App Development (Basics)
Android App Development (Basics)Android App Development (Basics)
Android App Development (Basics)
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A Nutshell
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
 

Plus de Fun2Do Labs

Startup Canvas - Guide for a new entrepreneur
Startup Canvas - Guide for a new entrepreneurStartup Canvas - Guide for a new entrepreneur
Startup Canvas - Guide for a new entrepreneurFun2Do Labs
 
Fun2Do Labs : Educating Maker Kids in India
Fun2Do Labs : Educating Maker Kids in IndiaFun2Do Labs : Educating Maker Kids in India
Fun2Do Labs : Educating Maker Kids in IndiaFun2Do Labs
 
Maker Education : Bob the Robot
Maker Education : Bob the RobotMaker Education : Bob the Robot
Maker Education : Bob the RobotFun2Do Labs
 
Maker Education : Building a Toy Car with Arduino
Maker Education : Building a Toy Car with ArduinoMaker Education : Building a Toy Car with Arduino
Maker Education : Building a Toy Car with ArduinoFun2Do Labs
 
Maker Education : Toy Lamp
Maker Education : Toy LampMaker Education : Toy Lamp
Maker Education : Toy LampFun2Do Labs
 
Building a Toy Car
Building a Toy CarBuilding a Toy Car
Building a Toy CarFun2Do Labs
 
What is a Makerspace?
What is a Makerspace?What is a Makerspace?
What is a Makerspace?Fun2Do Labs
 
Transmedia in Open Education
Transmedia in Open EducationTransmedia in Open Education
Transmedia in Open EducationFun2Do Labs
 
Toy Fan Project in School Makerspace
Toy Fan Project in School MakerspaceToy Fan Project in School Makerspace
Toy Fan Project in School MakerspaceFun2Do Labs
 
Maker Education - Making Toy LED Glow
Maker Education - Making Toy LED GlowMaker Education - Making Toy LED Glow
Maker Education - Making Toy LED GlowFun2Do Labs
 
Fun2Do Labs - Open Education Project
Fun2Do Labs - Open Education ProjectFun2Do Labs - Open Education Project
Fun2Do Labs - Open Education ProjectFun2Do Labs
 
Mig33 Developer Program
Mig33 Developer ProgramMig33 Developer Program
Mig33 Developer ProgramFun2Do Labs
 
OpenClass - Social Gaming
OpenClass - Social GamingOpenClass - Social Gaming
OpenClass - Social GamingFun2Do Labs
 
OpenClass - What is Java ME - J2ME
OpenClass - What is Java ME - J2MEOpenClass - What is Java ME - J2ME
OpenClass - What is Java ME - J2MEFun2Do Labs
 

Plus de Fun2Do Labs (16)

Startup Canvas - Guide for a new entrepreneur
Startup Canvas - Guide for a new entrepreneurStartup Canvas - Guide for a new entrepreneur
Startup Canvas - Guide for a new entrepreneur
 
Fun2Do Labs : Educating Maker Kids in India
Fun2Do Labs : Educating Maker Kids in IndiaFun2Do Labs : Educating Maker Kids in India
Fun2Do Labs : Educating Maker Kids in India
 
Maker Education : Bob the Robot
Maker Education : Bob the RobotMaker Education : Bob the Robot
Maker Education : Bob the Robot
 
Maker Education : Building a Toy Car with Arduino
Maker Education : Building a Toy Car with ArduinoMaker Education : Building a Toy Car with Arduino
Maker Education : Building a Toy Car with Arduino
 
Maker Education : Toy Lamp
Maker Education : Toy LampMaker Education : Toy Lamp
Maker Education : Toy Lamp
 
Building a Toy Car
Building a Toy CarBuilding a Toy Car
Building a Toy Car
 
What is a Makerspace?
What is a Makerspace?What is a Makerspace?
What is a Makerspace?
 
Using Arduino
Using ArduinoUsing Arduino
Using Arduino
 
Transmedia in Open Education
Transmedia in Open EducationTransmedia in Open Education
Transmedia in Open Education
 
How to Solder?
How to Solder?How to Solder?
How to Solder?
 
Toy Fan Project in School Makerspace
Toy Fan Project in School MakerspaceToy Fan Project in School Makerspace
Toy Fan Project in School Makerspace
 
Maker Education - Making Toy LED Glow
Maker Education - Making Toy LED GlowMaker Education - Making Toy LED Glow
Maker Education - Making Toy LED Glow
 
Fun2Do Labs - Open Education Project
Fun2Do Labs - Open Education ProjectFun2Do Labs - Open Education Project
Fun2Do Labs - Open Education Project
 
Mig33 Developer Program
Mig33 Developer ProgramMig33 Developer Program
Mig33 Developer Program
 
OpenClass - Social Gaming
OpenClass - Social GamingOpenClass - Social Gaming
OpenClass - Social Gaming
 
OpenClass - What is Java ME - J2ME
OpenClass - What is Java ME - J2MEOpenClass - What is Java ME - J2ME
OpenClass - What is Java ME - J2ME
 

Dernier

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Dernier (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Android Tutorial

  • 1. Verious Presents OpenClass – Android Developers Day www.openclass.in Event Organized on September 24, 2011
  • 2.
  • 4.
  • 5. Libraries Android Libraries implementation Android includes a set of C/C++ libraries used by various components of the Android system. These capabilities are exposed to developers through the Android application framework.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. View Hierarchy Layouts (Linear/Relative) It can be TextView, Button or any other Widget
  • 15.
  • 16.
  • 17.
  • 18. Difference XML Based UI UI created within Application 1. It is easy to create as one can create UI using design tool. No development skill required for this. 2. This helps developer to create consistant UI. If property of any component is modified in XML then same changes will be reflected everywhere, where component is used. 1. This require testing every time user add any component if developer makes any changes. 2. Developer need to dig into the code and need to find all usage and replace and test every case as he/she may forget to keep update to same properties everywhere. So its time consming process for developers.
  • 19.
  • 20.
  • 21. Android Services and Broadcast Receiver
  • 22.
  • 23.
  • 24. Broadcast Receiver A broadcast receiver is a class which extends &quot;BroadcastReceiver&quot; and which is registered as a receiver in an Android Application via the AndroidManifest.xml (or via code). This class will be able to receive intents via the sendBroadcast() method. &quot;BroadCastReceiver&quot; defines the method &quot;onReceive()&quot;. Only during this method your broadcast receiver object will be valid, afterwards the Android system will consider your object as no longer active. Therefore you cannot perform any asynchronous operation. AndroidManifest.XML <receiver android:name=&quot;MyPhoneReceiver&quot;> <intent-filter> <action android:name=&quot;android.intent.action.PHONE_STATE&quot;> </action> </intent-filter> </receiver>
  • 25.