SlideShare a Scribd company logo
1 of 27
ANDROID
History
 Android is a software stack for mobile devices that includes an operating
   system and applications.


 Android's mobile operating system is based on a modified version of the
   Linux kernel.


 Google and other members of the Open Handset Alliance collaborated
   on Android's development and release.
Features
   Storage
   Messaging
   Web browser
   Java support
   Media support
   Market
   Bluetooth
   Video calling
Android phones do better than the
iPhone

  Market
  Google integration
  Open Source
Introduction

 What is Android?
  •   A software platform and operating system for mobile devices

  •   Based on the Linux kernel

  •   Developed by Open Handset Alliance (OHA) and later google

  •   Allows writing managed code in the Java language

  •   The Open Handset Alliance (OHA) is a collection of more than
      50 technology companies, including hardware manufacturers,
      mobile carriers, and software developers
What is the Open Handset Alliance (OHA)?
 The first Android mobile handset, the T-Mobile G1, was
  released in the United States in October 2008.    By the end of
  2009 over 20 Android-compatible handsets had been launched
  or announced in more       than 26 countries on 32 different
  carrier networks.

 Rather than being a mobile OS created for a single hardware
  implementation, Android is designed to support a large variety
  of hardware platforms, from WVGA (Wide Quarter Video
  Graphics Array) phones with hard keyboards to QVGA ( Quarter
  Video Graphics Array)devices with resistive touchscreens.

 Beyond that, with no licensing fees or proprietary software, the
  cost of Android handsets, and is comparatively low.
Android SDK
 The Android software development kit (SDK) includes everything you
   need to start developing, testing, and debugging Android applications.

    Development Tools
    The Android Emulator
    Full Documentation
    Sample Code
    Online Support
Dalvik Virtual Machine – DVM
 One of the key elements of Android is the Dalvik virtual machine. Rather
    than use a traditional Java virtual machine (VM) such as Java ME (Java
    Mobile Edition)
    Android uses its own custom VM designed to ensure that multiple
    instances run efficiently on a single device.
 The Dalvik VM uses the device’s underlying Linux kernel to handle
    functionality including security, threading, and process and memory
    management.
 All Android hardware and system service access is managed using Dalvik
    as a middle tier.
 The Dalvik VM executes Dalvik executable files, a format optimized to
   ensure minimal memory footprint. You create.dex executables by
   transforming Java language compiled classes using the tools supplied
   within the SDK.
Installing Android
 What You Need to Begin
 Because Android applications run within the Dalvik virtual
   machine, you can write them on any platform that supports the
   developer tools. This currently includes the following:
    Microsoft Windows (XP or Vista)
    Mac OS X 10.4.8 or later (Intel chips only)
    Linux
 To get started, you’ll need to download and install the following:
   The Android SDK
   Java Development Kit (JDK) 5 or 6
 You can download the latest JDK from Sun at
     http://java.sun.com/javase/downloads/index.jsp
   If you already have a JDK installed, make sure that it meets the version requirements listed
    above, and note that the Java runtime environment (JRE) is not sufficient.

 Downloading and Installing the SDK
     http://developer.android.com/sdk/index.html




       Download android-sdk_r10-windows.zip file
        ZIP file containing the API libraries, developer tools, documentation, and several
        sample applications and API demos that highlight the use of particular API features.
        Install it by unzipping the SDK into a SDK in C drive.
Developing with Eclipse
 First Download Eclipse from http://www.eclipse.org/downloads/




 Download and Unzip this file in to your directory (C:).
 Double-click on the file c:eclipseeclipse.exe
