title: onActivityResult() works weird
body: <p>First of all, this is not a problem about getting results from an Activity.</p>
  
  <p>I've this code:</p>
  
  <pre><code>    public void onActivityResult(int requestCode,int resultCode, Intent pData)
          {
       if ( requestCode == CODIGO_RESPUESTA )
             {
          if (resultCode == Activity.RESULT_OK )            {
              final String dato =  pData.getExtras().getString("valorid");//Obtengo el string de la subactividad
              Target =  pData.getExtras().getString("valorSujeto");
              String a=Target;
              id=Long.parseLong(dato);
              Reset();
          }
      }
  }
  </code></pre>
  
  <p>Okay, here's the problem: The Reset() function works if called everwhere in the code, but fails when it's called from this onActivityResult()</p>
  
  <p>When I say it fails, I mean weird things happen: Reset() is a function which manages a Chronometer, and preset it to determinates values. Reset() used in everywhere in the code results in a correct reset of Chronometer. But called from onActivityResults, it's futile.</p>
  
  <p>I'm totally newbie in Java/Android programming, but I've been looking for this question and I've not found anything.  </p>
  
  <p>I'd appreciate your help, thank you!</p>
  
  <p>Edit: Reset()</p>
  
  <pre><code>    public void ResetCrono() {
             TimeRef=timeWhenStopped;
             Cronometro.setBase(SystemClock.elapsedRealtime() + timeWhenStopped+offsetTotalms);
             CronometroParcial.setBase(SystemClock.elapsedRealtime() - timeWhenStoppedRelative +offsetTotalms);
             Cronometro.start();
             Cronometro.stop();
             CronometroParcial.start();
             CronometroParcial.stop();
            }
  </code></pre>