MediaController is not shown after onResume()
<p>This is my activity for a video player:</p>

<pre><code>public class myActivity extends Activity
         implements MediaPlayer.OnPreparedListener, 
                    MediaController.MediaPlayerControl {
....
}
</code></pre>

<p>and in its <code>onPause</code> method I don't release the <code>MediaPlayer</code> and I just <code>pause</code> it:</p>

<pre><code>@Override
protected void onPause() {
    super.onPause();
    lastPlaybackInfo.IsPlaying = mMediaPlayer.isPlaying();
    mMediaPlayer.pause();
    lastPlaybackInfo.SeekPosition = mMediaPlayer.getCurrentPosition();
}
</code></pre>

<p>and in <code>onResume</code></p>

<pre><code>@Override
protected void onResume() {
    super.onResume();
        if (mMediaPlayer != null) {
            if (lastPlaybackInfo.IsPlaying) {
                mMediaPlayer.start();
            } else {
                mMediaPlayer.seekTo(lastPlaybackInfo.SeekPosition);
            }
            mMediaController.show();
        }
}
</code></pre>

<p>and the onTouchEvent:</p>

<pre><code>@Override
public boolean onTouchEvent(MotionEvent event) {
            mMediaController.show();
            return true;
}
</code></pre>

<p>I have two problems:</p>

<ol>
<li><p>The first problem is that the once the app is resumed, the <code>MediaController</code> which is tied to <code>MediaPlayer</code> is shown only one time (the call in <code>onResume</code>), and after that, the calls in <code>onTouchEvent</code> doesn't show <code>MediaController</code>.</p></li>
<li><p>The second one is that, if <code>MediaPlayer</code> was paused before app getting paused, after resuming the app, the <code>SurfaceView</code> tied to <code>MediaPlayer</code> is black and doesn't show the very last rendered frame.</p></li>
</ol>
