After I Bind to a service inside the
onServiceConnected()
method I start a CountDownTimer. The problem is that the timer does not start counting down. I have gone through with the debugger and sure enough it is executing the method that starts the Timer.
If I use a button to start the timer it works! What could I be doing wrong?
It is possible
onServiceConnected()is being fired too early or something. Try callingpostDelayed()on yourCountDownTimer, supplying aRunnablethat starts theCountDownTimerand a delay of, say, 250ms.