Skip to content

Instantly share code, notes, and snippets.

@xionglun
Created June 10, 2014 17:39
Show Gist options
  • Save xionglun/43e973f955174baf24ed to your computer and use it in GitHub Desktop.
Save xionglun/43e973f955174baf24ed to your computer and use it in GitHub Desktop.

Revisions

  1. xionglun created this gist Jun 10, 2014.
    6 changes: 6 additions & 0 deletions android_custom_user_agent.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    At Activity:
    ```java
    //...
    webView.getSettings().setUserAgentString("CUSTOM_USE_AGENT");
    //...
    ```