public void startQuery(String user_id) { targetUserID = user_id; MyQueueData data = new MyQueueData(MyQueueData.CMD_NET); data.mCmd = MyQueueData.CMD_NET; data.setValue("xyid", String.valueOf(MyTcpClient.XYID_B)); data.setValue("uid", targetUserID); mClient.pushCommand(data); }
public void startLogin(String login_id, String login_pwd) { gmUserID = login_id; gmPassword = login_pwd; MyQueueData data = new MyQueueData(MyQueueData.CMD_NET); data.mCmd = MyQueueData.CMD_NET; data.setValue("xyid", String.valueOf(MyTcpClient.XYID_LOGIN)); data.setValue("uid", gmUserID); data.setValue("pwd", gmPassword); data.setValue("device", myPhone); mClient.pushCommand(data); }