I am a php programmer and I am trying to learn JAVA. I have problem trying to parse a json file. It\'s been for 3 days..having a headache at this. I am create an android a
use this code:
JSONObject json = JSONfunctions.getJSONfromURL("http://metalgearrisingguide.com/samplejson.json"); try{ JSONArray products = json.getJSONArray("product"); for(int i=0;i