[android-beginners] Re: why I can't use movieview to play the movie came from the internet?

2009-08-25 Thread Balwinder Kaur (T-Mobile USA)
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

[android-beginners] Re: why I can't use movieview to play the movie came from the internet?

2009-08-25 Thread yjshi
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

[android-beginners] Re: why I can't use movieview to play the movie came from the internet?

2009-08-26 Thread Balwinder Kaur (T-Mobile USA)
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/

[android-beginners] Re: why I can't use movieview to play the movie came from the internet?

2009-08-26 Thread yjshi
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

[android-beginners] Re: why I can't use movieview to play the movie came from the internet?

2009-08-27 Thread yjshi
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