首页 | 官方网站   微博 | 高级检索  
     

与服务器通信的Android移动应用程序架构探究
引用本文:常健.与服务器通信的Android移动应用程序架构探究[J].电脑编程技巧与维护,2014(10):71-73.
作者姓名:常健
作者单位:同济大学软件学院2011级5班,上海201804
摘    要:探讨了一种Android开发组织方式,即将所有任务添加到后台线程池中,再调用其方法开辟新的线程加以执行,并进行数据传输

关 键 词:Android系统  异步  多线程  MVC架构

How to Implement an APP on Android which Communicates with the Server Asynchronously
CHANG Jian.How to Implement an APP on Android which Communicates with the Server Asynchronously[J].Computer Programming Skills & Maintenance,2014(10):71-73.
Authors:CHANG Jian
Affiliation:CHANG Jian (Class Five Grade 2011,School of Software Engneering, Tongji University, Shanghai 201804, China)
Abstract:This study investigates an asynchronous architecture of communicating operation for an application running on Android.In this architecture, each communicating Operation is executed by a single thread in a Multi-Thread pool.All those communicating operations can be executed concurrently.And those operations will not block the UI main thread So this is a nnn-blocking architecture. On the other hand, the UI Layer of the application can react smoothly the operations from the users. All those logics of the program are virtualized into tasks to be executed. The UI code and the logic code could be writ- ten separately. So this is a MVC architecture.
Keywords:Android system  Asynchronous  Multi-thread  MVC
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号