title: Is it possible to get the resolution of a video in Android?
body: <p>I'm looking for a way to get the resolution of any given video in Android. It doesn't have to work with other formats than the ones supported in Android, but it'd be great if it did. If you're unsure of the supported formats in Android, please refer to this page:</p>
  
  <p><a href="http://developer.android.com/guide/appendix/media-formats.html">http://developer.android.com/guide/appendix/media-formats.html</a></p>
  
  <p>I think it's possible to do what I want using the <code>MediaPlayer</code> class, but that seems incredibly stupid and inefficient. Also, I'd like a way that's <em>relatively</em> fast.</p>
  
  <p>I'm targeting Android 3.0+, if that makes any difference. Honeycomb also supports .mkv files, although it's not officially supported until Android 4.0.</p>