Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'd like to know about practical use examples for AndrOBD-Plugin #20

Open
ham8962 opened this issue Oct 9, 2024 · 2 comments
Open

I'd like to know about practical use examples for AndrOBD-Plugin #20

ham8962 opened this issue Oct 9, 2024 · 2 comments

Comments

@ham8962
Copy link

ham8962 commented Oct 9, 2024

Hello, I'm making a program using AndrOBD in Korea

https://github.com/fr3ts0n/AndrOBD/wiki/Design:---AndrOBD-extension-plugin-framework

Looking at the link above, I want to see if what I understand is correct and I want to know how to use it.

  1. AndrOBD-Plugin itself was gitclone and planted in the host program.
    I wonder if it's right to select only the desired function((Mqtt and GPS for me) among the plugins and place it under the plugins package in the host program.

  2. Maybe I didn't understand the design description very well (sorry.. I'm not an android developer, I didn't understand it very well) To use these features
    If I put the port values and various values of the mqtt broker I made in the fields of the Gps and mqtt classes, will it work without having to create an instance?

3 Even if I ask you this question, I think there will often be things I need to debug to send a value to my server while developing. How can I download AndrOBD with Plugin?

@fr3ts0n
Copy link
Owner

fr3ts0n commented Oct 10, 2024

The plugins are intended to be separate, independent apk packages to be optionally added to the system.
Therefore each plugin does have it's own settings, since they all serve different a purpose with a different set of parameters.

AndrOBD does query for availability of plugins on every app start, in order to detect all available plugins.
Then, during operation it communicates with these plugins to gather / forward additional data

AndrOBD app and plugin apps can be downloaded for installation here:
https://search.f-droid.org/?q=androbd

@ham8962
Copy link
Author

ham8962 commented Oct 15, 2024

I apologize that fr3ts0n was completely misinterpreting. Sorry for bothering you with your email.

And like me, I write for beginners.
I wanted to send various data to the server using AndrOBD - Plugin (using MQTT)
I wanted to run the MQTT Broker program (mosquito) together on my pc to test if the value is sent well.
(I wanted to see the value via debug, as I might need to add or modify the code if that's the case.)

AndrOBD - I used a lot of time because I completely misunderstood it when I saw the writing describing the Plugin design. (It was a fatal mistake. If you see this and it's the same purpose as me, please don't act like me. It explains how it's designed for those who want to create new plugin features and those who want to know the internal structure, which is different from what you actually use.)

The method I used is to download the apk for plugin from F-roid
Using the command "abd install" on Android, you install the plugin apps on the Android studio virtual device together.

It's still in progress. But when I ran it on a virtual device and went into the plugin_manager screen, I was able to check the mqtt plugin and gps provider I downloaded.

Through this article, I hope you can create several projects with these good features.

AndrOBD_main
AndrOBD_plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants