how to create a tabhost without xml layout?
<p>currently I am developing an Android game which does not include an XML layout; instead we dealing directly with the Android engine.</p>

<p>In an activity, I need to create a tab host which contains 3 tabs.</p>

<p>I am using this code:</p>

<pre><code>public class InventoryActivity extends BaseGameActivity{
    public Engine onLoadEngine() {
         this.mCamera = new Camera(0, 0, CAMERA_WIDTH, CAMERA_HEIGHT);
         return new Engine(new EngineOptions(true, ScreenOrientation.PORTRAIT, new RatioResolutionPolicy(CAMERA_WIDTH, CAMERA_HEIGHT), this.mCamera));
    }

    public void onLoadResources() {
    }

    public Scene onLoadScene() {
    }
}
</code></pre>

<p>I am not using findViewById.</p>

<p>How should I call to create a tabhost?</p>
