Android智能列车时刻表的设计与实现
时间:2018-05-30 14:37 来源:毕业论文 作者:毕业论文 点击:次
摘要本文主要设计并实现了一个基于Android手机平台的智能列车时刻表软件,此应用主要是基于离线数据库实现的列车时刻表查询,其主要功能模块包括:站站查询、站点查询、车次查询、收藏夹、数据库更新、系统参数设置(排版风格、语言、背景图片)、中转查询。该软件通过集成ADT插件的Eclipse开发平台开发,通过ViewPager控件完成主界面的完美切换,通过重写SimpleCursorAdapter来实现站点及车次的联想输入功能,Intent及附加的Bundle在Activity之间完成跳转及参数传递,使用嵌入式数据库SQLite来完成本地数据查询,使用Stack存储key值来实现站点与车次查询的无限跳转,通过Collections工具类来完成查询结果的排序和筛选功能,通过优化SQL语句来缩短中转查询时间。23507 关键词 Android 列车时刻表 站站查询 中转查询 无限次跳转 排序筛选 毕业设计说明书(毕业论文)外文摘要 Title Design and Implementation an Intelligent Train Schedule Software based on Android Platform Abstract This pager designs and realizes an intelligent train schedule software based on Android platform. This application is designed for the query of the train schedule based mainly on an offline database. Its main function modules include: station-to-station query,station query, and train number query, favorites, database updates, system settings (style, language, background), transfer query. The software is developed by development platform Eclipse with integrating ADT plug-in. Implement switching the main interface by using the view ViewPager. The association input function in station query and train number query is implemented by rewriting the method SimpleCursorAdapter. Jumping and parameter passing from one to another are completed by Intent and additional Bundle. The embedded SQLite database is used for query of the local data. The unlimited switch between station query and train number query is achieved under the help of the key values stored in the Stack. The sorting and filtering of the query results are completed by Collections tool class, and the SQL statements is optimized to shorten the time consumed by transfer query. Keywords Android Intelligent Train Schedule Station-to-Station Query Transfer Query Unlimited Jump Sort and Filter 目 录 1 引言 1 1.1 课题背景及意义 1 1.2 国内外研究现状 2 2 相关技术 3 2.1 Android平台 3 2.2 JAVA语言 3 2.3 SQLite数据库 3 2.4 Eclipse概述 4 3 需求分析 5 3.1 功能需求 5 3.2 操作需求 6 3.3 系统用例图 6 4 系统设计 7 4.1 概要设计 7 4.2 系统数据流图 8 4.3 系统功能模块图 10 4.4 系统流程图 11 5 数据库设计 13 5.1 数据库概念结构设计 13 5.2 数据库逻辑结构设计 15 6 详细设计 18 6.1 站站查询模块 18 6.2 站点查询模块 19 6.3 车次查询模块 20 6.4 中转查询模块 21 6.5 收藏夹功能模块 21 (责任编辑:qin) |