SlideShare a Scribd company logo
1 of 25
Application Development for Android

Presented by:
Anshul Sharma
101225
What is Android?
•
•
•
•

Google’s mobile operating system
A free, open source mobile platform
A Linux-based, multiprocess, multithreaded OS
It’s not even limited to phones - you could build
a DVR, a handheld GPS, an MP3 player, etc.
• Offers an SDK and NDK
• Latest SDK version is 4.0/4.1 (Jellybean)
Software development
• Android SDK includes a comprehensive set of
development tools.
• The SDK is downloadable on the android
developer website.
• The officially supported integrated
development environment (IDE) is Eclipse
(currently 3.5 or 3.6) using the Android
Development Tools (ADT) Plugin
Architecture Overview
Linux Kernel
✓ Security model: The Linux kernel handles security between the
application and the system.
✓ Memory management: The kernel handles memory management for
you, leaving you free to develop your app.
✓ Process management: The Linux kernel manages processes
well, allocating resources to processes as they need them.
✓ Network stack: The Linux kernel also handles network communication.
✓ Driver model: The goal of Linux is to ensure that everything works.
Hardware manufacturers can build their drivers into the Linux build
Native Libraries
✓ Shared

libraries all written in C or C++
✓ Compiled for the particular hardware
architecture used by the phone
✓ Preinstalled by the phone vendor
✓ Can be developed using NDK
Android Runtime
✓ Dalvik

VM

– Google’s implementation of Java
– Optimized for mobile devices
Every Android application runs in its own process, with its
own instance of the Dalvik virtual machine. Dalvik has
been written so that a device can run multiple VMs
efficiently.
The Dalvik VM executes files in the Dalvik Executable (.dex)
format which is optimized for minimal memory footprint.
Application framework
✓ Activity manager: Manages the activity life cycle.
✓ Telephony manager: Provides access to telephony services as

well as some subscriber information, such as phone numbers.
✓ View system: Handles the views and layouts that make up
your user interface (UI).
✓ Location manager: Finds out the device’s geographic location.
Application Lifecycle
Building Blocks
✓ Activities

: User Interface
✓ Intent: A mechanism for describing a specific
action
✓ Service: A task that runs in the background
without user interaction
✓ Content providers: is a set of data wrapped up
in a custom API to read and write it
Activities
✓ An

activity represents a single screen with a
user interface.
✓ An activity is implemented as a subclass of
Activity
Activity Lifecycle
Intents
✓ Activities and services — are

activated through messages, called

intents.
✓ Intent object, is a data structure holding a description of an
operation to be performed.
Implicit intents
Explicit intents

Intent intent1 = new Intent(v.getContext(), thirdscreenn.class);
startActivity(intent1);
Services
✓ A service is a component that runs in the background to

perform long-running operations or to perform work for
remote processes.
✓ For example, a service might play music in the background
while the user is in a different application.
✓ A service is implemented as a subclass of Service.
✓ A service does not provide a user interface.
Content providers
✓ A content provider manages a shared set of application data.
✓ You can store the data in the file system, a SQLite database, on

the web, or any other persistent storage location your
application can access.
✓ Through the content provider, other applications can query or
even modify the data (if the content provider allows it).
✓ A content provider is implemented as a subclass of
ContentProvider and must implement a standard set of APIs
that enable other applications to perform transactions
The AndroidManifest.xml File
✓ Every application must have an AndroidManifest.xml file.
✓ It names the Java package for the application. The package

name serves as a unique identifier for the application.
✓ It describes the components of the application — the
activities, services, broadcast receivers, and content providers
that the application is composed of.
✓ It determines which processes will host application
components.
✓ It declares the minimum level of the Android API that the
application requires.
AVD (Android Virtual Device)
• An Android Virtual Device (AVD) is an emulator configuration
that lets you model an actual device by defining hardware and
software options to be emulated by the Android Emulator.
Application Structure
USER INTERFACE
Layouts
•
•
•
•
•

Linear Layout
Table Layout
Relative Layout
Absolute Layout
Frame Layout
Views
• Views are what your users will see and
interact with
Views (cont’d)
Views (cont’d)
Load the XML Resource
Listeners
✓ Tell Android which object to callback when the user touches or clicks
the view
✓ Use setOnClickListener() method that needs to Be passed an object
that implements the OnClickListener Java interface
✓ Set android:onClick property with the method name that handles the
click action

