I'm receiving data in an ReportedData variable. And I have no clue how to get the data out, into a parsable form, pls help.
The javadoc isn't very helpful.
Here is how it all started.
I've tried getCollumns, getRows, to no avail. Or I'm just doing it wrong. Any thoughts?
Here is the code:
ReportedData data = null;
UserSearchManager search = new UserSearchManager(ChatList.connection);
Form searchForm = null;
try {
searchForm = search.getSearchForm("search.webserv.xyz.com");
} catch (XMPPException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Form answerForm = searchForm.createAnswerForm();
answerForm.setAnswer("Username", true);
answerForm.setAnswer("search", "android");
answerForm.setAnswer("last", "android");
try {
data = search.getSearchResults(answerForm, "search.webserv.xyz.com");
} catch (XMPPException e) {
e.printStackTrace();
}