Created
March 13, 2014 07:25
-
-
Save xalexchen/9523316 to your computer and use it in GitHub Desktop.
USER_AGENT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * A user-agent string that's sent to the HTTP site. It includes information about the device | |
| * and the build that the device is running. | |
| */ | |
| public static final String USER_AGENT = "Mozilla/5.0 (Linux; U; Android " | |
| + android.os.Build.VERSION.RELEASE + ";" | |
| + Locale.getDefault().toString() + "; " + android.os.Build.DEVICE | |
| + "/" + android.os.Build.ID + ")"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment