Hello,
I am using the openfire version 3.9.3 and under android asmack lib (-16). If I use the class UserSearchManager I get an Exception in the command:
Form searchForm = search.getSearchForm(“search.” + mconnection.getServiceName());
The source code is for init:
// User Search
pm.addIQProvider(“query”, “jabber:iq:search”, new UserSearch.Provider());
The the function with:
UserSearchManager search = new UserSearchManager(mconnection);
Form searchForm = search.getSearchForm(“search.” + mconnection.getServiceName());
Form answerForm = searchForm.createAnswerForm();
answerForm.setAnswer(“test1”, “test2”);
The answer of the openfire server is:
02-26 17:07:47.781 11248-11378/de.test.xmpp:remote D/SMACK? 05:07:47 nachm. SENT (1107492744):
02-26 17:07:47.831 11248-11379/de.test.xmpp:remote D/SMACK? 05:07:47 nachm. RCV (1107492744):
Onto the openfire server I have configured three users. I need for my new App the information of all users onto openfire server for the client.
Best Regards
Bernd Herzmann