Code example for JSONException

Methods: toString

0
                	json_data.getString("phraseal_feedback"),
                	my_layout,this,
                	json_data.getInt("precond_id"),true,mp));  //precond id is the sensor id to be activated to run the AP
            } 
        }catch(JSONException e){
            Log.e(TAG, " user response: Error parsing data "+e.toString());
        } 
         
        filterUserActions(); 
         
        showLabels(); 
         
        container_layout.addView(my_layout);
         
        my_layout.setOnClickListener(new View.OnClickListener() {			
			@Override 
			public void onClick(View v) {
				resetAllActionsPossibilities(); 
			}		});	 
        //my_layout.invalidate();container_layout.invalidate(); 
        //container_layout.requestLayout();my_layout.requestLayout();