[android-developers] Sequence of Events for video playback using MediaPlayer

2010-03-24 Thread Sandeep Prakash
Hi All, I have 2 doubts in using the MediaPlayer class exposed in android: 1. What is the correct sequence of events for playing the same video clip multiple times without exiting the player? The sequence I am following is: (surfaceCreated)-new MediaPlayer-setDataSource-setDisplay-

[android-developers] Re: Custom MediaPlayer Interface Thru JNI

2010-03-12 Thread Sandeep Prakash
Hi Kavitha, You can look up the source code of android to get an idea about how Android have implemented the MediaPlayer interface in Java. You can follow on similar lines. Cheers Sandeep -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Custom MediaPlayer Interface Thru JNI

2010-03-11 Thread Sandeep Prakash
Hi All, I was trying to mimic the MediaPlayer Java interface provided by the Android Framework by writing a similar Java-JNI layers. I have found one observation regarding this. case 1: The Java layer is very similar to the MediaPlayer.java code. But on the JNI side, I am creating a thread

[android-developers] Overriding MediaPlayer Java Interface

2010-03-09 Thread Sandeep Prakash
Hi, I am trying to build a mediaplayer in android by by-passing the Android's built-in MediaPlayer Java interface. I am using the corresponding MediaPlayer class defined in media/libmedia/ mediaplayer.cpp. I have written a corresponding JNI layer for interaction with the Java UI. The Surface I am

[android-developers] Re: Using Surface in the Native Code

2010-02-08 Thread Sandeep Prakash
, Sandeep Prakash 123sa...@gmail.com wrote: Hi all, I am planning to write a video player application and I am planning to use the gstreamer on the native side. I am trying to use the SurfaceFlinger for the rendering part. For this I have written a test program to experiment on the rendering

[android-developers] Using Surface in the Native Code

2010-02-03 Thread Sandeep Prakash
Hi all, I am planning to write a video player application and I am planning to use the gstreamer on the native side. I am trying to use the SurfaceFlinger for the rendering part. For this I have written a test program to experiment on the rendering part. I am using the surface flinger wrapper