tznikos Member Licensed User Longtime User Sep 24, 2019 #1 Hi, I want the web server to consider the webview as mobile Thanks Last edited: Sep 24, 2019
tznikos Member Licensed User Longtime User Sep 25, 2019 #2 I found this setUserAgentString('Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3') But I don't know-how declare on WebView object, Is something like this? Dim joWV As JavaObject = WebView1 joWV.RunMethodJO("getEngine", Null).RunMethod("executeScript"....... Upvote 0
I found this setUserAgentString('Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3') But I don't know-how declare on WebView object, Is something like this? Dim joWV As JavaObject = WebView1 joWV.RunMethodJO("getEngine", Null).RunMethod("executeScript".......
Erel B4X founder Staff member Licensed User Longtime User Sep 25, 2019 #3 https://www.b4x.com/android/forum/threads/webview-question.75960/#post-482030 Upvote 0
tznikos Member Licensed User Longtime User Sep 25, 2019 #4 That's exactly what I wanted Thank you for your help Erel Upvote 0