Android-开源工具库-第11弹-插件化

插件化

更多见:Android 插件化作用、概念以及不错的资料(包括开源项目)和解决方案

  1. dynamic-load-apk
    Android 动态加载 Apk,热部署,利用 ClassLoader 以及 Activity 代理的方式解决
    项目地址:https://github.com/singwhatiwanna/dynamic-load-apk
    原理剖析文档:dynamic-load-apk
    文档介绍:http://blog.csdn.net/singwhatiwanna/article/details/22597587

  2. Android Dynamic Loader
    点评的实现方式,和上面不同的是:他不是用代理 Activity 的方式实现而是用 Fragment 以及 Schema 的方式实现
    项目地址:https://github.com/mmin18/AndroidDynamicLoader
    Demo 地址:https://github.com/mmin18/AndroidDynamicLoader/raw/master/host.apk

  3. xCombine
    Android App 插件式插件开发,插件必须先安装,更推荐看上面两个开源项目
    项目地址:https://github.com/wyouflf/xCombine
    文档介绍:http://my.oschina.net/u/1171837/blog/155377

  4. Android Plugin Framework
    Android 插件式开发,开放的源码目前不完整
    项目地址:https://github.com/umeng/apf

  5. Android OpenAtlas
    Android插件框架,基于OSGI,非代理方式,组件需要在宿主中声明
    项目地址:https://github.com/bunnyblue/OpenAtlas
    Demo 地址:https://github.com/bunnyblue/OpenAtlasExtension/blob/master/Dist/OpenAtlasLauncher.apk

  6. multidex
    安装多 dex 的 classloader
    项目地址:https://github.com/casidiablo/multidex

  7. ANR-WatchDog
    Android ANR 监听,通过监听自己的 UI Thread 是否被执行确定是否发生了 ANR,并可以设置相关事件
    项目地址:https://github.com/SalomonBrys/ANR-WatchDog

你可能感兴趣的:(Android-开源工具库-第11弹-插件化)