title: Android 3.1 / Galaxy Tab / VideoView won't play
body: <p>My app downloads a video file from a server and plays it using VideoView. I am using a H264 (AVC) encoded file in an .mp4 container.</p>
  
  <p>On my Motorola Xoom with 3.0.1, it works perfectly.</p>
  
  <p>On my Samsung Galaxy Tab 10.1 with 3.1, it does not work. I simply get an error message 'Sorry, the video cannot be played'. Trapping the error in code simply gives me 'MEDIA_ERROR_UNKNOWN'.</p>
  
  <p>I suspect a codec problem (<em>despite</em> my codec being valid, according to <a href="http://developer.android.com/guide/appendix/media-formats.html">http://developer.android.com/guide/appendix/media-formats.html</a>). I take the same video file and manually copy it to the device - the device prompts me to convert the video. The resulting file plays fine in the Video app on the device. I take the file back off the device (inspected it in VLC tells me the video codec is now mp4v) and try to play it through my app - same result.</p>
  
  <p>Is there something specific about 3.1, or the Galaxy Tab, that is causing this problem?</p>