Design and Implementation of An Event Based Cross-platform Development Framework for Mobile Applications
- Author
- ShaJie
- Advisor
- TangFeiLong , HuSha
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 50
- Citations
- 0
- Mobile Application Development
- Cross-platform application development
- Web applications
- Adapter design pattern
- Event Monitor Technology
Abstract
With the rise and spread of smart phones, tablet computers, smart mobile devices, mobile operating system platform running on smart mobile computing devices is experiencing rapid development, at the same time, also triggered the blowout of a mobile system applications style development. The current period, the field of smart mobile devices have five major platforms, platform diversity with the rapid development of mobile applications need to constitute a contradiction. Cross-platform applications also exist in the non-mobile platforms, after years of practice, there are a variety of ways to solve the application in a different system platforms transplant needs. These are practice has proved effective solution for mobile application across platforms in mobile systems, the same reference. Through their research, can be summed up and design a solution for mobile application development across mobile platforms. From the following aspects, combined with theoretical methods and practical experience to design a suitable for a cross-smart mobile platform mobile application development framework, to verify its feasibility by implementing this framework, combined with application development examples, illustrates this framework in the real field capacity and application prospects. Analyzed the current period, the PC platform applications across operating systems and platform-independent application methods and approaches, and to discuss the applicability of these methods for cross-platform mobile application from the extract used for reference solution methods and ideas. Second, research software design patterns for software unified adaptation classical methods, selected from the many design patterns for reference solution. These methodologies constitute the theoretical basis for this article to be cross-platform mobile application development solutions and key technologies. Third, the combination of design thinking and design methods summarized above, an adaptation mode and command processing mode core, based on event handling mechanism to achieve cross-platform mobile application development framework. Android platform is a typical scene to focus on the core module of the framework for the Android platform. Characteristics of another platform webOS, adjust the framework design method, the core components for the webOS platform. For different system platforms, application development interface for example, remain the same application programming interface for the application, making realistic based on the application of the framework of cross-platform. To achieve this framework, several typical application interface to take to achieve the typical applications based on the development framework, as well as a framework for design applications validate provide the necessary preparation. For validation of the framework is divided into two steps: the specific target platform independent application development projects, by their own independent application for the purpose of an interface test on the Android platform webOS platform, verify the correctness of the framework, and discuss Web application development model based on the cross-platform framework for developing applications process; based Web application development model developed an application and achieve their release to run on the two platforms, Android and webOS, combined with the development framework requires The discussion summarizes the characteristics and advantages of the cross-platform framework based on the overall application development model. Derived through a series of analysis of research and practice, cross-platform mobile application development framework based on event processing is one of the realistic solution. The process is simple, easy to customize and optimize, easy to understand and learn to master, can help developers to improve development efficiency, and simplify code management and maintenance. The development framework is scalable, can access almost all of the mobile platforms, implement relatively simple, low maintenance costs, and almost free from the constraints of the mobile device hardware is at this stage in the field of mobile application development to achieve cross platform for the development of optimal solutions. With the continuous development of the mobile space, mobile development technology continues to improve, we will see more and better cross-platform development strategy, the development of the application of mobile work easier.
Table of contents
Abstract 5-7
ABSTRACT 7-12
1 Introduction 12-17
1.1 The current era major mobile platform overview 12 - 13
1.2 mobile application development into the accelerated phase 13-14
1.3 cross-platform development framework significance 14-15
1.4 This paper discusses the process and structure 15-17
framework of several cross-platform implementations 17-27
2.1 browser-based mobile sites and mobile network applications 17-21
2.1.1 Web application model based on B / S structure 17-18
2.1.2 Ajax Web application model improvements 18-20
2.1.3 HTML 5 enhancements to the mobile web 20-21
2.2 based virtual machine running the application 21-24
2.2.1 Java Virtual Machine and J2ME 21 - 23
2.2.2 Flash-based AIR virtual platform 23-24
2.3-based cross-platform middleware services 24-27
3 related concepts and key technologies 27-40
3.1 related design patterns to 27-37 the 3.1.1 adapter mode
nbsp 27-30
3.1.2 Command Mode ; 30-34
3.1.3 Observer pattern 34-37
3.2 the event listeners mechanisms 37-40
3.2.1 events and event handling model 37-38
3.2.2 event listener mode 38-39
3.2.3 adapter class 39-40
event-based inter- platform mobile application framework design and implementation of 40-62
4.1 the status quo Overview 40-42
4.2 overall design 42-45
4.2.1 framework overview of features are found; 42-44
4.2.2 Module collaborative process 44-45
4.3 detailed design and module 45-52
4.3.1 Design and Implementation of the adaptation layer module 45-47
4.3.2 SDK layer module design and implementation 47-49
the 4.3.3 module communication process design and implementation of 49-52
4.4 framework-based application interface design 52-57
4.4.1 application interface design 52-53
4.4.2 adaptation layer interface methods to achieve 53-55
4.4.3 SDK layer interface request processing 55-56
4.4.4 interface calls instances 56 - 57
4.5 framework extension and cross-platform application configuration 57-60 based on the framework of the webOS platform
4.5.1 57-59
4.5.2 cross-platform mobile application configuration 59-60
4.6 framework for the design and implementation process evaluation 60-62
5 based on cross-platform framework for developing mobile applications 62-101 <br / > 5.1 Typical applications interface to achieve 62-70
5.1.1 accelerometer (Accelerometer) 62-64
the 5.1.2 media Filming (Capture) of 64-66
5.1.3 geographically on (the Geolocation-) 66-68
5.1.4 Notification System (Notification) 68-69
5.1 a .5 device (Device Info) 69-70
5.2-based application framework for the Android platform the 70-80 5.2.1 up development environment
70-72
5.2.2 Typical Application Design and Implementation 72-77
5.2.3 Typical applications compiled publishing process 77-80
5.3 based framework to achieve applications for the webOS platform 80-86
5.3.1 up development environment 80
5.3.2 Typical applications for the design and realization of 80-85
5.3.3 Typical applications compiled publishing process the 85-86
5.4-based application framework for multi-platform 86-99
5.4.1 application development model 86-89
5.4.2 Typical applications designed 89-92
5.4.3 Typical applications achieve 92-96
5.4.4 program operating results 96-99
5.5 Framework application process evaluation 99-101
5.5.1 oriented, single-platform application development process evaluation 99 <br / > 5.5.2-oriented multi-platform application development process evaluation 99-101
6 Conclusion 101-103
6.1 Summary of research 101 <br / > 6.2 for the evaluation of the framework of the implementation process 101
6.3 evaluation framework uses 101-102
6.4 unresolved issues and suggestions for improvement 102-103
Reference 103-105
thank the 105-107
pursue a degree during the academic catalog 107
Related dissertations
- College Students' information management and analysis system
- Web Based on ArcGIS Geographic Information Service System Research and Implementation
- The Design and Implementation of Assignment Labor Management System for QingZhou
- Study and Pratice of Requirements Engineering Methods Towards Web Applications
- Researching the Maintenance Phase Reliability Based Weh Logs Analysis
- Designing and Implementation of Electronic Deductions System
- Sichuan Electric Power Construction Company Design and Achivement of Human Resourse Managment System
- AJAX-based Design and Realization of Enterprise Personnel Management System
- Design and Implementation of the Comprehensive Information System for Enterprise Based on ASP.NET
- The Research and Implementation of Mobile Internet Application Based on Android
- Design and Implementation of Mobile Learning System Based on Android Platform
- Research on Testing Technolgy of Web Applications
- Verification and Testing Technology for Web Applications
- Modeling and Verifying Web Applications
- Model-based Approaches to Generating Test Cases for Web Applications
- Modeling Web Applications and Generating Test Cases Based on User-interface Specification
- Server-side software performance analysis and diagnosis method
- Modeling Web Applications’ Interactions and Generating Their Tests
- Design and Application of Struts Framework Based on MVC Design Pattern
- Web Application Firewall and Its Application in Multimedia Resource Management System