[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4259":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},4259,"DroidPlugin","DroidPluginTeam\u002FDroidPlugin","DroidPluginTeam","A plugin framework on android,Run any third-party apk without installation, modification or repackage","http:\u002F\u002Fdroidpluginteam.github.io\u002FDroidPlugin\u002F",null,"Java",6970,2492,493,226,0,5,41,"GNU Lesser General Public License v3.0",false,"master",true,[24,25,26,27,28,29],"android","droid-plugin","hook","plugin","pluginframework","virtualization","2026-06-12 02:01:01","Droid Plugin\r\n======\r\n\r\n[中文文档](readme_cn.md \"中文文档\")\r\n\r\n[Fllow me at github](https:\u002F\u002Fgithub.com\u002Fcmzy)\r\n\r\nDroidPlugin is a new **Plugin Framework** developed and maintained by Andy Zhang( [Fllow me at github](https:\u002F\u002Fgithub.com\u002Fcmzy) ).\r\nIt enables the host app run any third-party apk without installation, modification and repackage, which benefit a lot for collaborative development on Android.\r\n\r\n-------\r\n\r\n\r\n\r\n## Problems to be solved:\r\n    \r\n 1. Unable to send `Notification` with custom Resources，eg：\r\n \r\n     a.  Notification with custom RemoteLayout, which means `Notification`'s `contentView`，`tickerView`，\r\n     `bigContentView` and `headsUpContentView` must be null.\r\n\r\n     b.  Notification with icon customized by R.drawable.XXX. The framework will transform it to Bitmap instead.\r\n\r\n 2. Unable to define specified `Intent Filter` for the plugged app's `Service`、`Activity`、`BroadcastReceiver`\r\n and `ContentProvider`. So the plugged app is invisible for the outside system and app.\r\n\r\n 3. Lack of `Hook` to the `Native` layer, thus apk (e.g. a majority of game apps) with `native` code cannot be loaded as plugin.\r\n    \r\n## Features：\r\n  1. Compatible to Android 2.3 and later versions\r\n  2. Given its .apk file, the plugged app could be run either independently or as plugin of the host, **NO** source code needed.\r\n  3. Unnecessary to register the plugged app's `Service`、`Activity`、`BroadcastReceiver`、`ContentProvider` in the host.\r\n  4. The plugged app are recognized as *Installed* by the host and other plugged apps\r\n  5. Very low level of code invasion, in deed just one line code to integrate DroidPlugin into the host app.\r\n  6. Complete code level separation between host and plugged apps, only system level message passing method provide by Android allowed.\r\n  7. All system API supported\r\n  8. Resources management are also completely separated between host and plugged apps.\r\n  9. Process management for plugged apps, idle processed of the plugged app will be timely recycled to guarantee minimum memory usage.\r\n  10. Static broadcast of plugged app will be treated as dynamic, thus the static broadcasting will never be trigger if\r\n  the plugged app are not activated.\r\n    \r\n## Usage：\r\n\r\n#### Integrate with the host apps\r\n\r\nIt is very simple integrate Droid Plugin to your proejct：\r\n\r\n1. Import Droid Plugin project to your project as a lib.\r\n\r\n2. Include following attributes in host's `AndroidManifest.xml`：\r\n\t\r\n\t\t\u003Capplication android:name=\"com.morgoo.droidplugin.PluginApplication\" \r\n\t\t\tandroid:label=\"@string\u002Fapp_name\"\r\n\t\t\tandroid:icon=\"@drawable\u002Fic_launcher\" >\r\n\r\n           \r\n3. Or, if you use customized `Application`，add following code in the methods `onCreate` and `attachBaseContext`:\r\n    \r\n\t\t@Override\r\n\t\tpublic void onCreate() {\r\n\t\t\tsuper.onCreate();\r\n\t\t\tPluginHelper.getInstance().applicationOnCreate(getBaseContext()); \u002F\u002Fmust be after super.onCreate()\r\n\t\t}\r\n        \r\n\t\t@Override\r\n\t\tprotected void attachBaseContext(Context base) {\r\n\t\t\tPluginHelper.getInstance().applicationAttachBaseContext(base);\r\n            super.attachBaseContext(base);\r\n\t\t}\r\n\r\n4. Modify the `authorityName` value in `Libraries\\DroidPlugin\\build.gradle` (suggested use your package name)\r\n\r\n#### Install、Uninstall or Upgrade the plugged app：\r\n\r\n1. **Install\u002FUpgrade**, use this method：\r\n \r\n\t\tint PluginManager.getInstance().installPackage(String filepath, int flags);\r\n   \r\n\tFor installation, `filepath` set to path of the .apk file, and `flags` set to 0.\r\n\r\n\tFor upgrade, `filepath` set to path of the .apk file, and  `flags` set to `PackageManagerCompat.INSTALL_REPLACE_EXISTING`.\r\n        \r\n    \r\n2. **Uninstall**, use this method：\r\n\r\n\t\tint PluginManager.getInstance().deletePackage(String packageName,int flags);\r\n\r\n\t`packageName` is package name of the plugged app，`flags = 0`。\r\n\r\n3. **Activate**\r\n\r\n    Just use android's API, same for communication between components.\r\n\t\r\n## FAQ\r\n\t\r\n [FAQ](https:\u002F\u002Fgithub.com\u002FDroidPluginTeam\u002FDroidPlugin\u002Fwiki\u002FFAQ \"FAQ\")\r\n\t\r\n## Remark：\r\n\r\nPlease feel free to [report bugs](https:\u002F\u002Fgithub.com\u002FQihoo360\u002FDroidPlugin\u002Fissues) or ask for help via email.\r\nQQ Group:318901026\r\n\r\n##Who is using Droid Plugin?\r\n\t\r\n [360 App Store](http:\u002F\u002Fsj.360.cn \"360 App Store\")\r\n\r\n    \r\n### Thanks：\r\n    \r\n    Translated by Ming Song（gnosoir@hotmail.com）    \r\n","DroidPlugin是一个基于Android的插件框架，允许宿主应用无需安装、修改或重新打包即可运行任意第三方APK。其核心功能包括支持Android 2.3及以上版本，只需提供APK文件即可作为插件运行，无需源代码；插件与宿主之间实现完全的代码级隔离，仅通过系统级消息传递方法进行通信；并能够管理插件进程以确保最小内存占用。该框架特别适用于需要在不改变现有应用结构的情况下快速集成新功能的应用场景，如游戏中心、多账户管理系统等。",2,"2026-06-11 02:59:17","top_language"]