I have a TabActivity. Each tab point to a sub activity. This works great.
Is there any clever way to refresh one of the activity tabs? I just want to \'restart\' th
You can restart the Activity by setting flag. The code is as below.
spec = tabHost .newTabSpec("tab1") .setIndicator("FirstActivity") .setContent(new Intent(this,MyFirstActivity.class) .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)); tabHost.addTab(spec);