We have compared the MyFirstProgram.b4a and MyFirstProgram.b4j files.
And found that there are many difference, please make them with the same in next version. Or make them compatible:
such as Private txfResult As TextField in B4i
Private txfResult As EditText in B4a
I think B4a 5.0 can help a little with conditional compilation: #If, #Else If, #Else and support for OR and AND.
Can B4a, B4i, B4j define like this:
===============================
#if B4i
#define EDITBOX TextField
#else
#define EDITBOX EditText
#endif
Private txfResult As EDITBOX
===============================
Although this method can help to cross compilation, But if it support by compiler itself is better.