button.setOnClickListener(new OnClickListener()
{
public void onClick(View v) {
// TODO Auto-generated method stub
Intent j = new Intent(v.getContext(),mediaplayer.class);
j.putExtra(mediaconstant.MEDIA_MODE, mediaconstant.MEDIA_PAUSE);
startService(j);
}
} );

More Related Content

What's hot

How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...Animesh Singh
 
Serverless microservices
Serverless microservicesServerless microservices
Serverless microservicesLalit Kale
 
Development QA Reports for PeopleSoft
Development QA Reports for PeopleSoftDevelopment QA Reports for PeopleSoft
Development QA Reports for PeopleSoftLeandro Baca
 
Deploying .net application using VSTS on ACS in kubernetes
Deploying .net application using VSTS on ACS in kubernetesDeploying .net application using VSTS on ACS in kubernetes
Deploying .net application using VSTS on ACS in kubernetesgirish goudar
 
Lecture 11 active directory
Lecture 11 active directoryLecture 11 active directory
Lecture 11 active directoryTanveer Malik
 
How i got androidified
How i got androidifiedHow i got androidified
How i got androidifiedharshbarve
 

What's hot (8)

Android Introduction
Android IntroductionAndroid Introduction
Android Introduction
 
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
 
Serverless microservices
Serverless microservicesServerless microservices
Serverless microservices
 
Development QA Reports for PeopleSoft
Development QA Reports for PeopleSoftDevelopment QA Reports for PeopleSoft
Development QA Reports for PeopleSoft
 
Deploying .net application using VSTS on ACS in kubernetes
Deploying .net application using VSTS on ACS in kubernetesDeploying .net application using VSTS on ACS in kubernetes
Deploying .net application using VSTS on ACS in kubernetes
 
Lecture 11 active directory
Lecture 11 active directoryLecture 11 active directory
Lecture 11 active directory
 
How i got androidified
How i got androidifiedHow i got androidified
How i got androidified
 
Docker Overview
Docker OverviewDocker Overview
Docker Overview
 

Viewers also liked

Presentation by Steve Hubbard, qubeSocial to Melbourne's dm Forum.
Presentation by Steve Hubbard, qubeSocial to Melbourne's dm Forum. Presentation by Steve Hubbard, qubeSocial to Melbourne's dm Forum.
Presentation by Steve Hubbard, qubeSocial to Melbourne's dm Forum. Steve Hubbard
 
Birla sun life gen next fund
Birla sun life gen next fundBirla sun life gen next fund
Birla sun life gen next fundSujata Verma
 
Electronic grade book prez (by Alex Rivera)
Electronic grade book prez (by Alex Rivera)Electronic grade book prez (by Alex Rivera)
Electronic grade book prez (by Alex Rivera)amrivera360
 
Presentation to Melbourne Professional & Commercial (MP&C) Networking Group
Presentation to Melbourne Professional & Commercial (MP&C) Networking GroupPresentation to Melbourne Professional & Commercial (MP&C) Networking Group
Presentation to Melbourne Professional & Commercial (MP&C) Networking GroupSteve Hubbard
 
Jacques botha cv web browser version
Jacques botha cv web browser versionJacques botha cv web browser version
Jacques botha cv web browser versionJacques Botha
 
Sustainability Report 2014
Sustainability Report 2014Sustainability Report 2014
Sustainability Report 2014MMG Limited
 
Jacquesbothacvwebbrowserversion 130722094131-phpapp01
Jacquesbothacvwebbrowserversion 130722094131-phpapp01Jacquesbothacvwebbrowserversion 130722094131-phpapp01
Jacquesbothacvwebbrowserversion 130722094131-phpapp01Jacques Botha
 
Impak Puasa Terhadap Muslim
Impak Puasa Terhadap MuslimImpak Puasa Terhadap Muslim
Impak Puasa Terhadap MuslimAnis Nabilah
 
130906 bni w2 e tmn marketing presentation
130906 bni   w2 e tmn marketing presentation130906 bni   w2 e tmn marketing presentation
130906 bni w2 e tmn marketing presentationSteve Hubbard
 
