I set a path in the VideoViewDemo.
code
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.videoview);
mVideoView = (VideoView) findViewById(R.id.surface_view);
path="rtsp://125.76.233.38/h263.3gp";
mVideoView.setVide
I set a path in the VideoViewDemo.
code
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.videoview);
mVideoView = (VideoView) findViewById(R.id.surface_view);
path="rtsp://125.76.233.38/h263.3gp";
mVideoView.setVide
It may not be a good idea to use Classes from the com.android.camera
package since that is not part of the SDK. The MovieView is an
internal class are classes used by the Camera app.
Did you try using the VideoView class, with the setVideoURI
("rtsp://... ") method?
http://developer.android.com/
The code is in the following.
Uri uri=Uri.parse(url);
Intent intent =new Intent();
intent.setDataAndType(uri, "video/*");
intent.setClassName("com.android.camera",
"com.android.camera.MovieView");
i
You have not setup the MediaPlayer properly that is why you have an
error. Could you please post your code ?
Also, I guess you mean VideoView not MovieView (although I do some
references to a MovieView in the documentation for MediaStore)
Balwinder Kaur
Open Source Development Center
·T· · ·Mobil
5 matches
Mail list logo