VideoView is not working in tablet and working on device
<p>When i am running app in Tablet it is giving null pointer exception in Video View but working fine in device i am not getting this      </p>

<pre><code>private void playVideo() {
    // TODO Auto-generated method stub
    getWindow().setFormat(PixelFormat.TRANSLUCENT);
    uri = "android.resource://" + getPackageName() + "/" +R.raw.isauro;
    vv.setVideoURI(Uri.parse(uri));
    vv.start();
    /*MediaController controller=new MediaController(this);
    vv.setMediaController(controller);
    vv.requestFocus();*/
    vv.setOnCompletionListener(new MediaPlayer.OnCompletionListener(){
        @Override
        public void onCompletion(MediaPlayer mp){
            // invoke your activity here
            video_layout.setVisibility(View.GONE);
            main_layout.setVisibility(View.VISIBLE);
            mp = null;
        } 
    });
}
</code></pre>

<p>here is my code </p>

<p>And my code for videview is:- </p>

<pre><code>  &lt;VideoView
    android:id="@+id/videoView"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:layout_alignParentBottom="true"
    android:layout_alignParentLeft="true"
    android:layout_alignParentRight="true"
    android:layout_alignParentTop="true" &gt;
&lt;/VideoView&gt;
</code></pre>

<p>i need urgently plz help me:-</p>
