title: Convert seconds value to hours minutes seconds?
body: <p>I've been trying to convert a value of seconds (in a BigDecimal variable) to a string in an editText like "1 hour 22 minutes 33 seconds" or something of the kind. </p>
  
  <p>I've tried this:</p>
  
  <pre><code>String sequenceCaptureTime = "";
  BigDecimal roundThreeCalc = new BigDecimal("0");
  BigDecimal hours = new BigDecimal("0");
  BigDecimal myremainder = new BigDecimal("0");
  BigDecimal minutes = new BigDecimal("0");
  BigDecimal seconds = new BigDecimal("0");
  BigDecimal var3600 = new BigDecimal("3600");
  BigDecimal var60 = new BigDecimal("60");
  </code></pre>
  
  <p>(I have a roundThreeCalc which is the value in seconds so I try to convert it here.)</p>
  
  <pre><code>hours = (roundThreeCalc.divide(var3600));
  myremainder = (roundThreeCalc.remainder(var3600));
  minutes = (myremainder.divide(var60));
  seconds = (myremainder.remainder(var60));
  sequenceCaptureTime =  hours.toString() + minutes.toString() + seconds.toString();
  </code></pre>
  
  <p>Then I set the editText to sequnceCaptureTime String.
  But that didn't work. It force closed the app every time. I am totally out of my depth here, any help is greatly appreciated. Happy coding! </p>