Moin
i want to build a little App that show the incoming calls form a FritzBox to me.
Up to now I use Chrome:
chrome.exe -app http://192.168.100.1/myfritz --window-size 100x600
after login that did the job, but after a certain time the page times out and i have to login again
My little Proggie should call the page again to prevent the logout.
Form is standard form with only a webview inserted
But the Webview shows:
It says that I should use a modern WebBrowser.
Did I miss a component? Maybe something that executes the javascript!?
Grüße
Rainer
i want to build a little App that show the incoming calls form a FritzBox to me.
Up to now I use Chrome:
chrome.exe -app http://192.168.100.1/myfritz --window-size 100x600
after login that did the job, but after a certain time the page times out and i have to login again
My little Proggie should call the page again to prevent the logout.
B4X:
#Region Project Attributes
#MainFormWidth: 310
#MainFormHeight: 600
#End Region
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private WebView1 As WebView
Private mTimer As Timer
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("TelView") 'Load the layout file.
MainForm.Show
mTimer.Initialize("RefreshWebView", 30000)
RefreshWebView_Tick
End Sub
'Return true to allow the default exceptions handler to handle the uncaught exception.
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
Return True
End Sub
Private Sub RefreshWebView_Tick
WebView1.LoadUrl ("http://192.168.100.1/myfritz")
End Sub
Form is standard form with only a webview inserted
But the Webview shows:
It says that I should use a modern WebBrowser.
Did I miss a component? Maybe something that executes the javascript!?
Grüße
Rainer