Can't make my own activity in the TabWidget
===

I download [this][1] project to code a software with a `TabWidget`. I tried to put my activity  instead of the `MainActivity`but everytime, it fails. I tried to change `MainActivity` (where the's TRYTOCHANGEHERE) to my own activity but it doesn't work. Do I need to set special settings to make it work?


    Intent intent = new Intent(this, TRYTOCHANGEHERE-->MainActivity.class);
    		tabHost.addTab(tabHost.newTabSpec("Main")
    				.setIndicator("Main", res.getDrawable(R.drawable.ic_tab_main))
    				.setContent(intent));
    
    		Intent intent2 = new Intent(this, SetupActivity.class);
    		tabHost.addTab(tabHost
    				.newTabSpec("Setup")
    				.setIndicator("Setup", res.getDrawable(R.drawable.ic_tab_setup))
    				.setContent(intent2));
    		tabHost.setCurrentTab(0);


I start in Android so it is possible that it's a stupid thing, I take any comment!

Thanks!!!!
  [1]: http://www.techwavedev.com/?p=14