I ran into a problem related to parse.com I want to get data for perticular objectId ... I used the following code to get data, but it seems to depreciate .. since it returned after an exception
no results found for query
I used the following code to get the objectId data form:
ParseQuery<ParseObject> query = new ParseQuery<ParseObject>("User");
query.getInBackground("U8mCwTHOaC", new GetCallback() {
public void done(ParseObject object, ParseException e) {
Log.d(">>>", "0000>>>" +objid);
dlg.dismiss();
if (e == null) {
Log.d(">>",">>"+object);
} else {
Log.d(">>",">>"+e);
}
}
});
Here "U8mCwTHOaC" is my objectId, I want to get a string of this object Id.Thanks in advance.
source
share