ParseQuery<ParseObject> query = ParseQuery.getQuery("HELLO");
query.whereEqualTo("A", string);
query.getFirstInBackground(new GetCallback<ParseObject>() {
public void done(ParseObject object, ParseException e) {
if (object == null) {
// 無資料
Log.d("score", " not Retrieved the object.");
} else {
// 取得相對應資料
Log.d("score", object.getString("NAME"));
}
}
});
沒有留言:
張貼留言