IELM 511: Information System Design: Part 1. ISD For Well Structured Data - Relational and Other DBMS
IELM 511: Information System Design: Part 1. ISD For Well Structured Data - Relational and Other DBMS
IELM 511: Information System Design: Part 1. ISD For Well Structured Data - Relational and Other DBMS
Introduction
Part 1. ISD for well structured data – relational and other DBMS
Info storage (modeling, normalization)
Info retrieval (Relational algebra, Calculus, SQL)
DB integrated API’s
Concluding remarks
Mobile computing: Needs and Applications
Hardware:
Software:
Multi-purpose devices
Multi-tasking/threading, prioritizing and switching between processes
Common Mobile Phone OS’s
Phone users
App developers
Programmers
Hardware
developers
Structure of an Android Application
Android apps are
stored in ‘packages’
Resources:
Data, sound files, images
java
java aapt MyApp.apk
code data mp3
code
# library calls
However, processes can share data with each other via special components
called ‘content providers’
Android components: Activities
Examples:
The “Contacts” application may have an activity that displays a
scrolling list of all contacts listed by last name.
The “Calculator” app may have an activity that displays a numeric keyboard
and buttons for numeric operations, etc. and awaits inputs from the user.
Android API – activity control loop
source: developer.android.com
Android components: Services
Example:
A common example of a service is an mp3 player that may run in the
background as the user may be involved with some activity of another
app, e.g. web browser.
Android API – service control loop
NOTE:
Typically, a service may be created, say, by an activity;
Alternatively, a service may be started and running in some
other context, and can announce its interface to other activities –
in this case, the activity may just connect itself to the service,
in Android, this is called “bind”-ing to the service.
source: developer.android.com
Android components: Broadcast receivers
Examples of interrupts:
- Incoming phone call
- User changed language setting
- Battery is low
- User has transited from one time zone to different one
Android components: Content providers
Content providers are the only mechanism for apps to share data.
Android application process
Process can be multi-threaded Android apps do not have a C-style “main”.
Depending on the state of the application, and the user’s actions, the app
may start (or terminate) some activity, or service, etc.
Most activities will present a ‘view’ to the user, either to display some
graphics, or to get some user-input.
Thus each activity can create (instances) of one or more views. Each
view has some graphical objects that either fill the complete screen,
or a part of the screen.
Several modern mobile OS’s are using xml as an integral part the programming
language – e.g. Android (manifest, view layout), Palm Pre OS, …
References and Further Reading
Mobile OS wikipedia