Font Size: a A A

Static Analysis And Model Generation Of Android Application Source Code Based On IFML

Posted on:2018-11-03Degree:MasterType:Thesis
Country:ChinaCandidate:J SongFull Text:PDF
GTID:2428330512498261Subject:Computer technology
Abstract/Summary:PDF Full Text Request
We have come to the Mobile Internet Era.Mobile applications are explosive growth.There is a growing demand for various types of mobile applications.Mobile applications equipped with mobile operating system platforms and terminal hardware devices are also emerging.Developers must be able to provide mobile applications that work on all mobile platforms,at least on the most popular ones.The market share of Android and iOS to provide the corresponding version of the application,the version with the mobile platform and the development of language and other changes continue to evolve.At present,the development approach adopted by the industry is either a sin-gle application of the mobile platform version of the original application,or the useage of cross-platform tools to develop poor performance and mobile features limited We-b applications or hybrid applications.How to better support efficient multi-platform,multi-version of the mobile development is a matter of concern.The traditional devel-opment mode of this support is not enough,has been unable to meet such development needs.Model-driven development(referred to as MDD)has the advantages of fast de-velopment,low error rate and high product quality.The useage of MDD method can significantly simplify the development on multiple platforms,reducing costs and de-velopment time.The model is an implementation of the abstraction that can effectively block multi-platform,multi-version platform and version differences.MDD can effec-tively support the evolution and migration of heterogeneous platforms or versions by dividing them into CIM,PIM,PSM.Reduce the complexity of application develop-ment,developers use the model at a higher level on the application of abstract repre-sentation,shielding the complexity of the lower level of business logic.This paper presents a method for static analysis of Android Application source code and model generation,which includes the following aspects:1.Based on the features of Android event-driven and UI-driven,this paper starts from the source architecture and development framework of Android,and ana-lyzes the Android source code with Eclipse JDT to effectively strip the business logic and platform structure information of Android platform.Interface,the wid-gets in each interface,the events bound by the widget,analyze the event handling callback method of the monitored widget,and determine whether the interface jumps and the target interface in its event handler logic.2.In this paper,we use interaction flow modeling language(referred to as IFML)to build the model.But the description ability of IFML is limited,we have expanded IFML.Refer to IFML expansion mechanism and mobile application for mobile extension IFML,we expand Android-extension IFML according to Android features which can describe Android platform architecture information.3.At the end of the paper,seven open source Android applications are carried out to evaluate the ability to extract information from analytic methods.The short-comings of analytical methods were analyzed with examples.At the same time,the model of Android-extension IFML was constructed for Wikipedia applica-tion.Parsing the open source mobile application for RememberMe and gener-ating the model file according to the rule,opening the model in the Android-extension IFML tool.
Keywords/Search Tags:Android, MDE, IFML, Static Analysis, Java
PDF Full Text Request
Related items