Android Question How do I access B4A objects in my own library?

John H. Guillory

Member
Licensed User
Longtime User
O.k. so I've got my own library, but I want to add more functions to it. I know, the easy solution would be just make a basic module and compile it to a library, but I really want to do it via java, and if done through java, I could later extend it for wrappers to various libraries that require various permissions to be added via manifest, which I could add into the java file, such that I don't need to add those permissions manually. Specifically, one such function I'd like to have access to is GetDeviceLayoutValues().Width

If not that, then how can I get the dimensions to the screen, and possibly the drawable object for it?
 
Top