HELP...HELP... I can not get the geolocation:
manifest editor:
AddPermission(android.permission.ACCESS_FINE_LOCATION)
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim WebView1 As WebView
Dim WebViewExtras1 As WebViewExtras
Dim WebViewSetting1 As WebViewSettings
Dim settaggi As WebSettings
Dim WebChromeClient1 As DefaultWebChromeClient '---lib2
End Sub
Sub Activity_Create(FirstTime As Boolean)
WebView1.Initialize("WebView1")
WebView1.JavaScriptEnabled=True
WebChromeClient1.Initialize("WebChromeClient1")
WebViewExtras1.Initialize(WebView1)
WebViewExtras1.addJavascriptInterface(WebView1, "B4A") ' NOT ESSENTIAL
WebViewExtras1.SetWebChromeClient(WebChromeClient1)
WebViewSetting1.setDatabaseEnabled(WebView1, True)
WebViewSetting1.setAppCacheEnabled(WebView1,True)
WebViewSetting1.setDOMStorageEnabled(WebView1,True)
WebViewSetting1.setGeolocationEnabled(WebView1,True)
WebViewSetting1.setJavaScriptCanOpenWindowsAutomatically(WebView1,True)
WebViewSetting1.setLoadWithOverviewMode(WebView1,True)
WebViewSetting1.setDatabasePath(WebView1,"")
'Log("DefaultWebViewDatabasePath: "&WebViewSetting1.getDatabasePath(WebView1))
' the WebView will fail to create any databases if the database path is NOT set
'Log("NewWebViewDatabasePath: "&WebViewSetting1.getDatabasePath(WebView1))
Activity.AddView(WebView1, 0, 0, 100%x, 100%y)
WebView1.LoadUrl("
http://192.168.1.50/mobile/test.php")
End Sub