在TabHost中打开新的Intent时,按照通常的方法,会丢失Tab组,这时的Activity要继承自ActivityGroup,同时用如下方法打开新的Intent——
public class MyActivity extends ActivityGroup {
}....
Intent intent = new Intent(Class.this, New.class);
intent.putExtra...View view_record = getLocalActivityManager().startActivity(TAG, intent).getDecorView();
setContentView(view_record);....