public class XiaoI {
private String Webbot_Path = "http://webbot.xiaoi.com/engine/widget1007/webbot.js?encoding=utf-8";
private String Send_Path = "http://122.226.240.164/engine/widget1007/send.js?encoding=utf-8&";
private String Recv_Path = "http://122.226.240.164/engine/widget1007/recv.js?encoding=utf-8&";
private String mSessionId = null;
private HttpClient httpClient = null;
public boolean initialize() {
boolean success=false;
HttpParams httpParams = new BasicHttpParams();
HttpConnectionParams.setConnectionTimeout(httpParams, 30000);
HttpConnectionParams.setSoTimeout(httpParams, 30000);
httpClient = new DefaultHttpClient(httpParams);
try {
String strGetId = Webbot_Path;
HttpGet httpRequest = new HttpGet(strGetId);