Possible Duplicate:
Implementing counter in Android
I need to implement the TimerTask. the Scenario is I am going to get a response from the server. If the server does not repond more than 10 seconds then i have to navigate to the next activity.
How to implement that? Please Help.