I try to do my first proyectc sharing code between b4a and baj (i am not interesend in BAi).
There are any problems when shared copy.
Whats is the best tecnich for to:
- Shared CSBUILDER OBJECT
- Shared IME
- ETC.
Are any link or documentation or sample proyect whit this library/object not shareables?
If you are writing common code to be used by both B4A and B4J in a B4X application then you do not need to worry about CSBuilder - it is available in both. But IME does not have an equivalent in B4J. Another way of saying that is to say "There is no IME equivalent in a desktop application". If you use a TextField it will work in both the B4A and B4J environments. If you need to interact with the Android keyboard in the B4A version then you can add the same IME code as you would use in a non B4X application but you will need to enclose it in #if B4A .. .. .. #end if statements.
More exactly you will have one (or more) B4A layout and one (or more) B4J layout; the B4A layout will contain an EditText, B4J a TextField. In the common code (B4XPage) you will declare that view as B4XView.
is there something like CSBuilder for b4j but NOT Textflow? textflowwill return a Pane with the formated text. its like drawing on canvas text but i would like to return a colored text and put it in a Textarea so i can also select it later when the app is running. any idea? thanx