Hi all
I have 4 html files:
index.html
1.html
2.html
3.html
I want when I in 1,2,3 pages the back button is trun back to index.html
if i in index.html i want the button to exit the app
how to do that ???
I try this code but only turn back to index page
I have 4 html files:
index.html
1.html
2.html
3.html
I want when I in 1,2,3 pages the back button is trun back to index.html
if i in index.html i want the button to exit the app
how to do that ???
I try this code but only turn back to index page
B4X:
Sub Activity_KeyPress(KeyCode As Int) As Boolean
If KeyCode = KeyCodes.KEYCODE_BACK Then
WebView1.Back
Return True
End If
Return False
End Sub