Java Question Instantiating a B4A class from a library?

keirS

Well-Known Member
Licensed User
Longtime User
Is this possible? If so how would I go about it? I know I can go and grab the generated Java source for the class and build it into the library but that's not really what I want to do.
 

keirS

Well-Known Member
Licensed User
Longtime User
Because that would potentially require many instances to be passed. I want to implement an n tier database model framework where validation and business logic can be plugged in. The database side could be a local database, a cloud database or a traditional mySQL/ SQL server DB. The whole of Android appears to be based on such a model with a UI layer, content interface layer, content provider layer etc.

What I want to do is provide a set of template classes that can be filled in and then instantiated by the library as required to implement the validation and business logic. The other alternative is a scripting model using the BasicLib library but I don't believe it will be as flexible.
 
Top