How can I access a view of an activity from another activity
<p>I need to hide the tabs of a TabHost from a child activity. I tried <code>getParent()</code> and it didnt work</p>

<p>Also tried :</p>

<pre><code>TabHost th = (TabHost) ((TabsActivity)getBaseContext()).findViewById(android.R.id.tabhost);
        th.setVisibility(View.INVISIBLE);
</code></pre>

<p>But it throws a nullpointer</p>
