Android Programming
OVERVIEW:
The course is for designing and building mobile applications using Android™ open-source platform. It
will be a combination of lecture and laboratory course which will help the student understand the
philosophy of developing for Android™ through its main application development building blocks and
their interaction with one another.
This course encourages students to learn by building increasingly more sophisticated and meaningful
mobile applications for Android™.
By the end of the course, each participant will build their own complete Android application
incorporating most of the key aspects of the platform. Typically, we build a Twitter app for Android, but
there are other choices depending on participants' interests.
Professor: Jerome R. Locson
Office: CICCT, 3rd floor, Building 1, USJR, Basak Campus, Cebu City
Office Hours: 9AM-5PM
Consultation Hours: MWF - 1PM-3PM; TTH - 10AM-12PM
Email:
[email protected]Phone: (32) 678-0987 local 12345
Course Website: http://goo.gl/XfzNA
COURSE OUTLINE
Chapter 1: JAVA Concepts
OOPs Concepts
Inheritance in detail
Exception handling
Packages & interfaces
JVM & .jar file extension
Multi threading (Thread class & Runnable Interface)
Chapter 2: SQL
DML & DDL Queries in brief
Chapter 3: Introduction to Android
What is Android?
Setting up development environment
Dalvik Virtual Machine & .apk file extension
Fundamentals:
o Basic Building blocks - Activities,Services,Broadcast Receivers & Content providers
o UI Components - Views & notifications
o Components for communication -Intents & Intent Filters o Android API levels
(versions & version names)
Chapter 4: Application Structure (in detail)
AndroidManifest.xml
uses-permission & uses-sdk
Resources & R.java o Assets
Layouts & Drawable Resources
Activities and Activity lifecycle
First sample Application
Chapter 5: Emulator-Android Virtual Device
Launching emulator
Editing emulator settings
Emulator shortcuts
Logcat usage
Introduction to DDMS
Second App:- (switching between activities) - Develop an app for demonstrating the
communication between Intents
Chapter 6: Basic UI design
Form widgets
Text Fields
Layouts
[dip, dp, sip, sp] versus px
Examples
Chapter 7: Preferences
SharedPreferences
Preferences from xml
Examples
Chapter 8: Menu
Option menu
Context menu
Sub menu
menu from xml
menu via code
Examples
Chapter 9: Intents (in detail)
Explicit Intents
Implicit intents
Examples
Chapter 10: UI design
Time and Date
Images and media
Composite
AlertDialogs & Toast
Popup
Examples
Chapter 11: Tabs and Tab Activity
Examples
Chapter 12: Styles & Themes
styles.xml
drawable resources for shapes, gradients (selectors)
style attribute in layout file
Applying themes via code and manifest file
Examples
Chapter 13: Content Providers
SQLite Programming
SQLiteOpenHelper
SQLiteDatabse
Cursor
Reading and updating Contacts
Reading bookmarks
Example : Develop an App to demonstrate database usage. CRUD operations must be
implemented. Final details should be viewed in GridView as well as in ListView.
Chapter 14: Android Debug Bridge (adb) tool
Chapter 15: Linkify
Web URLs, Email address, text, map address, phone numbers
MatchFilter & TransformFilter
Examples
Chapter 16: Adapters and Widgtes
Adapters
o ArrayAdapters
o BaseAdapters
o ListView and ListActivity
o Custom listview
o GridView using adapters
o Gallery using adapters
o Examples
Chapter 17: Notifications
Broadcast Receivers
Services and notifications
Toast
Alarms
Examples
Chapter 18: Custom components
Custom Tabs
Custom animated popup panels
Other components
Examples
Chapter 19: Threads
Threads running on UI thread (runOnUiThread)
Worker thread
Handlers & Runnable
AsynTask (in detail)
Examples
Chapter 20: Advanced
Live Folders
Using sdcards
XML Parsing
JSON Parsing
Maps, GPS, Location based Services
Accessing Phone services (Call, SMS, MMS)
Network connectivity services
Sensors