title: Binary XML file Line: Error inflating class io.vov.vitamio.widget.CenterLayout
body: <p><strong>main.xml</strong></p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;io.vov.vitamio.widget.CenterLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@+id/video_root"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@android:color/black"
          android:orientation="horizontal" &gt;
  
          &lt;io.vov.vitamio.widget.VideoView
              android:id="@+id/video"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:fitsSystemWindows="true"
              android:saveEnabled="true" /&gt;                   
  
      &lt;/io.vov.vitamio.widget.CenterLayout&gt;
  </code></pre>
  
  <p><strong>MainActivity.java</strong></p>
  
  <p>public class MainActivity extends Activity {</p>
  
  <pre><code>private String path = "http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8";
  private VideoView mVideoView;
  
  
  
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main); 
  
      test_2();             
  } 
  
  private void test_2() throws VitamioNotCompatibleException, VitamioNotFoundException, NameNotFoundException{
      VR.init(getApplicationContext());
     mVideoView =(VideoView)findViewById(R.id.VideoView);
     mVideoView.setVideoPath(path);
     mVideoView.setVideoQuality(MediaPlayer.VIDEOQUALITY_HIGH);
     mVideoView.setMediaController(new MediaController(this));
  }
  </code></pre>
  
  <p>}</p>
  
  <p><strong>Manifest.xml</strong></p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.videovit"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="15" /&gt;
      &lt;uses-permission android:name="android.permission.GET_TASKS" /&gt;
  
      &lt;application
  
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/title_activity_main" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  
      &lt;/application&gt;
  
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Error: when I run the program, i got error on main.xml. i dont know what is the main problem in this code. i try to play flv file from remote url in videoview. i also try to add  in manifest file. but dnt knw what liabrary i should add in that.</p>