缘起:
使用手机自带的浏览器来访问unigui开发的移动网页程序,必须在手机浏览器的url地址栏中输入ip地址和port号,使用起来影响体验,如果想有像native app一样的体验,请跟随以下的步骤去体验一下。
1、下载WebViewExtras插件。
https://www.b4x.com/android/forum/attachments/webviewextras_v1_42-zip.38157/
2、下载WebViewSetting插件。
https://www.b4x.com/android/forum/attachments/webviewsettings_v_1_31-zip.23712/
3、下载demo程序。
https://www.b4x.com/android/forum/attachments/geolocationdemo-zip.14187/
4、编辑geolocationdemo代码。如下。
Sub Globals
Dim WebView1 As WebView
Dim WebViewExtras1 As WebViewExtras
Dim WebViewSetting1 As WebViewSettings
End Sub
Sub Activity_Creat

最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



