Reputation:
On googlemap if my app user creates any maker I am storing that marker location details as a parse object,
now I want to retrieve all location details of all markers, how to do it. I already gone through parse.com tutorial links.
Upvotes: 8
Views: 7715
Reputation: 1178
Try something like....
ParseQuery<ParseObject> query = new ParseQuery<ParseObject>("GreenMarkers");
query.findInBackground(new FindCallback<ParseObject>() {
public void done(List<ParseObject> markers, ParseException e) {
if (e == null) {
// your logic here
} else {
// handle Parse Exception here
}
}
});
This should get all items from the "GreenMarkers" table.
Upvotes: 16