Using App methods into a Webview

82 views
Skip to first unread message

Rodny Estrada León

unread,
Apr 19, 2024, 2:18:54 PMApr 19
to DroidScript
Hi guys ! I have a question: Is it possible to use the methods of the app object within a WebView? I am importing the script from the url 'ds:/Sys/app.js'. And it manages to obtain the object, but when using, for example, `app.ShowPopup('hi!')`, it executes the method but does not show the popup.

Dave

unread,
Apr 19, 2024, 5:07:47 PMApr 19
to DroidScript
It should work fine.... show us a simple code example so that we see what you are doing.

Alan Hendry

unread,
Apr 20, 2024, 3:21:15 PMApr 20
to DroidScript
HI,
Seems to work for me
Alan H
html.spk
Reply all
Reply to author
Forward
0 new messages