All Projects → DroidPluginTeam → Droidplugin

DroidPluginTeam / Droidplugin

Licence: lgpl-3.0
A plugin framework on android,Run any third-party apk without installation, modification or repackage

Programming Languages

java
68154 projects - #9 most used programming language
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Droidplugin

react-cool-virtual
😎 ♻️ A tiny React hook for rendering large datasets like a breeze.
Stars: ✭ 1,031 (-84.57%)
Mutual labels:  hook, virtualization
Webpack Internal Plugin Relation
🔎 a tiny tool to show the relation of webpack internal plugins & hooks
Stars: ✭ 135 (-97.98%)
Mutual labels:  hook, plugin
Input Overlay
Show keyboard, gamepad and mouse input on stream
Stars: ✭ 684 (-89.77%)
Mutual labels:  plugin
Iro.js
🎨 Modular color picker widget for JavaScript, with support for a bunch of color formats
Stars: ✭ 796 (-88.09%)
Mutual labels:  plugin
Vue I18n
🌐 Internationalization plugin for Vue.js
Stars: ✭ 6,502 (-2.71%)
Mutual labels:  plugin
Wal2json
JSON output plugin for changeset extraction
Stars: ✭ 705 (-89.45%)
Mutual labels:  plugin
See
Sandboxed Execution Environment
Stars: ✭ 770 (-88.48%)
Mutual labels:  virtualization
Scripthookvdotnet
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game.
Stars: ✭ 679 (-89.84%)
Mutual labels:  hook
Roundcube Removeattachments
Roundcube plugin to add an option to remove attachments from a message.
Stars: ✭ 5 (-99.93%)
Mutual labels:  plugin
Xcp
Entry point for issues and wiki. Also contains some scripts and sources.
Stars: ✭ 752 (-88.75%)
Mutual labels:  virtualization
Webhook
webhook is a lightweight incoming webhook server to run shell commands
Stars: ✭ 7,201 (+7.75%)
Mutual labels:  hook
Use Places Autocomplete
😎 📍 React hook for Google Maps Places Autocomplete.
Stars: ✭ 739 (-88.94%)
Mutual labels:  hook
Gulp Htmlmin
Minify HTML
Stars: ✭ 720 (-89.23%)
Mutual labels:  plugin
Jquery.print
Easy to use, Element Printing Plugin for jQuery
Stars: ✭ 772 (-88.45%)
Mutual labels:  plugin
Fakerandroid
A tool translate a apk file to stantard android project include so hook api and il2cpp c++ scaffolding when apk is a unity il2cpp game. Write code on a apk file elegantly.
Stars: ✭ 695 (-89.6%)
Mutual labels:  hook
Use Web Animations
😎 🍿 React hook for highly-performant and manipulable animations using Web Animations API.
Stars: ✭ 802 (-88%)
Mutual labels:  hook
Vue Progressive Image
Vue progressive image loading plugin
Stars: ✭ 684 (-89.77%)
Mutual labels:  plugin
Ultisnips
UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
Stars: ✭ 6,465 (-3.26%)
Mutual labels:  plugin
Markdown Preview.vim
⚠️ PLEASE USE https://github.com/iamcco/markdown-preview.nvim INSTEAD
Stars: ✭ 764 (-88.57%)
Mutual labels:  plugin
Robotgo
RobotGo, Go Native cross-platform GUI automation @vcaesar
Stars: ✭ 7,095 (+6.16%)
Mutual labels:  hook

Droid Plugin

中文文档

Fllow me at github

DroidPlugin is a new Plugin Framework developed and maintained by Andy Zhang( Fllow me at github ). It enables the host app run any third-party apk without installation, modification and repackage, which benefit a lot for collaborative development on Android.


Problems to be solved:

  1. Unable to send Notification with custom Resources,eg:

    a. Notification with custom RemoteLayout, which means Notification's contentViewtickerViewbigContentView and headsUpContentView must be null.

    b. Notification with icon customized by R.drawable.XXX. The framework will transform it to Bitmap instead.

  2. Unable to define specified Intent Filter for the plugged app's ServiceActivityBroadcastReceiver and ContentProvider. So the plugged app is invisible for the outside system and app.

  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.

Features:

  1. Compatible to Android 2.3 and later versions
  2. Given its .apk file, the plugged app could be run either independently or as plugin of the host, NO source code needed.
  3. Unnecessary to register the plugged app's ServiceActivityBroadcastReceiverContentProvider in the host.
  4. The plugged app are recognized as Installed by the host and other plugged apps
  5. Very low level of code invasion, in deed just one line code to integrate DroidPlugin into the host app.
  6. Complete code level separation between host and plugged apps, only system level message passing method provide by Android allowed.
  7. All system API supported
  8. Resources management are also completely separated between host and plugged apps.
  9. Process management for plugged apps, idle processed of the plugged app will be timely recycled to guarantee minimum memory usage.
  10. Static broadcast of plugged app will be treated as dynamic, thus the static broadcasting will never be trigger if the plugged app are not activated.

Usage:

Integrate with the host apps

It is very simple integrate Droid Plugin to your proejct:

  1. Import Droid Plugin project to your project as a lib.

  2. Include following attributes in host's AndroidManifest.xml

     <application android:name="com.morgoo.droidplugin.PluginApplication" 
     	android:label="@string/app_name"
     	android:icon="@drawable/ic_launcher" >
    
  3. Or, if you use customized Application,add following code in the methods onCreate and attachBaseContext:

     @Override
     public void onCreate() {
     	super.onCreate();
     	PluginHelper.getInstance().applicationOnCreate(getBaseContext()); //must be after super.onCreate()
     }
     
     @Override
     protected void attachBaseContext(Context base) {
     	PluginHelper.getInstance().applicationAttachBaseContext(base);
         super.attachBaseContext(base);
     }
    
  4. Modify the authorityName value in Libraries\DroidPlugin\build.gradle (suggested use your package name)

Install、Uninstall or Upgrade the plugged app:

  1. Install/Upgrade, use this method:

     int PluginManager.getInstance().installPackage(String filepath, int flags);
    

    For installation, filepath set to path of the .apk file, and flags set to 0.

    For upgrade, filepath set to path of the .apk file, and flags set to PackageManagerCompat.INSTALL_REPLACE_EXISTING.

  2. Uninstall, use this method:

     int PluginManager.getInstance().deletePackage(String packageName,int flags);
    

    packageName is package name of the plugged app,flags = 0

  3. Activate

    Just use android's API, same for communication between components.

FAQ

FAQ

Remark:

Please feel free to report bugs or ask for help via email. QQ Group:318901026

##Who is using Droid Plugin?

360 App Store

Thanks:

Translated by Ming Song([email protected]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].