Chapter 8 The Simplest Plug-in Solution
This chapter introduces the simplest plug-in solution that are applicable to the four major components. This solution involves the following aspects: 1) Combine the dex of all plugins to solve the problem of loading plug-in's class. 2) Declare the four major components of the plugin in the host app’s AndroidManifest file. It’s a nuisance for hundreds of activities in the plug-in. 3) Merge all the resources in the plug-in into the host's resources in one time. Of course, this may result in conflict of resource ids. 8.1 Declaring Components in a Plug-in in Android Manifest As we mentioned