|
With the breakthroughs in wireless-application technology, mobile phones also has been rapid developmet,more and more users want to be able to access internet,entertainment,works and learning by wireless. In view of this the requirements of users to the software of mobile phone are also getting higher and higher,they are no longer satisfied with using mobile phone to call,but a kind of phone which can be set to multimedia,entertaninmet, work and so on.Thus, as developers , we should design the mobile software with more feature-rich. However, in view of the diversity of mobile platforms, the differences between the platforms are huge,and that brings bottleneck to the promotion of the software .In order to solve this problem,this article made the subject of the related research,exploration,combined with the latest technology to achieve a widget which is a cross-platform widget engine,it uesed to build a platform of widget application development, finally, it became a set of solutions of mobile application development --- xFace.The main topic of this thesis is the design and implementation of widget engine at Android platform.Android is built up by operating system, user interface, middleware and application software. The application of Android is easy to operate by the user interface, and also it is performance cool.All of this has captured most of the smartphone market. Research widget engine in the Android platform has great practical significance. Android applications must be use the JAVA language and application framework based on Android to developt, however, xFace is using C language to develop, so I have to solve a big problem which is the development of mixed-language programs. xFace has the versatility,easy to learn,universal and strong advantages,it greatly reduce the difficulty of the development of mobile Internet applications. And supporting platform provides testing services, will greatly reduce the development costs of the developer.xFace can be used to build a mobile application development platform.Developers can make use of the API which xFace provided,with the web language you can develop a cool ,powerful,cross-platform mobile applications.The main work of this thesis is that achieve the xFace in the Android platform, and research the specifications of the widget technonogy, cross-platform design and Android platform features.According to the features, we design a set of portable solutions to achieve xFace platform adaption layer in order to make the widget application running on Android platform.The adaption layer includes many modules such as I/O opration, drawing, threads, memory, semaphonres, event, phone capacity and so on. In order to make widget engine to run on the Android platform, we must design a reasonable solution to realize the xFace porting layer.
|