So I’ve looked through various other threads about this and have seen nothing about Android specifically and the MobileHTMLViewer embedded in it, I’ve seen people mention it only working under Webkit but I don’t think that’s something that can be changed here/on mobile in general.
Anyway, without giving too much backstory into research and getting to the actual issue/bug it. It seems that on Android specifically executeInXojo
, and executeInXojoSync
are never defined within the context of the MobileHTMLViewer.
This is the case regardless of whether or not it’s being called from within ExecuteJavaScript
or from within the HTML that has been loaded on the page.
Here are some tests I attempted:
<script>executeInXojo("firetest","testparam");</script>
<script>function myFunction() { executeInXojo("firetest","testparam"); }</script>
Within the Xojo Code, calling “myFunction” via ExecuteJavaScript.
Within ExecuteJavaScript:
function execute_xojo() { executeInXojo("firetest","testparam"); }
Within the HTML:
<script>execute_xojo();</script>
None of the above worked and always claimed that execInXojo was undefined, I was testing this out to see if using Xojo for something I wanted to do was feasible on Android but it seems the Android support may still be in the early stages. Can anyone else confirm this isn’t functional or tell me if I’m being crazy?
9 posts - 4 participants