I am brand new to B4A. I have an Android library that seems to work and a plain old Java library. I would like to create a library that works for a customer that uses B4A as their development platform.
To see if my library can work I also have written a test harness to use the library.
My library takes an android.content.Context for initialization. I have seen reference to BA and context but cannot seem to create or reference these objects in my B4A code.
I have looked for a while and am still puzzled as to how to set this in my library object that I create in my test harness. Any help would be greatly appreciated.
BA - BA is a special object that you can use to raise events and to get access to the user activity, application context and other resources.
The compiler is responsible for passing this object. The IDE doesn't expose it.
Does this mean I use it in the java program and would simply omit it when I call a library method?