title: Android Things video playback on Raspberry Pi
body: <p>Has anyone been able to successfully play a video using Android Things on a Raspberry Pi? If so was there anything special you had to do to get it to work? If not does any one know why it isn't working?</p>
  
  <p>I made a simple video player that plays a local video from disk. The app runs fine on a phone but I get an error dialog on the Pi saying "Can't play this video".</p>
  
  <p>One Thing I have already ran into but I think I solved was there are no content providers in Android Things, so instead of using a uri for the video source I gave it a file directly like so.</p>
  
  <p>EDIT: Code edit</p>
  
  <pre><code>VideoView videoPanel;
  .
  .
  .
  videoPanel.SetVideoURI(Android.Net.Uri.FromFile(new Java.IO.File("/sdcard/Movies/videoFile.mp4")));
  </code></pre>