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

PPTX
Android
PDF
Microservice Approach for Web Development with Micro Frontends
PDF
Android workshop material
PPTX
Micro Front Ends for Micro Services using Oracle JET
PPTX
FactoryTalk™ Import Wizard Tutorial InduSoft Web Studio (IWS)
PPT
Android - Workshop By Secure-Net Technologies
PPTX
Achieve Responsive Web Applications With Ease Using Kendo UI
PPTX
iOS Architecture
Android
Microservice Approach for Web Development with Micro Frontends
Android workshop material
Micro Front Ends for Micro Services using Oracle JET
FactoryTalk™ Import Wizard Tutorial InduSoft Web Studio (IWS)
Android - Workshop By Secure-Net Technologies
Achieve Responsive Web Applications With Ease Using Kendo UI
iOS Architecture

What's hot (20)

PPTX
UI5 Apps beyond the office (UI5con)
PPTX
Cross Platform Mobile Application Development
PPT
Sdlc with mule esb
PDF
Android studio 2.2 Tips and Tricks
ODP
remo product introduction
PPT
DIAS Developer Designer aid module
PDF
Designer's view of Eclipse
PPTX
Javascrip frameworks
PPTX
Live Cycle ES2 News From Adobe MAX
ODP
Javafx
PDF
Android Presentation
PPTX
Visual Studio Software architecture
PDF
Ganar el desafio android
PPTX
Petroleum Drilling Systems with Innovative Electronics and InduSoft Web Studio
PPTX
Introduction to android basics
PDF
Introduction
PPTX
UI5 Supportability Reloaded
ODP
PPTX
Visual WebGui HTML5 Platform and Kinvey BaaS Integration
PPTX
Webinar: Building HTML5 Mobile Apps with Kinvey and Gizmox
UI5 Apps beyond the office (UI5con)
Cross Platform Mobile Application Development
Sdlc with mule esb
Android studio 2.2 Tips and Tricks
remo product introduction
DIAS Developer Designer aid module
Designer's view of Eclipse
Javascrip frameworks
Live Cycle ES2 News From Adobe MAX
Javafx
Android Presentation
Visual Studio Software architecture
Ganar el desafio android
Petroleum Drilling Systems with Innovative Electronics and InduSoft Web Studio
Introduction to android basics
Introduction
UI5 Supportability Reloaded
Visual WebGui HTML5 Platform and Kinvey BaaS Integration
Webinar: Building HTML5 Mobile Apps with Kinvey and Gizmox
Ad

Similar to ANDROID presentation prabal (20)

PPTX
Android my
PPT
Android My Seminar
PPT
Android Anatomy
PPT
Android seminar-presentation
PPT
Andriod
PPT
Android Seminar
PPTX
OS in mobile devices [Android]
PPTX
Android platform
PPT
Android presentation
PPT
Ramakri
PPTX
Android
PPT
Creating Great Apps with MOTODEV Studio for Android
PPTX
Android architecture
PPS
Android app development India
PPTX
Android development courses online
PPTX
Introduction to Android Development
PPTX
Chapter 1- Mobile Application Development Introduction-java.pptx
PPT
Android operating system
PPT
Introduction to Android
PPTX
A Special Introduction to the Upcoming InduSoft Web Studio 8.0
Android my
Android My Seminar
Android Anatomy
Android seminar-presentation
Andriod
Android Seminar
OS in mobile devices [Android]
Android platform
Android presentation
Ramakri
Android
Creating Great Apps with MOTODEV Studio for Android
Android architecture
Android app development India
Android development courses online
Introduction to Android Development
Chapter 1- Mobile Application Development Introduction-java.pptx
Android operating system
Introduction to Android
A Special Introduction to the Upcoming InduSoft Web Studio 8.0
Ad

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