Font Size: a A A

Research And Implementation Of Plugin Mechnism Of Android App Function

Posted on:2018-07-24Degree:MasterType:Thesis
Country:ChinaCandidate:J F XiongFull Text:PDF
GTID:2348330533966282Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
Smart phones are very common in social.Mobile applications is various.To get the user's favor in so many mobile applications ,the user experience of application must be bound to be excellent in addition to the function. In accordance with the traditional development methods,applications need to be updated frequently and each time users need to re-download the entire installation package and install.Users may feel costly, trouble and then refuse to update the application.This phenomenon also has a serious impact on the rapid iteration of mobile applications and bug fixes.Now there are many plug-in frameworks that are already open source.Some of them is for new features, the others are for bug fixes.But no one integrates both of them.Also none of these frameworks takes some security mechanism to protect the application security.For the above reasons,this paper presents an Android App plug-in mechanism. This plug-in mechanism is divided into modular updates and hot fixes according to the plug-in granularity,The modular update is for the addition of new features,and the hot fixes is for the method level fixed in the class fi.le.In this mechanism, users do not need to manually install the new module any more.App can be updated through dynamic loading.This approach not only greatly improve the user's experience, but also offers great convenience for developers deploying applications, updating applications, fixing bugs. The mechanism of this paper has the following characteristics: First, users can be unconscious to download the update module, and then update the new modules and fix class file bugs; Second, each plug-in module is independent.Plug-ins do not affect each other and can install or uninstall; Third, Combining the hot fixes and module update, it can achieve updating new features and hot patch function;Fourth, with a security mechanism to maintain the security of the application.This paper analyzes Android system framework and source code to get plug-in location and the train of thought of the major components for plugin.And it combins dynamic loading technology with related mechanisms to achieve Android App plug-in. Finally, after testing theDemo, it proves that the plug-in mechanism can achieve modular dynamic loading and fix bugs, and the module can be installed and uninstalled.Comparing with the traditional development methods,App using plug-in method to develop regardless of the development efficiency or the user's experience have a greater improvement.
Keywords/Search Tags:Android App, plugin mechanism, granularity, security mechanism, modular update, hot fixed
PDF Full Text Request
Related items