How to play mp4, do not use videoView and Activity
<p>In this case extends Activity, I know you can use videoview to play mp4.</p>

<p>I study the book &lt;&lt; Beginning Android Games >>. Like MR.Nom this project(<a href="https://dl.dropbox.com/u/41777277/ch06-mr-nom.zip" rel="nofollow">https://dl.dropbox.com/u/41777277/ch06-mr-nom.zip</a> this is the project source), and not the extends activity, how to play MP4.</p>

<pre><code>public class MainMenuScreen extends Screen {
public MainMenuScreen(Game game) {
super(game);               
 }   

@Override
public void update(float deltaTime) {
Graphics g = game.getGraphics();
List&lt;TouchEvent&gt; touchEvents = game.getInput().getTouchEvents();
game.getInput().getKeyEvents();       

int len = touchEvents.size();
for(int i = 0; i &lt; len; i++) {
    TouchEvent event = touchEvents.get(i);
    if(event.type == TouchEvent.TOUCH_UP) {
        if(inBounds(event, 0, g.getHeight() - 64, 64, 64)) {

             Settings.soundEnabled = !Settings.soundEnabled;
            if(Settings.soundEnabled)
                Assets.click.play(1);
        }
        if(inBounds(event, 64, 220, 192, 42) ) {
            game.setScreen(new GameScreen(game));
            if(Settings.soundEnabled)
                //Assets.click.play(1);
                {
                Log.v("ccdd","a1");
           // Assets.bgMusic.play();
            //Assets.bgMusic.setLooping(true);

             //here I want to play mp4 in res/raw/abc.mp4
                //here I want to play mp4 in res/raw/abc.mp4
                //here I want to play mp4 in res/raw/abc.mp4
                //here I want to play mp4 in res/raw/abc.mp4
            }
            return;
        }
        if(inBounds(event, 64, 220 + 42, 192, 42) ) {
            game.setScreen(new HighscoreScreen(game));
            if(Settings.soundEnabled)
                Assets.click.play(1);
            return;
        }

    }
}
</code></pre>

<p>}</p>
