i would like to know whether i can schedule the timer again after i cancelled it. It was stated here, http://www.coderanch.com/t/452066/java/java/Exception-timer-IllegalStat
Have you tried using a Runnable handler and setting it to regular intervals? Something like this:
private Handler mUpdateHandler = new Handler();
private Runnable mUpdateRunnable = new Runnable() {
public void run() {
mUpdateHandler.postDelayed(this, delay);
}
};
mUpdateHandler.postDelayed(mUpdateRunnable, delay);
where you specify the delay as you wish and you can do whatever you need to do in run().