Hi Robinns Thanks for your help thanks for response. your code help me a lot
On Tue, Jan 10, 2012 at 5:25 PM, Robinns <librain.ro...@gmail.com> wrote: > private void parseJson(String j){ > JSONObject jObj = new JSONObject(j); > JSONArray jArray - jObj.getJSONArray("data"); > for(int i=0;i<jArray.length();i++){ > JSONObject post = jArray.getJSONObject(i); > System.out.print(post.getString("id")); > } > > } > > Hope it helps > > On Tue, Jan 10, 2012 at 5:33 PM, chowdary nani > <naveenneeli...@gmail.com>wrote: > >> >> Hi All, >> I am working with json parsing >> Following is my json object will please any one help me how to parse id >> from that object in android >> >> {"data":[{"id":"38314877099_10150452362217100"}]} >> >> >> Thanks >> Naveen >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > > > -- > Robin > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en