Santhosh tuppad - A journey that is fascinating and will be more fascinating ...
Santhosh tuppad - A journey that is fascinating and will be more fascinating ...Santhosh tuppad - A journey that is fascinating and will be more fascinating ...
Santhosh tuppad - A journey that is fascinating and will be more fascinating ...Santhosh Tuppad
 
Capital Markets 2015 - Uruguay - Latin Lawyer Reference
Capital Markets 2015 - Uruguay - Latin Lawyer ReferenceCapital Markets 2015 - Uruguay - Latin Lawyer Reference
Capital Markets 2015 - Uruguay - Latin Lawyer ReferenceOlivera Abogados
 
Santhosh Tuppad - Profile - Entrepreneur - Software Tester - Ethical Hacker -...
Santhosh Tuppad - Profile - Entrepreneur - Software Tester - Ethical Hacker -...Santhosh Tuppad - Profile - Entrepreneur - Software Tester - Ethical Hacker -...
Santhosh Tuppad - Profile - Entrepreneur - Software Tester - Ethical Hacker -...Santhosh Tuppad
 
Ll reference capital markets 2013 - uruguay
Ll reference   capital markets 2013 - uruguayLl reference   capital markets 2013 - uruguay
Ll reference capital markets 2013 - uruguayOlivera Abogados
 
Presentation investment and trading with uruguay
Presentation investment and trading with uruguayPresentation investment and trading with uruguay
Presentation investment and trading with uruguayOlivera Abogados
 

Viewers also liked (20)

Http topo
Http topoHttp topo
Http topo
 
Presentation by Steve Hubbard, qubeSocial to Melbourne's dm Forum.
Presentation by Steve Hubbard, qubeSocial to Melbourne's dm Forum. Presentation by Steve Hubbard, qubeSocial to Melbourne's dm Forum.
Presentation by Steve Hubbard, qubeSocial to Melbourne's dm Forum.
 
Birla sun life gen next fund
Birla sun life gen next fundBirla sun life gen next fund
Birla sun life gen next fund
 
Electronic grade book prez (by Alex Rivera)
Electronic grade book prez (by Alex Rivera)Electronic grade book prez (by Alex Rivera)
Electronic grade book prez (by Alex Rivera)
 
Indian Economy
Indian EconomyIndian Economy
Indian Economy
 
Presentation to Melbourne Professional & Commercial (MP&C) Networking Group
Presentation to Melbourne Professional & Commercial (MP&C) Networking GroupPresentation to Melbourne Professional & Commercial (MP&C) Networking Group
Presentation to Melbourne Professional & Commercial (MP&C) Networking Group
 
Jacques botha cv web browser version
Jacques botha cv web browser versionJacques botha cv web browser version
Jacques botha cv web browser version
 
Sustainability Report 2014
Sustainability Report 2014Sustainability Report 2014
Sustainability Report 2014
 
Jacquesbothacvwebbrowserversion 130722094131-phpapp01
Jacquesbothacvwebbrowserversion 130722094131-phpapp01Jacquesbothacvwebbrowserversion 130722094131-phpapp01
Jacquesbothacvwebbrowserversion 130722094131-phpapp01
 
Impak Puasa Terhadap Muslim
Impak Puasa Terhadap MuslimImpak Puasa Terhadap Muslim
Impak Puasa Terhadap Muslim
 
130906 bni w2 e tmn marketing presentation
130906 bni   w2 e tmn marketing presentation130906 bni   w2 e tmn marketing presentation
130906 bni w2 e tmn marketing presentation
 
Santhosh tuppad - A journey that is fascinating and will be more fascinating ...
Santhosh tuppad - A journey that is fascinating and will be more fascinating ...Santhosh tuppad - A journey that is fascinating and will be more fascinating ...
Santhosh tuppad - A journey that is fascinating and will be more fascinating ...
 
My biography
My biographyMy biography
My biography
 
Guia bpa-quinua
Guia bpa-quinuaGuia bpa-quinua
Guia bpa-quinua
 
SHIFT LOG BOOK
SHIFT LOG BOOKSHIFT LOG BOOK
SHIFT LOG BOOK
 
