Back to project page worldwondersproject.
The source code is released under:
MIT License
If you think the Android project worldwondersproject 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 com.ciandt.cursoandroid.worldwondersapp.integrator; /*www . j a v a 2 s. c om*/ import com.ciandt.cursoandroid.worldwondersapp.infrastructure.Constants; import org.json.JSONObject; public class PlaceIntegrator extends BaseIntegrator { public JSONObject getAllPlaces() { JSONObject jsonObject = new JSONObject(); try { jsonObject = (JSONObject) doGetRequest(Constants.Integrator.WorldWondersApi.PROTOCOL, Constants.Integrator.WorldWondersApi.HOST, Constants.Integrator.WorldWondersApi.WORLD_WONDERS_LIST); } catch (Exception ex) { ex.printStackTrace(); } finally { return jsonObject; } } }