PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → HTML Control WM19
HTML Control WM19
Iniciado por guest, 15,abr. 2015 19:54 - 3 respuestas
Publicado el 15,abril 2015 - 19:54
Hi,

I am having some strange problems with the HTML Control in WinDev Mobile. If there are mailto: links or PDF links in a web page, clicking (touching) them does nothing at all. If I load the same page into the actual browser on the device, it works and shows either the Email client or Adobe reader.

Does anyone have a workaround for this?

Thanks

Piotr
Publicado el 15,abril 2015 - 20:21
Hi Piotr,

I have not checked that, but I think I remember that this control has a checkbox somewhere to activate JS and links in it (male it "active" if you will)

Hope this helps
Publicado el 15,abril 2015 - 20:46
Hi Fabrice,

Yes, it has, but I checked that but still not working.

Thanks

Piotr
Publicado el 16,abril 2015 - 15:38
Hi,

In order to try and work around this, I'm trying to show a Web View using Java. However, I need to create a layout file such as:

<?xml version="1.0" encoding="utf-8"?>
<WebView xmlns:android="<a class="ExternalLink" rel="nofollow" target="_blank" href="http://schemas.android.com/apk/res/android">http://schemas.android.com/apk/res/android</a>"
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>

Whereabouts would I put this in my Java Procedure in Windev?

Thanks
Piotr