【正文】
I 基于 Android 的移動選課系統(tǒng) 的設計 摘 要 隨著互聯(lián)網(wǎng)的不斷發(fā)展以及高等教育與教學的改革,高校的選課方式已經(jīng)從傳統(tǒng)的紙質方式轉向了網(wǎng)上選課方式。近年來,隨著智能手機等移動設備的不斷普及,移動選課將是 繼 互聯(lián)網(wǎng)選課 之后 的又一種選課模式。網(wǎng)上選課系統(tǒng)的軟件較多,但具體的移動選課軟件相對較少。針對這個情況,本文討論在廣泛應用的Android 平臺上設計與開發(fā)移動選課系統(tǒng)。 本設計 作為 現(xiàn)有基于 Web 的網(wǎng)上選課系統(tǒng)的輔助手段和重要補充 ,旨在為廣大學生提供隨時隨地方便快捷的選課方式。通過初步對 Android 軟件開發(fā) 技術 和Java Servlet 編程技術的學習以及對現(xiàn)有選課系統(tǒng)的分析和研究,結合移動互聯(lián)網(wǎng)的特點,總結出移動選課系統(tǒng)所應具備的主要功能。 運用 信息系統(tǒng)開發(fā)方法等技術手段對該系統(tǒng)進行了整體的規(guī)劃 、 設計與實現(xiàn)。 該系統(tǒng)具有用戶登錄、選課、退選、查看選課信息等基本的功能。該系統(tǒng)分為 系統(tǒng)登錄、選課信息、選課、退選、已選課查詢等模塊。 在移動選課系統(tǒng)的設計與實現(xiàn)過程中,采用了 C/S 架構、Http 通信協(xié)議;服務器通過 JDBC 與 數(shù)據(jù)庫進行交互,手機通過流的形式接收從Web 服務器傳來的數(shù)據(jù)。 關鍵詞: 移動選課 , Android, Java Servlet, C/S 架構 II Design Of Mobile Elective Course System Based On Android ABSTRACT With the development of the inter and the college education’s revolution, universities’ course electing form has changed to inter course electing form from traditional one which uses paper materials. Nowadays, PDA phone and other mobile instruments have explored a very broad way in this society. Mobil elective course system is one another system which uses the inter to choose course. There are a few of soft wares appearing on the inter about course electing. However, there are little soft wares have the functions about Mobil elective course system. Under this situation, this system wrote this essay mainly talking about how to broadly use the Android system to design and explore Mobil elective course system. This essay as the supplementary ways based on some existing inter course electing systems is mainly to provide convenient and efficient ways for students’ course electing needs. After the basic study about the Android system exploration and the Java Servlet programming technology, this system bined the Mobil inter’s characters to get a summary which is about Mobil elective course system main functions. Through some system exploitation this system made a project about it. This system has some parts such as: system register, course elective information, course electing, course canceling, checking about the chosen courses, etc. During this designing process, this system used C/S and Http. The server uses JDBC date resource to municate. The phone use flow as the way to receive date from Web server. KEY WORDS: Mobile Elective Course, Android, Java Servlet, C/S III 目 錄 前 言 .................................................................................................. 1 第 1 章 緒論 ........................................................................................ 2 選課系統(tǒng)的現(xiàn)狀 ...................................................................... 2 Android 系統(tǒng)特點 ................................................................... 2 基于 Android 的移動選課系統(tǒng)概述 ...................................... 3 基于 Android 的移動選課系統(tǒng)描述 ........................... 3 基于 Android 的移動選課系統(tǒng)意義 ........................... 3 第 2 章 環(huán)境配置 ................................................................................ 4 軟件環(huán)境 ................................................................................ 4 Android 開發(fā)環(huán)境的搭建 ............................................. 4 SQL Server 數(shù)據(jù)庫配置 ................................................ 6 硬件環(huán)境 ................................................................................ 7 第 3 章 系統(tǒng)分析 ................................................................................ 9 系統(tǒng)設計的原則和目的 .......................................................... 9 需求分析 ................................................................................ 9 系統(tǒng)模塊 ...................................................................... 9 客戶端與服務器的連接方式 ......................................10 系統(tǒng)結構 .....................................................................10 第 4 章 系統(tǒng)設計 ............................................................................... 11 該系統(tǒng)的整體結構 ................................................................ 11 數(shù)據(jù)庫設計 ............................................................................ 11 數(shù)據(jù)庫結構設計 .......................................................... 11 數(shù)據(jù)庫各表的設計 ......................................................12 服務器設計 ............................................................................14 Java Servlet 程序 ..........................................................14 與數(shù)據(jù)庫交互的程序 ...................................................15 Android 客戶端設計 ..............................................................15 Android 客戶端的頁面設計 ........................................15 IV Android 客戶端各頁面之間的關系 ............................16 第 5 章 系統(tǒng)的實現(xiàn) ...........................................................................17 客戶端的實現(xiàn) ........................................................................17 系統(tǒng)主界面的實現(xiàn) ......................................................17 系統(tǒng)登錄模塊的實現(xiàn) ..................................................17 已選課程查詢模塊的實現(xiàn) ..........................................20 退選模塊的實現(xiàn) ..........................................................21 可選課程信息模塊的實現(xiàn) ..........................................21 選課模塊的實現(xiàn) ..........................................................22 服務器端的實現(xiàn) ....................................................................23 客戶端與服務器端的通訊 ....................................................25 第 6 章 測試 .......................................................................................27 測試的作用和意義 ................................................................27 測試方法 ...............................................................................27 測試內(nèi)容 ...............................................................................28 測試結果 ...............................................................................29 測試結論 ...............................................................................29 結 論 .............