HI, it's been a while since i last login to the forum, and i now just restarted to work with B4X for a new contract so here is my question..
I know in B4A there is an object global B4A. that can be called to execute a function or sub in the b4A android program from the webcontrol in javascript.
Ex.. B4A.loadArticle(pageno, ArticleNo) and the execution will be passed to the android application currently running to execute the sub loadArticle with two parameters that are expected.
All and all this works great in B4A android but does not in B4J, is there and object like B4A that can be used in B4J to execute a function called from a javascript code inside and HTML file or data file object (wich i use the most) that can emulate the same thing using the webBrowser control in B4J to call the B4J object and execue a function inside te B4J program currently executed in windows.
And if not did someone knows a way around this that can execute a sub in B4J from the webcontrol that is used in B4J.
Thanks,
PS:It is nice to be back coding in B4X was not much work for the last year and a half, so got to go into the sauce and remember everything in B4J, B4A and B4I so many months of work ahaead..
I know in B4A there is an object global B4A. that can be called to execute a function or sub in the b4A android program from the webcontrol in javascript.
Ex.. B4A.loadArticle(pageno, ArticleNo) and the execution will be passed to the android application currently running to execute the sub loadArticle with two parameters that are expected.
All and all this works great in B4A android but does not in B4J, is there and object like B4A that can be used in B4J to execute a function called from a javascript code inside and HTML file or data file object (wich i use the most) that can emulate the same thing using the webBrowser control in B4J to call the B4J object and execue a function inside te B4J program currently executed in windows.
And if not did someone knows a way around this that can execute a sub in B4J from the webcontrol that is used in B4J.
Thanks,
PS:It is nice to be back coding in B4X was not much work for the last year and a half, so got to go into the sauce and remember everything in B4J, B4A and B4I so many months of work ahaead..