- Code: Select all
intent = new Intent().setClass(this, NameActivity.class);
spec = tabHost.newTabSpec("title").setIndicator("Title",
res.getDrawable(R.drawable.ic_tab_name))
.setContent(intent);
tabHost.addTab(spec);
I want to update this Title from an event in my app. is there anyway to do this?