tdocs2 Well-Known Member Licensed User Longtime User Jul 25, 2015 #1 Greetings. Now, that the Internal Designer is common to both B4A and B4J : 1. Is there a procedure to convert B4A Layouts to B4J layouts? 2. What would be a best practice to transport code in events from B4A to B4J? WISH - I recognize this is a BIG WISH 1. Bring a B4A project to B4J now that the Internal Designer exists in both. (I realize that the events are not totally compatible, but it would be great to bring as much of a B4A project to B4J) Thank you. Sandy
Greetings. Now, that the Internal Designer is common to both B4A and B4J : 1. Is there a procedure to convert B4A Layouts to B4J layouts? 2. What would be a best practice to transport code in events from B4A to B4J? WISH - I recognize this is a BIG WISH 1. Bring a B4A project to B4J now that the Internal Designer exists in both. (I realize that the events are not totally compatible, but it would be great to bring as much of a B4A project to B4J) Thank you. Sandy
Erel B4X founder Staff member Licensed User Longtime User Jul 25, 2015 #2 1. Currently there is no such tool. It shouldn't be too difficult to create one based on this tool: https://www.b4x.com/android/forum/threads/tool-bal2bil-b4a-layouts-converter.50197/#content 2. You can use the shared modules feature to share code between B4J and B4A. Conditional compilation (#If B4A / B4J) allows you to add code unique to one platform. Upvote 0
1. Currently there is no such tool. It shouldn't be too difficult to create one based on this tool: https://www.b4x.com/android/forum/threads/tool-bal2bil-b4a-layouts-converter.50197/#content 2. You can use the shared modules feature to share code between B4J and B4A. Conditional compilation (#If B4A / B4J) allows you to add code unique to one platform.
M micro Well-Known Member Licensed User Longtime User Jul 25, 2015 #3 Hi Erel If I use the internal Designer and not JavaFx Scene Builder can I remove JFx library from project? (For device that not support JavaFX) Thanks Upvote 0
Hi Erel If I use the internal Designer and not JavaFx Scene Builder can I remove JFx library from project? (For device that not support JavaFX) Thanks
S sorex Expert Licensed User Longtime User Jul 25, 2015 #4 I also have a question about the desigers so I better add it here... I have a design in that external editor, but I can't seem to open it in the built-in one? Does that mean that I need to redo all that to get rid of that external designer? (due to the lack of a format convertor) Upvote 0
I also have a question about the desigers so I better add it here... I have a design in that external editor, but I can't seem to open it in the built-in one? Does that mean that I need to redo all that to get rid of that external designer? (due to the lack of a format convertor)
Swissmade Well-Known Member Licensed User Longtime User Jul 25, 2015 #5 Nice Work. I wondering if this Layouts made with the Visual Designer also compatible with Scene Builder. Like Loading Fxml from Scene Builder into the Designer. Upvote 0
Nice Work. I wondering if this Layouts made with the Visual Designer also compatible with Scene Builder. Like Loading Fxml from Scene Builder into the Designer.
Swissmade Well-Known Member Licensed User Longtime User Jul 25, 2015 #6 Daestrum said: This is a brilliant idea, if the new designer produced HTML pages instead, that could be used in webapp applications, the IDE would be complete. Click to expand... This is a very big Wish for a lot of us. Upvote 0
Daestrum said: This is a brilliant idea, if the new designer produced HTML pages instead, that could be used in webapp applications, the IDE would be complete. Click to expand... This is a very big Wish for a lot of us.
LWGShane Well-Known Member Licensed User Longtime User Jul 25, 2015 #7 micro said: Hi Erel If I use the internal Designer and not JavaFx Scene Builder can I remove JFx library from project? (For device that not support JavaFX) Thanks Click to expand... Note that the designer is just a tool to create GUI's in the same way as B4A/B4i. The apps compiled are still based on JavaFX. sorex said: I have a design in that external editor, but I can't seem to open it in the built-in one? Click to expand... The SceneBuilder uses FXML and the Visual Designer uses BJL files. As of now there are no converter tools. swissmade said: Nice Work. I wondering if this Layouts made with the Visual Designer also compatible with Scene Builder. Like Loading Fxml from Scene Builder into the Designer. Click to expand... The SceneBuilder uses FXML and the Visual Designer uses BJL files. As of now, there are no converter tools. Upvote 0
micro said: Hi Erel If I use the internal Designer and not JavaFx Scene Builder can I remove JFx library from project? (For device that not support JavaFX) Thanks Click to expand... Note that the designer is just a tool to create GUI's in the same way as B4A/B4i. The apps compiled are still based on JavaFX. sorex said: I have a design in that external editor, but I can't seem to open it in the built-in one? Click to expand... The SceneBuilder uses FXML and the Visual Designer uses BJL files. As of now there are no converter tools. swissmade said: Nice Work. I wondering if this Layouts made with the Visual Designer also compatible with Scene Builder. Like Loading Fxml from Scene Builder into the Designer. Click to expand... The SceneBuilder uses FXML and the Visual Designer uses BJL files. As of now, there are no converter tools.
tdocs2 Well-Known Member Licensed User Longtime User Jul 25, 2015 #8 Erel said: 1. Currently there is no such tool. It shouldn't be too difficult to create one based on this tool: https://www.b4x.com/android/forum/threads/tool-bal2bil-b4a-layouts-converter.50197/#content Click to expand... Thank you, Erel. It shouldn't be too difficult to create one based on this tool.... This would be far beyond my technical skills. Sandy Upvote 0
Erel said: 1. Currently there is no such tool. It shouldn't be too difficult to create one based on this tool: https://www.b4x.com/android/forum/threads/tool-bal2bil-b4a-layouts-converter.50197/#content Click to expand... Thank you, Erel. It shouldn't be too difficult to create one based on this tool.... This would be far beyond my technical skills. Sandy
Erel B4X founder Staff member Licensed User Longtime User Jul 26, 2015 #9 sorex said: I have a design in that external editor, but I can't seem to open it in the built-in one? Does that mean that I need to redo all that to get rid of that external designer? (due to the lack of a format convertor) Click to expand... Scene Builder and the internal designer work differently under the hood. It is not just a different format. You can combine scene builder and the internal designer layouts (load the bjl layout to a pane added with scene builder for example). Upvote 0
sorex said: I have a design in that external editor, but I can't seem to open it in the built-in one? Does that mean that I need to redo all that to get rid of that external designer? (due to the lack of a format convertor) Click to expand... Scene Builder and the internal designer work differently under the hood. It is not just a different format. You can combine scene builder and the internal designer layouts (load the bjl layout to a pane added with scene builder for example).