Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i send value in servlet by:
XML
List<String> arr=new ArrayList<String>();
                    arr.add("success");
                    String json=new  Gson().toJson(arr);
                    response.setContentType("application/json");
                    response.setCharacterEncoding("UTF-8");
                    response.getWriter().write(json);

how i get this arr value in android plz explain friends...!
Posted
Comments
David Crow 20-Jun-17 21:59pm    
What exactly does "how i get this arr value in android" mean? Are you sending data? Are you receiving data? Are you trying to populate a control (i.e., widget) on an Android layout? Be specific.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900