UNIT CODE: BIT4107
UNIT TITLE: MOBILE APPLICATIONS
DEVELOPMENT
,BIT4107: MOBILE APPLICATIONS DEVELOPMENT
Credit Hours: 3
Contact Hours: 42
Prerequisite: Data Communication and Networks, Object-Oriented Programming
Purpose
To teach students how to develop mobile applications using the Java 2 Platform
Expected Learning Outcomes
By the end of the course unit a learner shall be able to:
i. use the Objective-C and Java languages (and associated frameworks) for creating mobile
apps on iOS and Android platforms, respectively .
ii. create effective user interfaces for mobile apps .
iii. harness Internet service in support of mobile apps .
iv. store/retrieve data in support of mobile apps.
Course Content:
Introduction to Mobile Application Programming; Mobile Devices, Java 2 Micro Edition,
CLDC, CDC, MIDP, MIDlets; High Level UI, Display, Displayable, Command, Ticker, Screen,
Item, Alert, List, TextBox, Form; Low Level UI, Canvas, Graphics; Persistent Storage, Record
Stores, Record Enumeration, Record Comparator, Record Filter; Networking, Generic
Connection Framework, HTTP Connection, HTTPS Connection, TCP Sockets Server Sockets,
Datagrams; Optimizations, Program Execution, JAR Size Networking, Memory Usage; Optional
Packages, Overview of optional packages, MMAPI, WMA
Teaching / Learning Methodologies: Lectures and tutorials; group discussion; Demonstration;
Individual assignment; Case studies
Instructional Materials and Equipment: Projector; test books; design catalogues; computer
laboratory; design software; simulators
Assessment
Examination - 70%; Continuous Assessment Test (CATS) - 20%; Assignments - 10%; Total -
100%
Core text books
Burnette, Ed, Hello, Android: Introducing Google's Mobile Development Platform
,Recommended Books
Jones, M. and Marsden, Mobile Interaction Design Scaling the Heights of Education
Table of Contents
1. INTRODUCTION TO MOBILE AND WIRELESS COMMUNICATIONS 5
Mobile Communication Technologies 5
2G Technology 6
3G Technology 7
4 G Technology 8
Wireless communications 10
GSM (Global System for Mobile Communications) 11
2. JAVA ADVANCE TOPICS-GRAPHICAL USER INTERFACE. 14
Java object and classes 16
Introduction to Java Graphical User Interface. 18
3. J2ME MOBILE DEVELOPMENT. 30
Understanding J2ME 30
4. INTRODUCTION TO MIDLET APPLICATION. 40
The MIDlet Life Cycle 44
Creating MIDlet Application. 46
5. LOW-LEVEL AND HIGH-LEVEL IU IN MIDLET APPLICATION 56
Introduction 56
J2ME display and displayable 57
, 6. PERSISTENT STORAGE ON SMALL HAND-HELD DEVICES-RMS 72
Introduction 72
CLASSES REQUIRED 73
METHODS IN THE RECORD STORE CLASS 74
MANAGING RECORD STORES 74
7. THE GENERIC CONNECTION FRAMEWORK 81
Introduction 81
Connection Interfaces 83
Creating Network Connections 84
The Methods in the Connector Class 86
Connection Interfaces 89
8. HTTP/HTTPS CONNECTION IN J2ME. 95
HttpConnection 95
HttpsConnection 96
9. TCP SOCKETS PROGRAMMING IN J2ME 105
Intoduction 105
Wireless Network Programming Using Sockets 107
Program Example 110
10. J2ME OPTIONAL PACKAGES 115
The J2ME Platform 115
Optional Package 116
11. MOBILE VIDEO,MMAPI AND WMA. 121
Mobile Media API (MMAPI) background 122
Using Mobile Media API (MMAPI) 127
Wireless Messaging API in J2ME 134
UNIT TITLE: MOBILE APPLICATIONS
DEVELOPMENT
,BIT4107: MOBILE APPLICATIONS DEVELOPMENT
Credit Hours: 3
Contact Hours: 42
Prerequisite: Data Communication and Networks, Object-Oriented Programming
Purpose
To teach students how to develop mobile applications using the Java 2 Platform
Expected Learning Outcomes
By the end of the course unit a learner shall be able to:
i. use the Objective-C and Java languages (and associated frameworks) for creating mobile
apps on iOS and Android platforms, respectively .
ii. create effective user interfaces for mobile apps .
iii. harness Internet service in support of mobile apps .
iv. store/retrieve data in support of mobile apps.
Course Content:
Introduction to Mobile Application Programming; Mobile Devices, Java 2 Micro Edition,
CLDC, CDC, MIDP, MIDlets; High Level UI, Display, Displayable, Command, Ticker, Screen,
Item, Alert, List, TextBox, Form; Low Level UI, Canvas, Graphics; Persistent Storage, Record
Stores, Record Enumeration, Record Comparator, Record Filter; Networking, Generic
Connection Framework, HTTP Connection, HTTPS Connection, TCP Sockets Server Sockets,
Datagrams; Optimizations, Program Execution, JAR Size Networking, Memory Usage; Optional
Packages, Overview of optional packages, MMAPI, WMA
Teaching / Learning Methodologies: Lectures and tutorials; group discussion; Demonstration;
Individual assignment; Case studies
Instructional Materials and Equipment: Projector; test books; design catalogues; computer
laboratory; design software; simulators
Assessment
Examination - 70%; Continuous Assessment Test (CATS) - 20%; Assignments - 10%; Total -
100%
Core text books
Burnette, Ed, Hello, Android: Introducing Google's Mobile Development Platform
,Recommended Books
Jones, M. and Marsden, Mobile Interaction Design Scaling the Heights of Education
Table of Contents
1. INTRODUCTION TO MOBILE AND WIRELESS COMMUNICATIONS 5
Mobile Communication Technologies 5
2G Technology 6
3G Technology 7
4 G Technology 8
Wireless communications 10
GSM (Global System for Mobile Communications) 11
2. JAVA ADVANCE TOPICS-GRAPHICAL USER INTERFACE. 14
Java object and classes 16
Introduction to Java Graphical User Interface. 18
3. J2ME MOBILE DEVELOPMENT. 30
Understanding J2ME 30
4. INTRODUCTION TO MIDLET APPLICATION. 40
The MIDlet Life Cycle 44
Creating MIDlet Application. 46
5. LOW-LEVEL AND HIGH-LEVEL IU IN MIDLET APPLICATION 56
Introduction 56
J2ME display and displayable 57
, 6. PERSISTENT STORAGE ON SMALL HAND-HELD DEVICES-RMS 72
Introduction 72
CLASSES REQUIRED 73
METHODS IN THE RECORD STORE CLASS 74
MANAGING RECORD STORES 74
7. THE GENERIC CONNECTION FRAMEWORK 81
Introduction 81
Connection Interfaces 83
Creating Network Connections 84
The Methods in the Connector Class 86
Connection Interfaces 89
8. HTTP/HTTPS CONNECTION IN J2ME. 95
HttpConnection 95
HttpsConnection 96
9. TCP SOCKETS PROGRAMMING IN J2ME 105
Intoduction 105
Wireless Network Programming Using Sockets 107
Program Example 110
10. J2ME OPTIONAL PACKAGES 115
The J2ME Platform 115
Optional Package 116
11. MOBILE VIDEO,MMAPI AND WMA. 121
Mobile Media API (MMAPI) background 122
Using Mobile Media API (MMAPI) 127
Wireless Messaging API in J2ME 134