Back to project page innovativeproject-meetingdataexchange.
The source code is released under:
MIT License
If you think the Android project innovativeproject-meetingdataexchange 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 serverCommunicator; /*from www .j a v a 2 s. co m*/ import org.json.JSONException; import org.json.JSONObject; public class GetPersonalDataHelper { public String[] parseJSONRespondGetServerName(String input) throws JSONException,NullPointerException { String[] result= new String[2]; String nick=null; String email=null; JSONObject obj= new JSONObject(input); nick=(String) obj.get("name"); email=(String) obj.get("email"); if(nick==null||email==null)throw new NullPointerException(); result[0]=nick; result[1]=email; return result; } }