Hi, I´m really new to java and libraries. I want to develop B4J libs but haven't found enough info. I'm using the jSimple Library Compiler and readed the basic tutorials.
The main obstacle I found is how to pass a Image to a lib, in java i have a function:
Compiled and used in B4J Like this:
But I got the error:
error: inconvertible types
required: java.awt.Image
found: javafx.scene.image.Image
Is there a Complete Libraries Developers Guide? The tutorials are usefull, but the info is scattered and incomplete.
Thanks
The main obstacle I found is how to pass a Image to a lib, in java i have a function:
B4X:
Image tImg;
public void SendImage(Image img) {
tImg = img;
}
Compiled and used in B4J Like this:
B4X:
Dim lib As Mylib
Dim pic As Image
pic.Initialize("C:\", "pic.png")
lib.SendImage(pic)
But I got the error:
error: inconvertible types
required: java.awt.Image
found: javafx.scene.image.Image
Is there a Complete Libraries Developers Guide? The tutorials are usefull, but the info is scattered and incomplete.
Thanks