Exception when use android tabs with intent to start activity
I have an error when i use intent to start activity when i choose a tab
intent = new Intent().setClass(this, tab1.class);
mTabHost.addTab(mTabHost.newTabSpec("tab_test1").setIndicator("Search").setContent(intent));
the erroe is
Sorry !
The Application has stopped unexpe开发者_如何学Cctedly , please try again later
look here for a possible solution (this seems to be a common TabHost issue)
You've most likely not defined the classes (activities) you are trying to load in your AndroidManifest.xml.
精彩评论