After 3 days of searching for solutions and trying almost everything, I don't want to give up on b4i.
Context:
I have a table in a Webview, the user can click on a cell and see information (this is already done for b4a and b4j).
After 3 days of searching the forum, I found some links, where they say they solve it for b4i but they don't leave any example
I understood that iOS does things differently and I must activate the OverrideUrl event.
When I click on the web view cell it does nothing
Please help me !
Context:
I have a table in a Webview, the user can click on a cell and see information (this is already done for b4a and b4j).
For b4a I use this in webview, WebViewExtras:
<script>
function pulsa_cell(myDato){
B4A.CallSub('pulsa_cell',true,myDato);
}
</script>
For b4j I use this in webview, setBridge:
<script>
function pulsa_cell(myDato){
b4j.link2(myDato);
}
</script>
After 3 days of searching the forum, I found some links, where they say they solve it for b4i but they don't leave any example
I understood that iOS does things differently and I must activate the OverrideUrl event.
For B4i I use this in webview, IT DOES NOT WORK:
<script>
function pulsa_cell(myDato){
window.location.href;
}
</script>
HTML button:
<td>
<button onclick="pulsa_cell('string_json_b64')">Web to B4i</button>
</td>
Please help me !