title: Disable button in onActivityResult
body: <p>I have a button to take picture inside a listview inside a pageviewer.
  So, in the listview's adapter, I have an onclick event to take pic.
  What I want is that getting the button object to disable it in the onActivityResult ( Inside activity)
  I tried to use : </p>
  
  <pre><code>ListView lstForm;               
  View v = (View) lstForm.getItemAtPosition(position);
  </code></pre>
  
  <p>But I just access data not button.</p>
  
  <p>Here is my getView() method in FormAdapter</p>
  
  <pre><code>public View getView(final int position, View convertView, ViewGroup parent) {
      View vi = convertView;
      final ViewHolder holder;
      try {
          if (convertView == null) {
              vi = inflater.inflate(R.layout.row_lista_form, null);
              holder = new ViewHolder();
  
              holder.item = (TextView) vi.findViewById(R.id.item);
              holder.valor = (EditText) vi.findViewById(R.id.valor);
              holder.imgCam = (ImageView) vi.findViewById(R.id.cambutton);
              vi.setTag(holder);
          } else {
              holder = (ViewHolder) vi.getTag();
          }
          String marca = lForm.get(position).getMarca() + "\n" + lForm.get(position).getProducto();
  
          String valor = lForm.get(position).getCantidad();
          if (valor == null || valor.equals("null"))
              valor = "";
          holder.item.setText(marca);
          holder.valor.setText(valor);
  
          holder.imgCam.setOnClickListener(new OnClickListener() {
  
              @Override
              public void onClick(View v) {
                  Toast.makeText(ctx, "elemento numero:" + position + " metricaId:" + metricaId, Toast.LENGTH_SHORT)
                          .show();
                  takePic(TAKE_PIC_REQUEST, position, metricaId);
              }
          });
  
      } catch (Exception e) {
  
      }
      return vi;
  }
  </code></pre>