Hi, JSONObject holder = new JSONObject();
holder.put("Key1","Value1"); holder.put("Key2","Value2"); holder.put("Key3","Value3"); holder.put("Key4","Value4"); String jsonrequest = holder.toString(); but while sending request the format is changing to {"Key2":"Value2","Key3":"Value3","Key4":"Value4","Key1":"Value1"} but i want this format {"Key1":"Value1","Key2":"Value2","Key3":"Value3","Key4":"Value4"}. so please help me how can i achieve this. Thanking you, nagu. -- 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