i'm trying fix issue past 12 hours.
i've narrowed down problem - when use following code, i'm not able pin object. when run query later, returns 0 results.
parsefile file = new parsefile("image.png", bytearray); file.saveinbackground(); chatobject.put("picture", file);
but, when don't add parsefile chatobject, i'm able pin object , query later.
the following way i'm pinning object -
chatobject.pininbackground("unsent", new savecallback() { @override public void done(parseexception e) { if (e != null) { e.printstacktrace(); } } });
i'm pretty sure code correct. knows how fix ?
Comments
Post a Comment