com作为我的android应用程序的后端,但当我尝试显示从服务器返回的对象时,它不会完全显示值,而是显示为com.parse.ParseObject@c1 ....所以有人可以请帮助我这个? 我的代码是
ParseQuery<ParseObject> query = ParseQuery.getQuery(Constants.wifiClass);
query.whereEqualTo("keyvalue", -72);
query.findInBackground(new FindCallback<ParseObject>() {
public void done(List<ParseObject> scoreList, ParseException e) {
if (e == null) {
try {
Log.d("score", "Retrieved " + scoreList.get(0).fetch().getInt("keyvalue") + " scores");
} catch (ParseException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
Object[] objectArray = scoreList.toArray();
location=String.valueOf(objectArray[0]);
} else {
Log.d("score", "Error: " + e.getMessage());
location=e.toString();
}
}
});