DroidPlugin | plugin framework on android , Run any third-party apk | Plugin library
kandi X-RAY | DroidPlugin Summary
kandi X-RAY | DroidPlugin Summary
A plugin framework on android,Run any third-party apk without installation, modification or repackage
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Installs a plugin
- Delete the cache files
- Get the ABK from the apk file
- Performs native binary and copy
- Get stub activity info
- Returns all activity info for a process name
- Look up an entry in the cache
- This method initializes all messages from Iccef
- Add all methods from the hook
- Hack to hack the layout
- Invokes the hook if necessary
- Initialize the Dialer
- Initializes the transport
- Sets the primary clip
- Compare two packages
- Initialize the HookMethodHandlers
- Invokes the method on the proxy
- Checks if the notification is a plugin notification
- Install the proxy instance
- Dump a running process
- Init service
- Caught exception
- Method handler
- Init interface
- Initialize IPhoneRegistry
- Initialize IPhoneSubInfo
DroidPlugin Key Features
DroidPlugin Examples and Code Snippets
Community Discussions
Trending Discussions on DroidPlugin
QUESTION
Objective:
I have an android application (main) from which I want to download (jar, apk, or any sort of package) and load the package dynamically and start the main activity of my loaded package from my main application.
The solutions I have tried:
I have followed this blog post and try to load the app using DexClassLoader https://medium.com/@kalpeshchandora12/dynamic-code-loading-in-android-dea83ba3bc85#:~:text=DCL(Dynamic%20code%20loading)%20allows,location%20and%20executed%20at%20runtime. I am able to follow all the step and able to load the class from the downloaded apk, now I don't know how to call the main activity of the loaded apk.
I have followed this plugin(https://github.com/DroidPluginTeam/DroidPlugin), which is telling me that I can dynamically load the apk from the server, and then I can install it in the background and then can run it by any communication method (broadcasting, AIDL, etc.) but while following the plugin, I have encountered an error (sort of I/O error while opening APK), it's not able to open my apk for installation.
I don't know if whatever I tried is correct or not and I am not an android guy, instead, I am a unity guy and trying to run my games (I have almost 50) within android applications. There is no choice of loading the game statically in the android project because it severely increases the size.
Please recommend me an approach to achieve this task or if anyone can guide me on how to solve the problems that I am facing.
...ANSWER
Answered 2021-Feb-26 at 15:37It sounds like you need look at Feature Delivery.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install DroidPlugin
You can use DroidPlugin like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the DroidPlugin component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page