FileDocCategorySizeDatePackage
MediaDump.javaAPI DocAndroid 5.1 API1860Thu Mar 12 22:22:30 GMT 2015com.android.mediadump

MediaDump

public class MediaDump extends android.app.TabActivity
A media tool to play a video and dump the screen display into raw RGB files. Check VideoDumpView for tech details.

Fields Summary
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);

        // TODO: Read/Write the settings.

        setContentView(R.layout.main);

        TabHost tab = getTabHost();

        // Setup video dumping tab
        TabHost.TabSpec videoDumpTab = tab.newTabSpec("VideoDump");
        videoDumpTab.setIndicator("VideoDump");

        Intent videoDumpIntent = new Intent(this, VideoDumpActivity.class);
        videoDumpTab.setContent(videoDumpIntent);

        tab.addTab(videoDumpTab);

        // Setup rgb player tab
        TabHost.TabSpec rgbPlayerTab = tab.newTabSpec("RgbPlayer");
        rgbPlayerTab.setIndicator("RgbPlayer");

        Intent rgbPlayerIntent = new Intent(this, RgbPlayerActivity.class);
        rgbPlayerTab.setContent(rgbPlayerIntent);

        tab.addTab(rgbPlayerTab);