Hi all,

this is the complete code from start to finish.. tried several
different codes, and none seem to work via the Emulator ..any help
please

TIA
Cheers




package org.example.com;

import android.app.Activity;
import android.os.Bundle;
import android.widget.VideoView;

public class Video extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        //Fill view from resource

        VideoView video = (VideoView)findViewById(R.id.Video);

        //Load and start the movie
        video.setVideoPath("http://www.youtube.com/watch?v=6ej-
imJWuno");
        video.start();


}
}

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to