我有以下代码...
// register new user
ConnectionRequest r = new ConnectionRequest();
r.setUrl(sUrlWebSvc);
r.setPost(true);
r.addArgument("Rest", "1"); //
r.addArgument("Req", "Register"); // R = register
r.addArgument("UserName", findField(f, "txtUserName"));
r.addArgument("Password", findField(f, "txtPassword"));
r.addArgument("FirstName", findField(f, "txtFirstName"));
r.addArgument("LastName", findField(f, "txtLastName"));
r.addArgument("Address", findField(f, "txtAddress"));
r.addArgument("City", findField(f, "txtCity"));
r.addArgument("State", findField(f, "txtState"));
r.addArgument("ZipCode", findField(f, "txtZipCode"));
r.addArgument("Email", findField(f, "txtEmail"));
// show spinning dialog while connecting
InfiniteProgress prog = new InfiniteProgress();
Dialog dlg = prog.showInifiniteBlocking();
r.setDisposeOnCompletion(dlg);
NetworkManager.getInstance().addToQueueAndWait(r);
byte[] temp = r.getResponseData();
有人可以解释一下如何将响应的数据放入哈希表中,以便我可以查找各种项目...