static JSONObject addSource ( JSONObject params ) { if ( params == null ) { params = new JSONObject ( ) ; } try { params . put ( "source" , "android" ) ; } catch ( JSONException e ) { e . printStackTrace ( ) ; } return params ; }
Convert the given JSONObject to string and adds source value as