毕业设计(论文)
题 目 基于Android的无线手机助手
姓 名 沈晓晨
学 号 30902155
专业班级 信息0901
所在 信电分院
指导教师(职称) 鲍福良(讲师)
二○一三 年 五 月 九 日
基于Android的无线手机助手
【摘要】 本课题先讨论了当前手机管理类应用程序的背景、现状和发展趋势,并分析了手机管理类应用程序现有的功能。本课题根据用户的需求,基于Android技术,利用ftp远程共享原理来实现无线手机助手的设计。本课题研究的无线手机助手采用的是基于C/S架构的MVC系统,基于ftp远程文件共享的Android技术,和Eclipse应用开发工具,利用网络代理作为中转服务器,利用Android 2.2作为系统平台进行开发,对无线手机助手业务进行分析、设计,实现了登陆验证、浏览文件、文件上传、下载、删除等功能,以期达到快捷管理手机文件的目的。
【关键词】 手机管理,手机助手,文件管理,Android,Ftp
Wireless Mobile Assistant Based On Android
【Abstract】 This subject discussed the background, status and trends of phone management applications on the first.And analyzes the existing functionality of the phone management applications.This subject based on the needs of users and based on Android technology to use the the ftp remote shared principle to achieve the design of wireless handsets assistant.Wireless mobile assistant for the research is based on C/S structure of the MVC system, ftp remote file sharing, based on Android technology and the Eclipse application development tools, using the network proxy as a relay server, using Android 2.2 as a system platform developed.Through analysising and designing the wireless mobile assistant,this subject achieves login authentication, browse files, file upload, download, delete and other functions in order to achieve the purpose of the comfortably manage phone files.
【Key Words】 Mobile Management,Mobile Assistant,File Management,Android,Ftp
目录
第1章 绪论 1
1.1 应用的开发背景 1
1.2 本课题研究内容 1
第2章 相关理论及关键技术 2
2.1 Android特性简介 2
2.2 Android系统架构 3
2.2.1 关键应用程序 3
2.2.2 应用程序框架 3
2.2.3 C/C++函数库 4
2.2.4 Java程序运行环境 4
2.2.5 Linux内核 4
2.3 Android应用程序框架 4
2.3.1 Activity 5
2.3.2 Intent Receiver 5
2.3.3 Service 5
2.3.4 Content Provider 5
第3章 需求分析 6
3.1 概述 6
3.2 功能需求 6
3.2.1 设置界面 6
3.2.2 控制界面 7
3.2.3 说明界面 7
3.3 性能需求 7
3.3.1 手机系统要求 7
3.3.2 灵活性 7
3.3.3 时间特性的要求 8
3.3.4 软件特性要求 8
第4章 总体设计 9
4.1 系统总体结构 9
4.2 服务器系统解决方案 9
第5章 详细设计 11
5.1 代理协议拟定 11
5.1.1 DATA SOCKETS 11
5.1.2 DISAMBIGUATING DEVICES AND SESSIONS 11
5.1.3 AUTHENTICATION 12
5.1.4 API 12
5.2 关键代码实现 15
5.2.1 代理连接 15
5.2.2 会话线程 17
5.2.3 TCP连接监听 18
第6章 系统实现 20
6.1 Server端模块的设计 20
6.2 Android设备端模块的设计 21
第7章 系统测试 24
7.1 Android手机系统测试之打断事件 24
7.2 测试中发现的问题及修复 25
7.3 测试结果 25
7.3.1 开启服务 25
7.3.2 客户端访问ftp地址 25
7.3.3 登陆验证 26
结论 27
参考文献 28
附录 29
附录A 文件传输协议简介 29
附录B 应用程序界面代码 30
致谢 41
图目录
图2.2 Android的架构图 3
图3.2 设置界面用例图 7
图4.1 系统总体结构图 9
图4.2 服务器系统原理图 10
图5.2 程序运行效果图 19
图7.3.1 开启服务logcat图 25
图7.3.2 客户端访问ftp地址logcat图 25
图7.3.3 登陆验证logcat图 26
第1章 绪论
1.1 应用的开发背景
2007年11月由Googl