Table layout in android apps
<p>I am creating one apps in which i want to use two row. but when i write this code it is not showing any output.it showing this error in the logcat file .<b>"Requires development platform xx but this is a release platform."</b>can any one help on this topic. </p>

<pre><code>public  class SongsActivity extends Activity{

    DemoView demoview ;
    DemoView2 finalview;
    DemoView3 dview;
    DemoView4 deview;

    ViewFlipper c ;
    TableLayout d;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.songs_layout);
        demoview = new DemoView(this);
        finalview = new DemoView2(this);
        dview= new DemoView3(this);
        deview = new DemoView4(this);
         d= new TableLayout(this);

         TableRow rw1=new TableRow(this);
         TableRow rw2=new TableRow(this);
        c=(ViewFlipper)findViewById(R.id.viewFlipper1);
        c.addView(demoview,0);
        c.addView(finalview, 1);
        c.addView(dview, 2);
        c.addView(deview, 3);
        c.setAutoStart(true);
        c.setFlipInterval(500);
        c.startFlipping();
        rw1.addView(c);
        rw2.addView(c);
        d.addView(rw2);
        d.addView(rw1);
        setContentView(d);
    }
</code></pre>
