in my android application i\'m using Timer schedule.but getting Timer-0 fatal exception as below.how can i remove it.i have also mentioned code below -
01-28 13:
runOnUiThread(new Runnable() {
public void run() {
//stuff that updates ui
}
});
try this
also look at
Android "Only the original thread that created a view hierarchy can touch its views."
CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch views
Only the original thread that created a view hierarchy can touch its views