Capital Markets 2015 - Uruguay - Latin Lawyer Reference
Capital Markets 2015 - Uruguay - Latin Lawyer ReferenceCapital Markets 2015 - Uruguay - Latin Lawyer Reference
Capital Markets 2015 - Uruguay - Latin Lawyer Reference
 
Santhosh Tuppad - Profile - Entrepreneur - Software Tester - Ethical Hacker -...
Santhosh Tuppad - Profile - Entrepreneur - Software Tester - Ethical Hacker -...Santhosh Tuppad - Profile - Entrepreneur - Software Tester - Ethical Hacker -...
Santhosh Tuppad - Profile - Entrepreneur - Software Tester - Ethical Hacker -...
 
Ll reference capital markets 2013 - uruguay
Ll reference   capital markets 2013 - uruguayLl reference   capital markets 2013 - uruguay
Ll reference capital markets 2013 - uruguay
 
Presentation investment and trading with uruguay
Presentation investment and trading with uruguayPresentation investment and trading with uruguay
Presentation investment and trading with uruguay
 
Manual _handling
Manual _handlingManual _handling
Manual _handling
 

Similar to Android Technology

Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersBoom Shukla
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architectureDilip Singh
 
Android Workshop_1
Android Workshop_1Android Workshop_1
Android Workshop_1Purvik Rana
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App DevelopmentMike Kvintus
 
Android Penetration Testing - Day 1
Android Penetration Testing - Day 1Android Penetration Testing - Day 1
Android Penetration Testing - Day 1Mohammed Adam
 
Android technology
Android technologyAndroid technology
Android technologyDhruv Modh
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A NutshellTed Chien
 
Android Development
Android DevelopmentAndroid Development
Android Developmentmclougm4
 
Introduction to Android (before 2015)
Introduction to Android (before 2015)Introduction to Android (before 2015)
Introduction to Android (before 2015)Chien-Ming Chou
 
01 what is android
01 what is android01 what is android
01 what is androidC.o. Nieto
 
Android overview
Android overviewAndroid overview
Android overviewHas Taiar
 
Android Architecture design programming with java
Android Architecture design programming with javaAndroid Architecture design programming with java
Android Architecture design programming with javassuser471dfb
 
Introduction to android basics
Introduction to android basicsIntroduction to android basics
Introduction to android basicsHasam Panezai
 
Android architecture
Android architectureAndroid architecture
Android architectureDeepa Rahul
 
Introduction to Android Development.pptx
Introduction to Android Development.pptxIntroduction to Android Development.pptx
Introduction to Android Development.pptxasmeerana605
 

Similar to Android Technology (20)

Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginners
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architecture
 
Android primer
Android primerAndroid primer
Android primer
 
Android Workshop_1
Android Workshop_1Android Workshop_1
Android Workshop_1
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App Development
 
Android Penetration Testing - Day 1
Android Penetration Testing - Day 1Android Penetration Testing - Day 1
Android Penetration Testing - Day 1
 
Android technology
Android technologyAndroid technology
Android technology
 
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
 
Android Development
Android DevelopmentAndroid Development
Android Development
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 
Introduction to Android (before 2015)
Introduction to Android (before 2015)Introduction to Android (before 2015)
Introduction to Android (before 2015)
 
01 what is android
01 what is android01 what is android
01 what is android
 
Android Introduction by Kajal
Android Introduction by KajalAndroid Introduction by Kajal
Android Introduction by Kajal
 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
 
Android overview
Android overviewAndroid overview
Android overview
 
Android Architecture design programming with java
Android Architecture design programming with javaAndroid Architecture design programming with java
Android Architecture design programming with java
 
Introduction to android basics
Introduction to android basicsIntroduction to android basics
Introduction to android basics
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Introduction to Android Development.pptx
Introduction to Android Development.pptxIntroduction to Android Development.pptx
Introduction to Android Development.pptx
 

Recently uploaded

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
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
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
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
 
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
 

