06 2012 档案

摘要:# encoding: UTF-8import socket rfile = open('c:\\ip.txt')wfile = open('c:\\result.csv', 'w+')for line in rfile: str = line.strip().split(';') for s in str: s = s.strip().split('/') s = s[0] try: result = socket.gethostbyname(s) except: result =... 阅读全文
posted @ 2012-06-28 14:15 fighter 阅读(1773) 评论(0) 推荐(0)
摘要:AndroidManifest.xml文件中界面对应的<activity>里加入android:windowSoftInputMode="adjustPan" 键盘就会覆盖屏幕android:windowSoftInputMode="stateVisible|adjustResize" 屏幕整体上移 阅读全文
posted @ 2012-06-28 06:56 fighter 阅读(29889) 评论(2) 推荐(1)
摘要:public String userLogin(String userName, String pwd) { String url = "http://xx.xx.com/services/User"; String nameSpace = "http://xx.xx.com"; String SOAP_ACTION = "http:/xx.xx.com/services/User/login"; String method = "login"; String result = ""; Soap 阅读全文
posted @ 2012-06-14 12:09 fighter 阅读(5285) 评论(0) 推荐(0)