Android Question How to create PlugIn for b4a application in Android?

sn_nn

Member
Licensed User
Longtime User
Hello! I tried to find solution here, but not successfully... May be somebody has some Example?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

agraham

Expert
Licensed User
Longtime User
Do you want the users to be able to write some code? There's a Basic interpreter library in this on-device IDE you could use together with the IDE editor.

 
Upvote 0

kimstudio

Active Member
Licensed User
Longtime User
I know Android app can call .so plugins, for example, game console emulators can call .so plugins to emulate different platform. I'm not sure whether plugins in jar format can also be called.

Another way is to use script languages to write plugins.
 
Upvote 0

kimstudio

Active Member
Licensed User
Longtime User
they must be included in a java wrapper.

Just adding .so Files will not do anything.
Adding jar files will not do anything too if you do not write code to use that jar.
The plugin calling interface protocol must be defined at first normally and the plugins are developped according to that framework so the main app knows how to call it. For example could be only 3 funcs defined with exact same func name as init(), process(), free(). The Android retro game emulator can load and call a .so file directly in any directory. I assume .jar can also be loaded dynamically.
 
Upvote 0
Top