代 号
分类号
10701
TP311
U D C
学 号
1101120468
密 级
编 号
公开
题(中、英文)目
基于安卓操作系统的应用软件开发
Application Software Development Based on the
Android Operating System
作 者 姓 名 饶润润
校内指导教师姓名职称
李兵兵教授
工 程 领 域
电子与通信工程
企业指导教师姓名职称
朱延军 高工
论 文 类 型
开发研究
提交论文日期 2013 年 12 月
˝
•
‰
˚
˝
•
‰
˚
西安电子科技大学
学位论文独创性(或创新性)声明
本人声明所呈交的论文是我个人在导师指导下进行的研究工作及取得的研究
成果。尽我所知,除了文中特别加以标注和致谢中所罗列的内容以外,论文中不
包含其他人已经发表或撰写过的研究成果;也不包含为获得西安电子科技大学或
其它教育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做
的任何贡献均已在论文中做了明确的说明并表示了谢意。
申请学位论文与资料若有不实之处,本人承担一切相关责任。
本人签名: 日期:
西安电子科技大学
关于论文使用授权的说明
本人完全了解西安电子科技大学有关保留和使用学位论文的规定,即:研究
生在校攻读学位期间论文工作的知识产权单位属西安电子科技大学。本人保证毕
业离校后,发表论文或使用论文工作成果时署名单位仍然为西安电子科技大学。
学校有权保留送交论文的复印件,允许查阅和借阅论文;学校可以公布论文的全
部或部分内容,可以允许采用影印、缩印或其它复制手段保存论文。(保密的论
文在解密后遵守此规定)
本学位论文属于保密在 年解密后适用本授权书。
本人签名: 日期:
导师签名: 日期:
˝
•
‰
˚
˝
•
‰
˚
摘 要
近年来,个人电脑(PC)和智能手机的使用已经十分广泛。由于 android 智能操
作系统的高度开放性,使得越来越多的 android 应用软件应运而生。PC 和 Android
手机的大范围普及促使人们进一步考虑如何使用手机实现随时随地利用 PC 进行
娱乐和工作。因此,研究 android 手机和个人 PC 之间的通信,开发 android 手机与
PC 交互应用软件势必会给我们的生活和工作带来更多的便利。
本文首先对 android 操作系统结构、android 开发环境和 socket 通信及多线程技
术做了深入研究,然后在此理论基础上采用 java 语言实现了三种 android 应用软件,
它们分别是:
结合 Apache 公司发布的 POI API 开发的手机 PPT 播放软件,该软件的特色功
能是可以通过手机控制电脑播放手机中存在的 PPT,并具有画板功能;
结合 tomcat 服务器开发的手机分享 PC 视频软件,该软件支持无延时通过手
机观看 PC 中的多格式视频文件;
结合 FreeRDP Android 客户端核心源码开发的手机远程控制 PC 软件,对客户
端源码进行了界面优化及输入键盘的改进,使用户远程操作 PC 时可实现的功能更
加完善。
最后,在 Android 智能手机上对本文中的所有软件进行了测试,测试结果表明
所有软件的功能均能正常实现,具有实际可操作性和较大的实用价值。
关键字:Android Socket 通信 Tomcat RDP 协议
˝
•
‰
˚
˝
•
‰
˚
Abstract
In recent years, personal computer(PC) and smart phone have been widely used.
Due to the high openness of the Android smart phone operating system, more and more
android applications emerged. Owning to the popularity of PC and Android phones, the
problem that how to use phone to achieve entertainment and work by PC whenever and
wherever is researched. Therefore, the research of communication between android
phone and PC, and the development of the applications which used in the interaction of
PC and android phone will provide more convenience for our life and work.
This thesis first make an in-depth study for the structure of android operating
system, the environment of the development and multi-threading. On that basis, three
android applications are implemented with Java:
Mobile PPT Player software is developed by Apache POI API, the features of this
app is that the PPT file which only exsit in the mobile can be played on the PC but
controlled by the mobile, it also shows a function of drawing board;
Mobile Sharing PC’s Video software base on Tomcat server supports mobile
watching various forms of videos which exist in PC without delay.
Mobile Romote PC Controller software is developed with the core sources of
FreeRDP Android-client. The user interface is optimized and input keyboard is
improved to realize more feature-complete remote operations for users.
Finally, all the functions of softwares discussed above are tested on android smart
phone,the testing results demonstrate that the softwares can run normally and stably
and prove that the work in thesis has operability and utility value.
Keywords: Android Socket Communications Tomcat RDP Protocol
˝
•
‰
˚
˝
•
‰
˚