android - Error: no results found for query -
when i've tried run code:
parsequery<parseuser> query = parsequery.getquery("user"); query.getinbackground(fblogin.userobjid, new getcallback<parseuser>() { public void done(parseuser object, parseexception e) { if (e == null) { ... } else { log.e("tag", "error: " + e.getmessage()); } } });
the "fblogin.userobjid" parse user id:
userobjid = (string) user.get("objectid");
well, when i've tried run code, got message:
11-27 13:48:32.827: e/tag(27174): error: no results found query
what need fix it?
instead of:
userobjid = (string) user.get("objectid");
i wrote:
userobjid = parseuser.getcurrentuser().getobjectid();
Comments
Post a Comment