I make each function into a custom library,
Then I want to call these libraries dynamically. I don't know how to operate them!
Normal practice:
There are similar examples in the forum, but they have not been successful:
Then I want to call these libraries dynamically. I don't know how to operate them!
Normal practice:
b4a:
Dim SFCG11 As SFCG11
SFCG11.Initialize(Me,"Mold")
Activity.AddView(SFCG11.GetBase,0,mLoadTop,100%x,mLoadHeight)
SFCG11.show(ProgramID,mPara)
There are similar examples in the forum, but they have not been successful:
b4a:
Dim jo As JavaObject
Dim cls As String = "b4a.example.SFCG11"
jo.InitializeStatic(cls)
'mPanel=jo2.GetField("GetBase")
mPanel=jo2.RunMethod("GetBase",Null)