I am writing an app in Android that uses a WebView to display HTML content. I was told to get an Android user agent for my app - how do I do that? I opened http://whatsmyuseragent.com from my app as well as the Android browser - both the user agents are the same.
Please help!
After much research, I figured it out. There is a way to set a user agent for Android WebView.
webview.getSettings().setUserAgentString("user-agent-string");
http://developer.android.com/reference/android/webkit/WebSettings.html