Android获取PID/TID/UID、获取User-Agent

2016-04-29· 10715 次浏览
获取PID: ``` android.os.Process.myPid(); ``` 获取TID: ``` android.os.Process.myTid(); ``` 获取UID: ``` android.os.Process.myUid(); ``` 获取User-Agent: ``` System.getProperty("http.agent"); ```