Professional Documents
Culture Documents
Unit 5
Unit 5
Unit 5
APPLICATION DEVELOPMENT
Three tier architecture - Model View Controller
Architecture - Memory Management –Information
Access Devices – PDAs and Smart Phones – Smart
Cards and Embedded Controls – J2ME –
Programming for CLDC – GUI in MIDP –
Application Development ON Android and iPhone
• Independence of Layers
• Easier to maintain
• Components are reusable
• Faster development (division of work)
• Web designer does presentation
• Software engineer does logic
• DB admin does data model
• Efficiency
• Implementations
• Fixed-size-blocks allocation
• Buddy blocks
Systems with virtual memory
• Protection
• Sharing
• Physical organization
• Profile:
– A collection of Java Classes J2ME
selected from one or more Profile
Java core, extension or
vertical APIs. Classes are
chosen to provide a
complete solution for a J2ME
specific vertical market Libraries
MIDP - Specification
• There are two versions of the MIDP:
– MIDP 1.0 - is the original specification, provides core
application functionality required by mobile applications,
including basic user interface and network security
• Created by default
• src -- Hello.java -- main Activity
• res, drawable -- icon.png – app’s icon
• res, values -- strings.xml – constants
• res, layout – main.xml -- screen layout
• AndroidManifest.xml – table of contents
• gen – R.java – references, never touch it
• Rotating cube
• Uses OpenGL ES (embedded systems)
• Draws cube from vertices
• Uses GLRenderer
onSurfaceCreated -- set properties
onSurfaceChanged – update view
onDrawFrame – draw the scene
• Documentation – developer.android.com
• Built on SQLite
• Managed Object Context – row data turned into
objects
• Managed Object Model – like schema
• Persistence Store Coordinator – connects to the
database
• Double-click on Conference.xcdatamodel to get
screen to configure tables