Recently uploaded (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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
 
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...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
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
 
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
 

Android Technology

  • 1. Application Development for Android Presented by: Anshul Sharma 101225
  • 2. What is Android? • • • • Google’s mobile operating system A free, open source mobile platform A Linux-based, multiprocess, multithreaded OS It’s not even limited to phones - you could build a DVR, a handheld GPS, an MP3 player, etc. • Offers an SDK and NDK • Latest SDK version is 4.0/4.1 (Jellybean)
  • 3. Software development • Android SDK includes a comprehensive set of development tools. • The SDK is downloadable on the android developer website. • The officially supported integrated development environment (IDE) is Eclipse (currently 3.5 or 3.6) using the Android Development Tools (ADT) Plugin
  • 5. Linux Kernel ✓ Security model: The Linux kernel handles security between the application and the system. ✓ Memory management: The kernel handles memory management for you, leaving you free to develop your app. ✓ Process management: The Linux kernel manages processes well, allocating resources to processes as they need them. ✓ Network stack: The Linux kernel also handles network communication. ✓ Driver model: The goal of Linux is to ensure that everything works. Hardware manufacturers can build their drivers into the Linux build
  • 6. Native Libraries ✓ Shared libraries all written in C or C++ ✓ Compiled for the particular hardware architecture used by the phone ✓ Preinstalled by the phone vendor ✓ Can be developed using NDK
  • 7. Android Runtime ✓ Dalvik VM – Google’s implementation of Java – Optimized for mobile devices Every Android application runs in its own process, with its own instance of the Dalvik virtual machine. Dalvik has been written so that a device can run multiple VMs efficiently. The Dalvik VM executes files in the Dalvik Executable (.dex) format which is optimized for minimal memory footprint.
  • 8. Application framework ✓ Activity manager: Manages the activity life cycle. ✓ Telephony manager: Provides access to telephony services as well as some subscriber information, such as phone numbers. ✓ View system: Handles the views and layouts that make up your user interface (UI). ✓ Location manager: Finds out the device’s geographic location.
  • 10. Building Blocks ✓ Activities : User Interface ✓ Intent: A mechanism for describing a specific action ✓ Service: A task that runs in the background without user interaction ✓ Content providers: is a set of data wrapped up in a custom API to read and write it
  • 11. Activities ✓ An activity represents a single screen with a user interface. ✓ An activity is implemented as a subclass of Activity
  • 13. Intents ✓ Activities and services — are activated through messages, called intents. ✓ Intent object, is a data structure holding a description of an operation to be performed. Implicit intents Explicit intents Intent intent1 = new Intent(v.getContext(), thirdscreenn.class); startActivity(intent1);
  • 14. Services ✓ A service is a component that runs in the background to perform long-running operations or to perform work for remote processes. ✓ For example, a service might play music in the background while the user is in a different application. ✓ A service is implemented as a subclass of Service. ✓ A service does not provide a user interface.
  • 15. Content providers ✓ A content provider manages a shared set of application data. ✓ You can store the data in the file system, a SQLite database, on the web, or any other persistent storage location your application can access. ✓ Through the content provider, other applications can query or even modify the data (if the content provider allows it). ✓ A content provider is implemented as a subclass of ContentProvider and must implement a standard set of APIs that enable other applications to perform transactions
  • 16. The AndroidManifest.xml File ✓ Every application must have an AndroidManifest.xml file. ✓ It names the Java package for the application. The package name serves as a unique identifier for the application. ✓ It describes the components of the application — the activities, services, broadcast receivers, and content providers that the application is composed of. ✓ It determines which processes will host application components. ✓ It declares the minimum level of the Android API that the application requires.
  • 17. AVD (Android Virtual Device) • An Android Virtual Device (AVD) is an emulator configuration that lets you model an actual device by defining hardware and software options to be emulated by the Android Emulator.
  • 21. Views • Views are what your users will see and interact with
  • 24. Load the XML Resource
  • 25. Listeners ✓ Tell Android which object to callback when the user touches or clicks the view ✓ Use setOnClickListener() method that needs to Be passed an object that implements the OnClickListener Java interface ✓ Set android:onClick property with the method name that handles the click action button.setOnClickListener(new OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub Intent j = new Intent(v.getContext(),mediaplayer.class); j.putExtra(mediaconstant.MEDIA_MODE, mediaconstant.MEDIA_PAUSE); startService(j); } } );