python android webview sl4a
我对网络视图有问题。我想在一个python脚本中使用两个WebView。可能吗?我试过了,但遇到了一些问题 众所周知,我可以使用以下命令显示webview:python android webview sl4a,android,python,webview,Android,Python,Webview,我对网络视图有问题。我想在一个python脚本中使用两个WebView。可能吗?我试过了,但遇到了一些问题 众所周知,我可以使用以下命令显示webview: `droid.webViewShow('file:///sdcard/sl4a/scripts/1.html')` 之后,1.html出现在我的手机屏幕上。没关系。现在,我想用命令webviewshow将其更改为另一个html `droid.webViewShow('file:///sdcard/sl4a/scripts/2.ht
`droid.webViewShow('file:///sdcard/sl4a/scripts/1.html')`
之后,1.html出现在我的手机屏幕上。没关系。现在,我想用命令webviewshow将其更改为另一个html
`droid.webViewShow('file:///sdcard/sl4a/scripts/2.html')`
2.html出现在我的手机屏幕上。但是当我关闭我的脚本时,1.html仍然出现在我的手机屏幕上,我添加了所有的选项菜单项,但是菜单项没有任何响应
是否有关闭所有Web视图的解决方案
谢谢请尝试droid.disclose关闭每个web视图使用droid.disclose,就像Tamas指出的那样,但在HTML代码内部 像这样:
<button id="killer" type="button"
onclick="droid.eventPost('kill', ''); droid.dismiss()"
>KILL BUTTON</button>