Android SetActivityForResult for Tab Activity
<p>How can i use SetActivityForResult() in the below  code</p>

<pre><code>Resources res = getResources(); 
TabHost tabHost = getTabHost();  
TabHost.TabSpec spec;  
Intent intent;  

intent = new Intent().setClass(this, ArtistsActivity.class);


spec = tabHost.newTabSpec("artists").setIndicator("Artists",
                  res.getDrawable(R.drawable.ic_tab_artists))
              .setContent(intent);
tabHost.addTab(spec);
</code></pre>
