Tabactivity类中调用fragment
tabActionBar.addTab(tabActionBar
.newTab()
.setText(R.string.calulator)
.setTabListener(
new MyTabListener<CalulatorFragment>(this,
CalulatorFragment.class)));
运行之后出现: 09-26 23:42:10.713: E/AndroidRuntime(12863): java.lang.IllegalStateException: Could not find a method onButtonClickHandler(View) in the activity class com.tcl.viewui.MainTabActivity for onClick handler on view class android.widget.Button with id ‘btn_1