├── PlugLoadDemo ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── PlugLoadDemo.iml ├── ic_launcher-web.png ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── layout │ │ ├── activity_main.xml │ │ └── plug_item.xml │ ├── values-en │ │ └── i18n.xml │ └── values │ │ ├── color.xml │ │ ├── dimens.xml │ │ └── i18n.xml └── src │ └── androidx │ └── plmgrdemo │ ├── App.java │ ├── MainActivity.java │ └── PlugListViewAdapter.java ├── README.md └── android-pluginmgr ├── .classpath ├── .gitignore ├── .project ├── .settings ├── org.eclipse.core.resources.prefs ├── org.eclipse.jdt.core.prefs └── org.eclipse.m2e.core.prefs ├── AndroidManifest.xml ├── TODO ├── gen └── com │ └── androidx │ └── pluginmgr │ └── BuildConfig.java ├── src └── main │ ├── java │ ├── android │ │ └── app │ │ │ ├── ActivityThread.java │ │ │ ├── Instrumentation.java │ │ │ └── LoadedApk.java │ └── androidx │ │ └── pluginmgr │ │ ├── DynamicActivity.java │ │ ├── Globals.java │ │ ├── PluginActivityLifeCycleCallback.java │ │ ├── PluginManager.java │ │ ├── delegate │ │ ├── DelegateActivityThread.java │ │ ├── DelegateInstrumentation.java │ │ └── LayoutInflaterProxyContext.java │ │ ├── environment │ │ ├── CreateActivityData.java │ │ ├── PlugInfo.java │ │ ├── PluginClassLoader.java │ │ ├── PluginContext.java │ │ ├── PluginInstrumentation.java │ │ └── ServiceEnvironment.java │ │ ├── reflect │ │ ├── NULL.java │ │ ├── Reflect.java │ │ └── ReflectException.java │ │ ├── selector │ │ ├── DefaultActivitySelector.java │ │ └── DynamicActivitySelector.java │ │ ├── utils │ │ ├── FileUtil.java │ │ ├── PluginManifestUtil.java │ │ ├── Trace.java │ │ └── XmlManifestReader.java │ │ ├── verify │ │ ├── PluginNotFoundException.java │ │ ├── PluginOverdueVerifier.java │ │ └── SimpleLengthVerifier.java │ │ └── widget │ │ ├── LayoutInflaterWrapper.java │ │ └── ViewStub.java │ └── main.iml └── target └── .gitignore /PlugLoadDemo/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /PlugLoadDemo/.gitignore: -------------------------------------------------------------------------------- 1 | /.settings/ 2 | /bin/ 3 | /gen/ -------------------------------------------------------------------------------- /PlugLoadDemo/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | PlugLoadDemo 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /PlugLoadDemo/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /PlugLoadDemo/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 13 | 16 | 19 | 22 | 25 | 28 | 31 | 34 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 71 | 72 | 77 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | -------------------------------------------------------------------------------- /PlugLoadDemo/PlugLoadDemo.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /PlugLoadDemo/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/houkx/android-pluginmgr/a484c1873164863ae8ee6f0531abd977b8e74594/PlugLoadDemo/ic_launcher-web.png -------------------------------------------------------------------------------- /PlugLoadDemo/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /PlugLoadDemo/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | 16 | android.library.reference.1=../android-pluginmgr 17 | -------------------------------------------------------------------------------- /PlugLoadDemo/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/houkx/android-pluginmgr/a484c1873164863ae8ee6f0531abd977b8e74594/PlugLoadDemo/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /PlugLoadDemo/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/houkx/android-pluginmgr/a484c1873164863ae8ee6f0531abd977b8e74594/PlugLoadDemo/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /PlugLoadDemo/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/houkx/android-pluginmgr/a484c1873164863ae8ee6f0531abd977b8e74594/PlugLoadDemo/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /PlugLoadDemo/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/houkx/android-pluginmgr/a484c1873164863ae8ee6f0531abd977b8e74594/PlugLoadDemo/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /PlugLoadDemo/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 17 | 18 | 24 | 25 |