This may require some explanation so bear with me please:
I need to send text message from b4j though Twilio. Twilio offers a java client and has some example code to get one started. Using the a modified version of that sample java code, I used the SimpleLibraryCompiler to create a library. I am not a java programmer, so the fact that I may have missed something is highly likely. I managed, using the SLC to get a compiled library with a method and several properties. I went through the XML file and filled in some comments and a short name. It shows up as a library in b4j, and I am able set up the properties, etc. in b4j. However, when I go to compile the sample b4j program, I get this:
At this point, the b4j program is very simple. I just was trying to prove whether my library worked or not. Can someone point me in the right direction of things I should be looking at?
Thanks much
I need to send text message from b4j though Twilio. Twilio offers a java client and has some example code to get one started. Using the a modified version of that sample java code, I used the SimpleLibraryCompiler to create a library. I am not a java programmer, so the fact that I may have missed something is highly likely. I managed, using the SLC to get a compiled library with a method and several properties. I went through the XML file and filled in some comments and a short name. It shows up as a library in b4j, and I am able set up the properties, etc. in b4j. However, when I go to compile the sample b4j program, I get this:
B4J Version: 6.51
Parsing code. (0.00s)
Building folders structure. (0.01s)
Compiling code. (0.00s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
javac 1.8.0_191
src\b4j\sms\main.java:47: error: cannot find symbol
public static Twiliosms _sms = null;
^
symbol: class Twiliosms
location: class main
1 error
Parsing code. (0.00s)
Building folders structure. (0.01s)
Compiling code. (0.00s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
javac 1.8.0_191
src\b4j\sms\main.java:47: error: cannot find symbol
public static Twiliosms _sms = null;
^
symbol: class Twiliosms
location: class main
1 error
At this point, the b4j program is very simple. I just was trying to prove whether my library worked or not. Can someone point me in the right direction of things I should be looking at?
Thanks much