private String secondsToTime(int seconds){
  String time="";
  String minutesText=String.valueOf(seconds / 60);
  if (minutesText.length() == 1)   minutesText="0" + minutesText;
  String secondsText=String.valueOf(seconds % 60);
  if (secondsText.length() == 1)   secondsText="0" + secondsText;
  time=minutesText + ":" + secondsText;
  return time;
}

private String secondsToTime ( int seconds ) { String time = "" ; String minutesText = String . valueOf ( seconds / 60 ) ; if ( minutesText . length ( ) == 1 ) minutesText = "0" + minutesText ; String secondsText = String . valueOf ( seconds % 60 ) ; if ( secondsText . length ( ) == 1 ) secondsText = "0" + secondsText ; time = minutesText + ":" + secondsText ; return time ; }
convert seconds to time
