Getting and setting the user agent
In B4A I can set get and the user agent using using Reflector:
Dim r As Reflector
r.Target = webview
r.Target = r.RunMethod("getSettings")
' Get user agent
userAgent = r.RunMethod("getUserAgentString")
' Set user agent
Hi everyone, i tried to change the user-agent of exoplayer i tried with the code that error wrote here https://www.b4x.com/android/forum/threads/exoplayer-user-agent.86695/#post-548886
Without succes, i don't know if i have to initialize the view or create a layout with the designer.
Hello, i'm tring to use 2 differents user agent in differents causes. I tried this code, but did'n work.