B4J Question B4J app with plugins support?

woniol

Active Member
Licensed User
Longtime User
Hello,
I was wondering if it's possible to create a b4J app, to be used with plugins, written in b4j
The idea is that the main app starts and then selected plugins are loaded.
Each plugin cosists of class, and objects of this class can be initilized in the main program as well as methods calls.
Then I could be possible to update just changed plugins without updating the main app.
Also extra features could be added with these plugins.

Any ideas?
 

woniol

Active Member
Licensed User
Longtime User
Yes, I have checked is some time ago, but ended up with a problem with calling a method in the main class from the plugin.

If I have a timer defined in the plugin for example, and i would like do call a method in the main on timer event.
But it is very close to my needs, I'll give it a try again.
Thank you !
 
Upvote 0

xulihang

Active Member
Licensed User
Longtime User
Yes, I have checked is some time ago, but ended up with a problem with calling a method in the main class from the plugin.


If I have a timer defined in the plugin for example, and i would like do call a method in the main on timer event.
But it is very close to my needs, I'll give it a try again.
Thank you !

I pass the main class to the plugin and use CallSub to run a method in the main class.
 
Upvote 0
Top