Plugin is an application that makes up the OpenDPMH framework, contains other data processing modules.
The Plugin aims to facilitate the development of new data processing modules, without the need to recompile the original project that is running the OpenDPMH Framework, nor to interrupt the user's raw data collection.
Core Components:
- PluginManager: class responsible for managing the plugin, uses the builder pattern to provide the settings for the plugin to work, such as informing the context, the list of available plugins, the client ID. When starting the plugin, the connection with the framework is made to exchange information (through CDDL), for example, the plugin sends the list of available data processing modules, then the framework returns the list of modules where is interested in starting, in the same way, to stop, receiving data from the sensors.
- DataProcessor: features the same settings and features available in the core.
- PluginManager
- DataProcessor
- Android version: 6
- Android API Version: minSdkVersion > 26
Linux & Windows:
1º option (github project):
* download the zip project, unzip it.
* then open with in Android Studio "Open an Existing Project", ready.
2º option (aar files): under construction...
3º option (apk): under construction...
PluginManager
public PluginManager pluginManager;
Start-plugin:
pluginManager = new PluginManager.Builder(this)
.setProcessorList(processorList)
.setClientID("jeancomp")
.build();
pluginManager.start();
Stop-plugin:
pluginManager.stop();
Start-activeDataprocessor:
List<String> processorList = {nameProcessor1,nameProcessor2,...};
pluginManager.getInstance().startDataProcessors(listProcessors);
Stop-DisableDataprocessor:
List<String> processorList = {nameProcessor1,nameProcessor2,...};
pluginManager.getInstance().stopDataProcessors(listProcessors);
Your Name – @Twitter – [email protected]
Distributed under the XYZ license. See LICENSE
for more information.
Main developer:
- Jean Pablo (https://github.com/jeancomp)
Contributors:
- Ariel Teles (https://github.com/arielsteles)
- André
Jean Pablo
Made by Jean Pablo 👋🏽 Contact!