SlideShare a Scribd company logo
PRESENTED BY
PRABAL TYAGI
INTRODUCTION
TO MVC WITH ANDROID
INTRODUCTION TO MVC
o Model-View-Controller (MVC) is a software architecture
architectural pattern.
o Heart of MVC is what I call Separated Presentation.
o The idea behind Separated Presentation is to make a clear
division between domain objects that model our
perception of the real world, and presentation objects
that are the GUI elements we see on the screen
INTRODUCTION TO MVC
4
MVC

Model:
-Manage the app data and state
-Not concerned with UI or presentation
-Often persists somewhere
 View:
-Present the Model to the user in an appropriate interface
-Allows user to manipulate data.
-Does not store any data except to cache state
 Controller:
-Intermediary between Model & View
-Updates the view when the model changes
-Updates the model when the user manipulates the view
MVC Essentials
The MVC pattern is essentially this:
 Model: What to display
 View: How it’s displayed
 Controller: Formatting the model for display and handling events like user
input
ANDROID FEATURES
SOFTWARE FEATURES
o Integrated browser based on the open source WebKit engine
o SQLite for relational data storage
o Media support for common audio, video, and still image formats
o (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
o Dalvik Virtual Machine optimized for mobile devices
HARDWARE FEATURES
o Cellular networking : GSM, EDGE, 3G (hardware dependent)
o LAN : Bluetooth, and Wi-Fi (hardware dependent)
o Graphics Hardware Acceleration
o Camera, GPS and Compass (hardware dependent)
o Touch screen and accelerometer for motion sensing
ANDROID ARCHITECTURE
Enable applications access data from other applications ,sharing
Providing access to non-code resources
Enables all applications to display alerts in the status bar
Manages the lifecycle of applications
9
APPLICATION FRAMEWORK
Written in C/C++ - System C Library(libc)
 Display/Graphics(make core of graphics lib.)
Media Libraries
SQLite –RDB engine-light weight
LibWebCore–web browser engine–embeddable web
view
10
LIBRARIES
Linux Version 2.6
Security, Memory & Process Management
Proven driver model(qualcomm MSM7K chipset
family)
Efficient computing resource management
Stable and proven OS for mobile platform(in
2008 we use stabel version qualcomm MSM7200)
11
LINUX KERNEL
 Includes a set of core libraries that provides most
of the functionality-JAVA (like io,utilities etc)
 Every Android application runs in its own
process
 Dalvik VM executes files in the (.dex) format
 Device can run multiple VMs efficiently
12
Android Runtime
13
Android Runtime Process
14
DEVELOPMENT TOOLS
The Android SDK includes a variety of custom tools that help
you develop mobile applications on the Android platform.Three
of the most significant tools are:
1.Android Emulator -A virtual mobile device that runs on
our computer -use to design, debug, and test our applications in
an actual Android run-time environment
1.Android Development Tools Plugin -for the Eclipse IDE -
adds powerful extensions to the Eclipse integrated environment
1.Dalvik Debug Monitor Service (DDMS) -Integrated with
Dalvik -this tool let us manage processes on an emulator and
assists in debugging
REAL TIME APPLICATION
A translater for Android
 If you are in a country where no one understands
your language
 You cannot read anything
 No aditional device needed
 You have your mobile phone
always with you
REAL TIME APPLICATION (cont.)
Uses the google translator
Can be extended with new languages
Adaptive GUI
GUI fully defined in XML
Uses camera input
17
18
“IMPORTANCE HIERARCHY”
Foreground Process -required for what the user is currently
doing
Visible Process -holding an Activity - visible to the user on-
screen but not in the foreground(on
pause)
Service Process -holding a Service - not directly visible to the
user- relevant tasks
Background Process -holding an Activity - not visible to the
user - can kill at any time(stopped)
Empty Process -doesn't hold any active application
components(as a cache to improve start-up
FINDINGS
 Android uses proven technology like Java, XML
andLinux
 There is an initial learning effort
 Android doesn‘t have many of the limitations of
current mobile platforms
 It offers a rich API for application development
 Android is still in beta
 Android development is fun
THANK YOU

More Related Content

What's hot

UI5 Apps beyond the office (UI5con)
UI5 Apps beyond the office (UI5con)UI5 Apps beyond the office (UI5con)
UI5 Apps beyond the office (UI5con)
Denny Schreber
 
Cross Platform Mobile Application Development
Cross Platform Mobile Application DevelopmentCross Platform Mobile Application Development
Cross Platform Mobile Application Development
Senchu Thomas
 
Sdlc with mule esb
Sdlc with mule esbSdlc with mule esb
Sdlc with mule esb
D.Rajesh Kumar
 
Android studio 2.2 Tips and Tricks
Android studio 2.2 Tips and TricksAndroid studio 2.2 Tips and Tricks
Android studio 2.2 Tips and Tricks
Uptech
 
remo product introduction
remo product introductionremo product introduction
remo product introduction
The Beaverhead
 
DIAS Developer Designer aid module
DIAS Developer Designer aid moduleDIAS Developer Designer aid module
DIAS Developer Designer aid module
AEGIS-ACCESSIBLE Projects
 
Designer's view of Eclipse
Designer's view of EclipseDesigner's view of Eclipse
Designer's view of Eclipse
Jeremy Johnson
 
Javascrip frameworks
Javascrip frameworksJavascrip frameworks
Javascrip frameworks
Sumit Odich
 
Live Cycle ES2 News From Adobe MAX
Live Cycle ES2 News From Adobe MAXLive Cycle ES2 News From Adobe MAX
Live Cycle ES2 News From Adobe MAX
Matthias Zeller
 
Javafx
JavafxJavafx
Javafx
Rahul karan
 
Android Presentation
Android PresentationAndroid Presentation
Android Presentation
Bram Vandeputte
 
Visual Studio Software architecture
Visual Studio Software architectureVisual Studio Software architecture
Visual Studio Software architecture
Suphiyaan Sutar
 
Ganar el desafio android
Ganar el desafio androidGanar el desafio android
Ganar el desafio android
Joaquín Salvachúa
 
Petroleum Drilling Systems with Innovative Electronics and InduSoft Web Studio
Petroleum Drilling Systems with Innovative Electronics and InduSoft Web StudioPetroleum Drilling Systems with Innovative Electronics and InduSoft Web Studio
Petroleum Drilling Systems with Innovative Electronics and InduSoft Web Studio
AVEVA
 
Introduction to android basics
Introduction to android basicsIntroduction to android basics
Introduction to android basics
Hasam Panezai
 
Introduction
IntroductionIntroduction
Introduction
Ram Maddali
 
UI5 Supportability Reloaded
UI5 Supportability ReloadedUI5 Supportability Reloaded
UI5 Supportability Reloaded
Stanislava Baltova
 
Android basics
Android basicsAndroid basics
Visual WebGui HTML5 Platform and Kinvey BaaS Integration
Visual WebGui HTML5 Platform and Kinvey BaaS IntegrationVisual WebGui HTML5 Platform and Kinvey BaaS Integration
Visual WebGui HTML5 Platform and Kinvey BaaS Integration
Gizmox
 
Webinar: Building HTML5 Mobile Apps with Kinvey and Gizmox
Webinar: Building HTML5 Mobile Apps with Kinvey and GizmoxWebinar: Building HTML5 Mobile Apps with Kinvey and Gizmox
Webinar: Building HTML5 Mobile Apps with Kinvey and Gizmox
Gizmox
 

What's hot (20)

UI5 Apps beyond the office (UI5con)
UI5 Apps beyond the office (UI5con)UI5 Apps beyond the office (UI5con)
UI5 Apps beyond the office (UI5con)
 
Cross Platform Mobile Application Development
Cross Platform Mobile Application DevelopmentCross Platform Mobile Application Development
Cross Platform Mobile Application Development
 
Sdlc with mule esb
Sdlc with mule esbSdlc with mule esb
Sdlc with mule esb
 
Android studio 2.2 Tips and Tricks
Android studio 2.2 Tips and TricksAndroid studio 2.2 Tips and Tricks
Android studio 2.2 Tips and Tricks
 
remo product introduction
remo product introductionremo product introduction
remo product introduction
 
DIAS Developer Designer aid module
DIAS Developer Designer aid moduleDIAS Developer Designer aid module
DIAS Developer Designer aid module
 
Designer's view of Eclipse
Designer's view of EclipseDesigner's view of Eclipse
Designer's view of Eclipse
 
Javascrip frameworks
Javascrip frameworksJavascrip frameworks
Javascrip frameworks
 
Live Cycle ES2 News From Adobe MAX
Live Cycle ES2 News From Adobe MAXLive Cycle ES2 News From Adobe MAX
Live Cycle ES2 News From Adobe MAX
 
Javafx
JavafxJavafx
Javafx
 
Android Presentation
Android PresentationAndroid Presentation
Android Presentation
 
Visual Studio Software architecture
Visual Studio Software architectureVisual Studio Software architecture
Visual Studio Software architecture
 
Ganar el desafio android
Ganar el desafio androidGanar el desafio android
Ganar el desafio android
 
Petroleum Drilling Systems with Innovative Electronics and InduSoft Web Studio
Petroleum Drilling Systems with Innovative Electronics and InduSoft Web StudioPetroleum Drilling Systems with Innovative Electronics and InduSoft Web Studio
Petroleum Drilling Systems with Innovative Electronics and InduSoft Web Studio
 
Introduction to android basics
Introduction to android basicsIntroduction to android basics
Introduction to android basics
 
Introduction
IntroductionIntroduction
Introduction
 
UI5 Supportability Reloaded
UI5 Supportability ReloadedUI5 Supportability Reloaded
UI5 Supportability Reloaded
 
Android basics
Android basicsAndroid basics
Android basics
 
Visual WebGui HTML5 Platform and Kinvey BaaS Integration
Visual WebGui HTML5 Platform and Kinvey BaaS IntegrationVisual WebGui HTML5 Platform and Kinvey BaaS Integration
Visual WebGui HTML5 Platform and Kinvey BaaS Integration
 
Webinar: Building HTML5 Mobile Apps with Kinvey and Gizmox
Webinar: Building HTML5 Mobile Apps with Kinvey and GizmoxWebinar: Building HTML5 Mobile Apps with Kinvey and Gizmox
Webinar: Building HTML5 Mobile Apps with Kinvey and Gizmox
 

Similar to ANDROID presentation prabal

Android my
Android myAndroid my
Android my
pratikguptateddy
 
Android My Seminar
Android My SeminarAndroid My Seminar
Android My Seminar
Ganesh Waghmare
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
Bhavya Siddappa
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
connectshilpa
 
Andriod
Andriod Andriod
Andriod
Chayan Upadhyay
 
Android Seminar
Android SeminarAndroid Seminar
Android Seminar
Ganesh Waghmare
 
OS in mobile devices [Android]
OS in mobile devices [Android]OS in mobile devices [Android]
OS in mobile devices [Android]
Yatharth Aggarwal
 
Android platform
Android platform Android platform
Android platform
Rashmi Warghade
 
Android presentation
Android presentationAndroid presentation
Android presentation
Imam Raza
 
Ramakri
RamakriRamakri
Ramakri
msramakrishna
 
Android
Android Android
Android
Nishant Jain
 
Creating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for AndroidCreating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for Android
Motorola Mobility - MOTODEV
 
Android architecture
Android architectureAndroid architecture
Android architecture
Saurabh Kukreja
 
Android app development India
Android app development IndiaAndroid app development India
Android app development India
Point Perfect Technology Solutions
 
Android development courses online
Android development courses onlineAndroid development courses online
Android development courses online
Texilaedu
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
Prof. Erwin Globio
 
Android operating system
Android operating systemAndroid operating system
Android operating system
Dev Savalia
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
Ranjith Kumar
 
A Special Introduction to the Upcoming InduSoft Web Studio 8.0
A Special Introduction to the Upcoming InduSoft Web Studio 8.0A Special Introduction to the Upcoming InduSoft Web Studio 8.0
A Special Introduction to the Upcoming InduSoft Web Studio 8.0
AVEVA
 
Phonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidPhonebook Directory or Address Book In Android
Phonebook Directory or Address Book In Android
ABHISHEK DINKAR
 

Similar to ANDROID presentation prabal (20)

Android my
Android myAndroid my
Android my
 
Android My Seminar
Android My SeminarAndroid My Seminar
Android My Seminar
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
 
Andriod
Andriod Andriod
Andriod
 
Android Seminar
Android SeminarAndroid Seminar
Android Seminar
 
OS in mobile devices [Android]
OS in mobile devices [Android]OS in mobile devices [Android]
OS in mobile devices [Android]
 
Android platform
Android platform Android platform
Android platform
 
Android presentation
Android presentationAndroid presentation
Android presentation
 
Ramakri
RamakriRamakri
Ramakri
 
Android
Android Android
Android
 
Creating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for AndroidCreating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for Android
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Android app development India
Android app development IndiaAndroid app development India
Android app development India
 
Android development courses online
Android development courses onlineAndroid development courses online
Android development courses online
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Android operating system
Android operating systemAndroid operating system
Android operating system
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
A Special Introduction to the Upcoming InduSoft Web Studio 8.0
A Special Introduction to the Upcoming InduSoft Web Studio 8.0A Special Introduction to the Upcoming InduSoft Web Studio 8.0
A Special Introduction to the Upcoming InduSoft Web Studio 8.0
 
Phonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidPhonebook Directory or Address Book In Android
Phonebook Directory or Address Book In Android
 

ANDROID presentation prabal

  • 3. INTRODUCTION TO MVC o Model-View-Controller (MVC) is a software architecture architectural pattern. o Heart of MVC is what I call Separated Presentation. o The idea behind Separated Presentation is to make a clear division between domain objects that model our perception of the real world, and presentation objects that are the GUI elements we see on the screen
  • 5. MVC  Model: -Manage the app data and state -Not concerned with UI or presentation -Often persists somewhere  View: -Present the Model to the user in an appropriate interface -Allows user to manipulate data. -Does not store any data except to cache state  Controller: -Intermediary between Model & View -Updates the view when the model changes -Updates the model when the user manipulates the view
  • 6. MVC Essentials The MVC pattern is essentially this:  Model: What to display  View: How it’s displayed  Controller: Formatting the model for display and handling events like user input
  • 7. ANDROID FEATURES SOFTWARE FEATURES o Integrated browser based on the open source WebKit engine o SQLite for relational data storage o Media support for common audio, video, and still image formats o (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF) o Dalvik Virtual Machine optimized for mobile devices HARDWARE FEATURES o Cellular networking : GSM, EDGE, 3G (hardware dependent) o LAN : Bluetooth, and Wi-Fi (hardware dependent) o Graphics Hardware Acceleration o Camera, GPS and Compass (hardware dependent) o Touch screen and accelerometer for motion sensing
  • 9. Enable applications access data from other applications ,sharing Providing access to non-code resources Enables all applications to display alerts in the status bar Manages the lifecycle of applications 9 APPLICATION FRAMEWORK
  • 10. Written in C/C++ - System C Library(libc)  Display/Graphics(make core of graphics lib.) Media Libraries SQLite –RDB engine-light weight LibWebCore–web browser engine–embeddable web view 10 LIBRARIES
  • 11. Linux Version 2.6 Security, Memory & Process Management Proven driver model(qualcomm MSM7K chipset family) Efficient computing resource management Stable and proven OS for mobile platform(in 2008 we use stabel version qualcomm MSM7200) 11 LINUX KERNEL
  • 12.  Includes a set of core libraries that provides most of the functionality-JAVA (like io,utilities etc)  Every Android application runs in its own process  Dalvik VM executes files in the (.dex) format  Device can run multiple VMs efficiently 12 Android Runtime
  • 14. 14 DEVELOPMENT TOOLS The Android SDK includes a variety of custom tools that help you develop mobile applications on the Android platform.Three of the most significant tools are: 1.Android Emulator -A virtual mobile device that runs on our computer -use to design, debug, and test our applications in an actual Android run-time environment 1.Android Development Tools Plugin -for the Eclipse IDE - adds powerful extensions to the Eclipse integrated environment 1.Dalvik Debug Monitor Service (DDMS) -Integrated with Dalvik -this tool let us manage processes on an emulator and assists in debugging
  • 15. REAL TIME APPLICATION A translater for Android  If you are in a country where no one understands your language  You cannot read anything  No aditional device needed  You have your mobile phone always with you
  • 16. REAL TIME APPLICATION (cont.) Uses the google translator Can be extended with new languages Adaptive GUI GUI fully defined in XML Uses camera input
  • 17. 17
  • 18. 18 “IMPORTANCE HIERARCHY” Foreground Process -required for what the user is currently doing Visible Process -holding an Activity - visible to the user on- screen but not in the foreground(on pause) Service Process -holding a Service - not directly visible to the user- relevant tasks Background Process -holding an Activity - not visible to the user - can kill at any time(stopped) Empty Process -doesn't hold any active application components(as a cache to improve start-up
  • 19. FINDINGS  Android uses proven technology like Java, XML andLinux  There is an initial learning effort  Android doesn‘t have many of the limitations of current mobile platforms  It offers a rich API for application development  Android is still in beta  Android development is fun