Android平台App开发辅助工具的研究与实现
发布时间:2018-09-14 19:52
【摘要】:近几年移动互联网增长迅速,变化日新月异,Android目前已成为市场占有率最高的移动操作系统,由此吸引了众多的软件开发者从事Android应用开发。在App开发过程中,开发者并非很容易能获取手机的一些重要数据,为此,本文采用B/S(浏览器/服务器)结构实现一种开发辅助工具,使得开发者可以通过浏览器获取Android设备数据,从而提高开发效率。首先,本文采用WebSocket协议实现Android服务器和Web端之间的全双工通信,然后Web端利用远程过程调用机制访问Android端的服务,在此基础之上,实现了以下辅助工具的功能。一、文件管理工具。协助开发者在未获取root权限的手机上管理其所开发App的私有文件,提供了文件传输和文件操作的功能。采用虚拟路径替代真实路径的方法,消除不同设备文件存储路径的差异性,从而统一前端管理界面。二、手机状态管理工具。可以辅助开发者实现剪贴板内容同步和手机通讯状态的管理。按照先进先出的规则管理剪贴板历史数据,从而实现手机和开发工具之间快速互传文本内容。手机通讯状态服务可以帮助开发者实时获取手机通讯状态数据,并在前端界面展现出来。使用开发辅助工具,开发者能管理App私有文件、实时获取手机状态数据,为提高Android应用的开发效率提供有效的帮助。
[Abstract]:With the rapid growth of mobile Internet in recent years, Android has become the mobile operating system with the highest market share, which attracts many software developers to develop Android applications. In the process of App development, it is not easy for developers to get some important data of mobile phones. Therefore, this paper uses the B / S (browser / Server) structure to implement a development aid tool. Allows developers to access Android device data through the browser, thus improving development efficiency. Firstly, this paper uses WebSocket protocol to realize the full-duplex communication between the Android server and the Web terminal, and then the Web terminal uses the remote procedure call mechanism to access the services of the Android terminal. On this basis, the following auxiliary tools are implemented. First, document management tools. Assist developers to manage App private files on phones that do not have access to root, providing file transfer and file manipulation. The virtual path is used to replace the real path to eliminate the differences of the storage paths of different device files, thus unifying the front-end management interface. Second, mobile phone status management tools. Can assist developers to achieve clipboard content synchronization and mobile phone communication status management. The clipboard history data is managed according to the first-in first out rule, so that the text content can be quickly transmitted between the mobile phone and the development tools. Mobile communication status service can help developers to get real-time mobile communication status data and display it in front-end interface. With the aid of development tools, developers can manage App private files and obtain mobile phone status data in real time, which can help to improve the efficiency of Android application development.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP311.56;TP316
本文编号:2243709
[Abstract]:With the rapid growth of mobile Internet in recent years, Android has become the mobile operating system with the highest market share, which attracts many software developers to develop Android applications. In the process of App development, it is not easy for developers to get some important data of mobile phones. Therefore, this paper uses the B / S (browser / Server) structure to implement a development aid tool. Allows developers to access Android device data through the browser, thus improving development efficiency. Firstly, this paper uses WebSocket protocol to realize the full-duplex communication between the Android server and the Web terminal, and then the Web terminal uses the remote procedure call mechanism to access the services of the Android terminal. On this basis, the following auxiliary tools are implemented. First, document management tools. Assist developers to manage App private files on phones that do not have access to root, providing file transfer and file manipulation. The virtual path is used to replace the real path to eliminate the differences of the storage paths of different device files, thus unifying the front-end management interface. Second, mobile phone status management tools. Can assist developers to achieve clipboard content synchronization and mobile phone communication status management. The clipboard history data is managed according to the first-in first out rule, so that the text content can be quickly transmitted between the mobile phone and the development tools. Mobile communication status service can help developers to get real-time mobile communication status data and display it in front-end interface. With the aid of development tools, developers can manage App private files and obtain mobile phone status data in real time, which can help to improve the efficiency of Android application development.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP311.56;TP316
【参考文献】
相关期刊论文 前6条
1 吴川;;关于移动互联网下的手机应用产品服务设计分析[J];计算机光盘软件与应用;2015年02期
2 魏兵;;2014年中国软件开发者调查报告[J];程序员;2014年07期
3 王贯飞;;动态web应用程序开发框架AngularJS的特性分析[J];电子技术与软件工程;2014年06期
4 格林;夏德瑞;大漠穷秋;;用AngularJS开发下一代Web应用[J];中国科技信息;2013年23期
5 王茜;;Android嵌入式系统架构及内核浅析[J];电脑开发与应用;2011年04期
6 李德贤;陆歌皓;姚绍文;;JSON-RPC协议分析、扩展及其应用[J];中国科技论文在线;2008年02期
相关硕士学位论文 前3条
1 张瑾;基于Android的文件浏览器设计与实现[D];山东大学;2013年
2 吕晓庆;Android软件动态行为监测系统的设计和实现[D];北京邮电大学;2013年
3 苟元胜;面向智能手机的救援位置追踪云服务研究与实现[D];电子科技大学;2013年
,本文编号:2243709
本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/2243709.html