Back to project page android-google-places.
The source code is released under:
Copyright (c) 2012 Greg Marzouka Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft...
If you think the Android project android-google-places listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.gmarz.googleplaces.models; /*from w ww. ja v a 2s. c om*/ import org.json.JSONException; import org.json.JSONObject; public class DetailsResult extends Result { private PlaceDetails mDetails; public DetailsResult(JSONObject jsonResponse) throws JSONException { super(jsonResponse); if (jsonResponse.has("result")) { JSONObject result = jsonResponse.getJSONObject("result"); mDetails = new PlaceDetails(result); } else { mDetails = PlaceDetails.getEmpty(); } } public PlaceDetails getDetails() { return mDetails; } }