Creating Hello World
 After you've created an AVD, the next step is to start a new
  Android project in Eclipse.
 From Eclipse, select File > New > Project.
 If the ADT Plugin for Eclipse has been successfully installed,
  the resulting dialog should have a folder labeled "Android"
  which should contain "Android Project". (After you create
  one or more Android projects, an entry for "Android XML
  File" will also be available.)
 Select "Android Project" and click Next.
 Fill in the project details with the following values:
    Project name: HelloAndroid
    Application name: Hello, Android
    Package name: com.example.helloandroid (or your
     own private namespace)
    Create Activity: HelloAndroid
 Click Finish.
   Here is a description of each field:
   Project Name : This is the Eclipse Project name — the name of the directory
    that will contain the project files.
   Application Name : This is the human-readable title for your application — the
    name that will appear on the Android device.
   Package Name : This is the package namespace (following the same rules as
    for packages in the Java programming language) that you want all your source
    code to reside under. This also sets the package name under which the stub
    Activity will be generated.
   Your package name must be unique across all packages installed on the
    Android system; for this reason, it's important to use a standard domain-style
    package for your applications.
 Create Activity : This is the name for the class stub that will be
   generated by the plug-in. This will be a subclass of Android's Activity
   class. An Activity is simply a class that can run and do work. It can create
   a UI if it chooses, but it doesn't need to. As the checkbox suggests, this is
   optional, but an Activity is almost always used as the basis for an
   application.
 Min SDK Version : This value specifies the minimum API Level required
   by your application. For more information, see Android API Levels.
 Other fields : The checkbox for "Use default location" allows you to
   change the location on disk where the project's files will be generated
   and stored. "Build Target" is the platform target that your application will
   be compiled against (this should be selected automatically, based on
   your Min SDK Version).
 You will see the following files created automatically by the SDK.
 src : It contains the source packages and java source files. In our src folder
   it currently contains the package com.helloAndroid. The package further
   contains the java file “helloAndroid.java”.
 gen : It contains the auto generated java files. You do not modify that.
 Android 1.6 : It contains the particular SDK libraries being used for the
   current project.
 res : It is one of the other important content folders.
   It contains three subfolders for images
     drawable –hdpi ,
     drawable –ldpi,
     drawable –mdpi.
    Layout : The layout contains the main.xml which is called when the application is
     started.
    values : Contained in the values folder is used to define strings to be used

      within the applications.
   AndroidManifest.xml :
 Types of Android Applications
 Most of the applications you create in Android will fall into one of the
   following categories:

      Foreground An application that’s useful only when it’s in the foreground and is
       effectively suspended when it’s not visible.map are common examples.
    Background An application with limited interaction that, apart from when
     being configured, spends most of its lifetime hidden. Examples include
     call screening applications and SMS auto-responders.
    Widget Some applications are represented only as a home-screen widget.
 Android Asset Packaging Tool (AAPT)
  Constructs the distributable Android package files (.apk).
  The following diagram depicts the components involved in building and
  running an application:




  Android Debug Bridge (ADB)
  The ADB is a client-server application that provides a link to a running
  emulator. It lets you copy files, install compiled application packages (.apk),
  and run shell commands.
Layouts
  LinearLayout Organizes its children either horizontally or vertically.
  TableLayout Organizes its children in tabular form.
  RelativeLayout : Organizes its children relative to one another or to the
   parent.
  FrameLayout : Allows you to dynamically change the control(s) in the
   layout.
The Android Widget Toolbox
 Android supplies a toolbox of standard Views to help you create
  simple interfaces. By using these controls, you can simplify your
  development and provide consistency between applications.
 The following list highlights some of the more familiar toolbox
  controls:

    TextView :
     A standard read only text label. It supports multiline display, string
     formatting, and automatic word wrapping.
    EditText :
     An editable text entry box. It accepts multiline entry and word
       wrapping.
    ListView :
     A View Group that creates and manages a group of Views used to
     display the items in a List. The standard ListView displays the
     string value of an array of objects using a Text View for each item.
 Button :
  Standard push-button


 CheckBox :
  Two-state button represented with a checked or unchecked box


 RadioButton :
  Two-state grouped buttons. Presents the user with a number of binary
  options of which only one can be selected at a time.
Thanks
Nirav

More Related Content

What's hot

Android and its feature
Android and its featureAndroid and its feature
Android and its featureShubham Kumar
 
Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017Ivo Neskovic
 
1 introduction of android
1 introduction of android1 introduction of android
1 introduction of androidakila_mano
 
Android Development: Build Android App from Scratch
Android Development: Build Android App from ScratchAndroid Development: Build Android App from Scratch
Android Development: Build Android App from ScratchTaufan Erfiyanto
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorialnazzf
 
Android software stack
Android software stackAndroid software stack
Android software stackSoba Arjun
 
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
 
Eclipse & android setup
Eclipse & android setupEclipse & android setup
Eclipse & android setupChina Bigs
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A NutshellTed Chien
 
Ii 1300-java essentials for android
Ii 1300-java essentials for androidIi 1300-java essentials for android
Ii 1300-java essentials for androidAdrian Mikeliunas
 
Ii 1500-publishing your android application
Ii 1500-publishing your android applicationIi 1500-publishing your android application
Ii 1500-publishing your android applicationAdrian Mikeliunas
 
Ii 1100-android development for fun and profit
Ii 1100-android development for fun and profitIi 1100-android development for fun and profit
Ii 1100-android development for fun and profitAdrian Mikeliunas
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & ComponentsAkash Bisariya
 
Industrial Training in Android Application
Industrial Training in Android ApplicationIndustrial Training in Android Application
Industrial Training in Android ApplicationArcadian Learning
 
Android development basics
Android development basicsAndroid development basics
Android development basicsPramesh Gautam
 

What's hot (19)

Android Applications Development
Android Applications DevelopmentAndroid Applications Development
Android Applications Development
 
Android and its feature
Android and its featureAndroid and its feature
Android and its feature
 
Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017
 
1 introduction of android
1 introduction of android1 introduction of android
1 introduction of android
 
Android Development: Build Android App from Scratch
Android Development: Build Android App from ScratchAndroid Development: Build Android App from Scratch
Android Development: Build Android App from Scratch
 
01 03 - introduction to android
01  03 - introduction to android01  03 - introduction to android
01 03 - introduction to android
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
Android software stack
Android software stackAndroid software stack
Android software stack
 
ANDROID
ANDROIDANDROID
ANDROID
 
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
 
Eclipse & android setup
Eclipse & android setupEclipse & android setup
Eclipse & android setup
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A Nutshell
 
Ii 1300-java essentials for android
Ii 1300-java essentials for androidIi 1300-java essentials for android
Ii 1300-java essentials for android
 
Ii 1500-publishing your android application
Ii 1500-publishing your android applicationIi 1500-publishing your android application
Ii 1500-publishing your android application
 
Google Android
Google AndroidGoogle Android
Google Android
 
Ii 1100-android development for fun and profit
Ii 1100-android development for fun and profitIi 1100-android development for fun and profit
Ii 1100-android development for fun and profit
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
 
Industrial Training in Android Application
Industrial Training in Android ApplicationIndustrial Training in Android Application
Industrial Training in Android Application
 
Android development basics
Android development basicsAndroid development basics
Android development basics
 

Viewers also liked

Pdhpe hsc presentation
Pdhpe hsc presentationPdhpe hsc presentation
Pdhpe hsc presentationlukey190
 
Chicago air conditioning
Chicago air conditioningChicago air conditioning
Chicago air conditioningdiyasamme
 
IT Summit 2014 Brochure
IT Summit 2014 BrochureIT Summit 2014 Brochure
IT Summit 2014 Brochurechan009
 
Churchmead School Paris Presentation
Churchmead School Paris PresentationChurchmead School Paris Presentation
Churchmead School Paris PresentationChurchmead School
 
Life as a student in the school of
Life as a student in the school ofLife as a student in the school of
Life as a student in the school ofJaredcoby
 
E stuff 3.0 - barilla carattere-social
E stuff 3.0 - barilla carattere-socialE stuff 3.0 - barilla carattere-social
E stuff 3.0 - barilla carattere-socialelia_de_toni
 
RheumaKit User's Guide
RheumaKit User's GuideRheumaKit User's Guide
RheumaKit User's GuideDNAlytics
 
E-Stuff 3.0 - Corvari vs Rinascimento
E-Stuff 3.0 - Corvari vs RinascimentoE-Stuff 3.0 - Corvari vs Rinascimento
E-Stuff 3.0 - Corvari vs Rinascimentoelia_de_toni
 
Churchmead School St Cassian’s Centre, Kintbury
Churchmead School St Cassian’s Centre, KintburyChurchmead School St Cassian’s Centre, Kintbury
Churchmead School St Cassian’s Centre, KintburyChurchmead School
 
Gelombang elektromagnetik
Gelombang elektromagnetikGelombang elektromagnetik
Gelombang elektromagnetikDeena dep
 
Google search techniques
Google search techniquesGoogle search techniques
Google search techniquesNirav Ranpara
 
Altics - Etude sur les solutions de micro-paiement sur ordinateur et en mobilité
Altics - Etude sur les solutions de micro-paiement sur ordinateur et en mobilitéAltics - Etude sur les solutions de micro-paiement sur ordinateur et en mobilité
Altics - Etude sur les solutions de micro-paiement sur ordinateur et en mobilitéALTICS
 
Projeto de lei_0031-2014
Projeto de lei_0031-2014Projeto de lei_0031-2014
Projeto de lei_0031-2014Adriano Matilha
 
Terumbu karang
Terumbu karangTerumbu karang
Terumbu karangDeena dep
 

Viewers also liked (16)

Pdhpe hsc presentation
Pdhpe hsc presentationPdhpe hsc presentation
Pdhpe hsc presentation
 
Chicago air conditioning
Chicago air conditioningChicago air conditioning
Chicago air conditioning
 
IT Summit 2014 Brochure
IT Summit 2014 BrochureIT Summit 2014 Brochure
IT Summit 2014 Brochure
 
Churchmead School Paris Presentation
Churchmead School Paris PresentationChurchmead School Paris Presentation
Churchmead School Paris Presentation
 
Anena
AnenaAnena
Anena
 
Life as a student in the school of
Life as a student in the school ofLife as a student in the school of
Life as a student in the school of
 
E stuff 3.0 - barilla carattere-social
E stuff 3.0 - barilla carattere-socialE stuff 3.0 - barilla carattere-social
E stuff 3.0 - barilla carattere-social
 
RheumaKit User's Guide
RheumaKit User's GuideRheumaKit User's Guide
RheumaKit User's Guide
 
Myth & fact - Designing for UX
Myth & fact - Designing for UXMyth & fact - Designing for UX
Myth & fact - Designing for UX
 
E-Stuff 3.0 - Corvari vs Rinascimento
E-Stuff 3.0 - Corvari vs RinascimentoE-Stuff 3.0 - Corvari vs Rinascimento
E-Stuff 3.0 - Corvari vs Rinascimento
 
Churchmead School St Cassian’s Centre, Kintbury
Churchmead School St Cassian’s Centre, KintburyChurchmead School St Cassian’s Centre, Kintbury
Churchmead School St Cassian’s Centre, Kintbury
 
Gelombang elektromagnetik
Gelombang elektromagnetikGelombang elektromagnetik
Gelombang elektromagnetik
 
Google search techniques
Google search techniquesGoogle search techniques
Google search techniques
 
Altics - Etude sur les solutions de micro-paiement sur ordinateur et en mobilité
Altics - Etude sur les solutions de micro-paiement sur ordinateur et en mobilitéAltics - Etude sur les solutions de micro-paiement sur ordinateur et en mobilité
Altics - Etude sur les solutions de micro-paiement sur ordinateur et en mobilité
 
Projeto de lei_0031-2014
Projeto de lei_0031-2014Projeto de lei_0031-2014
Projeto de lei_0031-2014
 
Terumbu karang
Terumbu karangTerumbu karang
Terumbu karang
 

Similar to Android

Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorialMohammad Taj
 
2.Android Platform_Theory.pptx
2.Android Platform_Theory.pptx2.Android Platform_Theory.pptx
2.Android Platform_Theory.pptxNizarnizarsurche
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptxmuthulakshmi cse
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Android interview questions and answers
Android interview questions and answersAndroid interview questions and answers
Android interview questions and answerskavinilavuG
 
Android deep dive
Android deep diveAndroid deep dive
Android deep diveAnuSahniNCI
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paperSravan Reddy
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptxallurestore
 
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 development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorialilias ahmed
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architectureDilip Singh
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app developmentAbhishekKumar4779
 
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
 

Similar to Android (20)

PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
2.Android Platform_Theory.pptx
2.Android Platform_Theory.pptx2.Android Platform_Theory.pptx
2.Android Platform_Theory.pptx
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptx
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Android interview questions and answers
Android interview questions and answersAndroid interview questions and answers
Android interview questions and answers
 
Android
AndroidAndroid
Android
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paper
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptx
 
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 cours
Android coursAndroid cours
Android cours
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architecture
 
Internship presentation
Internship presentationInternship presentation
Internship presentation
 
Notes Unit2.pptx
Notes Unit2.pptxNotes Unit2.pptx
Notes Unit2.pptx
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
 
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 primer
Android primerAndroid primer
Android primer
 

Recently uploaded

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 

Recently uploaded (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

Android

  • 2. History  Android is a software stack for mobile devices that includes an operating system and applications.  Android's mobile operating system is based on a modified version of the Linux kernel.  Google and other members of the Open Handset Alliance collaborated on Android's development and release.
  • 3. Features  Storage  Messaging  Web browser  Java support  Media support  Market  Bluetooth  Video calling
  • 4. Android phones do better than the iPhone  Market  Google integration  Open Source
  • 5. Introduction  What is Android? • A software platform and operating system for mobile devices • Based on the Linux kernel • Developed by Open Handset Alliance (OHA) and later google • Allows writing managed code in the Java language • The Open Handset Alliance (OHA) is a collection of more than 50 technology companies, including hardware manufacturers, mobile carriers, and software developers
  • 6. What is the Open Handset Alliance (OHA)?
  • 7.  The first Android mobile handset, the T-Mobile G1, was released in the United States in October 2008. By the end of 2009 over 20 Android-compatible handsets had been launched or announced in more than 26 countries on 32 different carrier networks.  Rather than being a mobile OS created for a single hardware implementation, Android is designed to support a large variety of hardware platforms, from WVGA (Wide Quarter Video Graphics Array) phones with hard keyboards to QVGA ( Quarter Video Graphics Array)devices with resistive touchscreens.  Beyond that, with no licensing fees or proprietary software, the cost of Android handsets, and is comparatively low.
  • 8. Android SDK  The Android software development kit (SDK) includes everything you need to start developing, testing, and debugging Android applications.  Development Tools  The Android Emulator  Full Documentation  Sample Code  Online Support
  • 9. Dalvik Virtual Machine – DVM  One of the key elements of Android is the Dalvik virtual machine. Rather than use a traditional Java virtual machine (VM) such as Java ME (Java Mobile Edition)  Android uses its own custom VM designed to ensure that multiple instances run efficiently on a single device.  The Dalvik VM uses the device’s underlying Linux kernel to handle functionality including security, threading, and process and memory management.  All Android hardware and system service access is managed using Dalvik as a middle tier.
  • 10.  The Dalvik VM executes Dalvik executable files, a format optimized to ensure minimal memory footprint. You create.dex executables by transforming Java language compiled classes using the tools supplied within the SDK.
  • 11. Installing Android  What You Need to Begin  Because Android applications run within the Dalvik virtual machine, you can write them on any platform that supports the developer tools. This currently includes the following:  Microsoft Windows (XP or Vista)  Mac OS X 10.4.8 or later (Intel chips only)  Linux  To get started, you’ll need to download and install the following:  The Android SDK  Java Development Kit (JDK) 5 or 6
  • 12.  You can download the latest JDK from Sun at  http://java.sun.com/javase/downloads/index.jsp  If you already have a JDK installed, make sure that it meets the version requirements listed above, and note that the Java runtime environment (JRE) is not sufficient.  Downloading and Installing the SDK  http://developer.android.com/sdk/index.html Download android-sdk_r10-windows.zip file ZIP file containing the API libraries, developer tools, documentation, and several sample applications and API demos that highlight the use of particular API features. Install it by unzipping the SDK into a SDK in C drive.
  • 13. Developing with Eclipse  First Download Eclipse from http://www.eclipse.org/downloads/  Download and Unzip this file in to your directory (C:).  Double-click on the file c:eclipseeclipse.exe
  • 14. Creating Hello World  After you've created an AVD, the next step is to start a new Android project in Eclipse.  From Eclipse, select File > New > Project.  If the ADT Plugin for Eclipse has been successfully installed, the resulting dialog should have a folder labeled "Android" which should contain "Android Project". (After you create one or more Android projects, an entry for "Android XML File" will also be available.)  Select "Android Project" and click Next.
  • 15.
  • 16.  Fill in the project details with the following values:  Project name: HelloAndroid  Application name: Hello, Android  Package name: com.example.helloandroid (or your own private namespace)  Create Activity: HelloAndroid  Click Finish.
  • 17.
  • 18. Here is a description of each field:  Project Name : This is the Eclipse Project name — the name of the directory that will contain the project files.  Application Name : This is the human-readable title for your application — the name that will appear on the Android device.  Package Name : This is the package namespace (following the same rules as for packages in the Java programming language) that you want all your source code to reside under. This also sets the package name under which the stub Activity will be generated.  Your package name must be unique across all packages installed on the Android system; for this reason, it's important to use a standard domain-style package for your applications.
  • 19.  Create Activity : This is the name for the class stub that will be generated by the plug-in. This will be a subclass of Android's Activity class. An Activity is simply a class that can run and do work. It can create a UI if it chooses, but it doesn't need to. As the checkbox suggests, this is optional, but an Activity is almost always used as the basis for an application.  Min SDK Version : This value specifies the minimum API Level required by your application. For more information, see Android API Levels.  Other fields : The checkbox for "Use default location" allows you to change the location on disk where the project's files will be generated and stored. "Build Target" is the platform target that your application will be compiled against (this should be selected automatically, based on your Min SDK Version).
  • 20.  You will see the following files created automatically by the SDK.
  • 21.  src : It contains the source packages and java source files. In our src folder it currently contains the package com.helloAndroid. The package further contains the java file “helloAndroid.java”.  gen : It contains the auto generated java files. You do not modify that.  Android 1.6 : It contains the particular SDK libraries being used for the current project.  res : It is one of the other important content folders. It contains three subfolders for images drawable –hdpi , drawable –ldpi, drawable –mdpi.  Layout : The layout contains the main.xml which is called when the application is started.  values : Contained in the values folder is used to define strings to be used within the applications. AndroidManifest.xml :
  • 22.  Types of Android Applications  Most of the applications you create in Android will fall into one of the following categories:  Foreground An application that’s useful only when it’s in the foreground and is effectively suspended when it’s not visible.map are common examples.  Background An application with limited interaction that, apart from when being configured, spends most of its lifetime hidden. Examples include call screening applications and SMS auto-responders.  Widget Some applications are represented only as a home-screen widget.
  • 23.  Android Asset Packaging Tool (AAPT) Constructs the distributable Android package files (.apk). The following diagram depicts the components involved in building and running an application: Android Debug Bridge (ADB) The ADB is a client-server application that provides a link to a running emulator. It lets you copy files, install compiled application packages (.apk), and run shell commands.
  • 24. Layouts  LinearLayout Organizes its children either horizontally or vertically.  TableLayout Organizes its children in tabular form.  RelativeLayout : Organizes its children relative to one another or to the parent.  FrameLayout : Allows you to dynamically change the control(s) in the layout.
  • 25. The Android Widget Toolbox  Android supplies a toolbox of standard Views to help you create simple interfaces. By using these controls, you can simplify your development and provide consistency between applications.  The following list highlights some of the more familiar toolbox controls:  TextView : A standard read only text label. It supports multiline display, string formatting, and automatic word wrapping.  EditText : An editable text entry box. It accepts multiline entry and word wrapping.  ListView : A View Group that creates and manages a group of Views used to display the items in a List. The standard ListView displays the string value of an array of objects using a Text View for each item.
  • 26.  Button : Standard push-button  CheckBox : Two-state button represented with a checked or unchecked box  RadioButton : Two-state grouped buttons. Presents the user with a number of binary options of which only one can be selected at a time.