[android-developers] Re: Playing a part of the video

2012-11-22 Thread Piren
http://developer.android.com/reference/android/media/MediaPlayer.html#seekTo(int) On Thursday, November 22, 2012 5:43:30 AM UTC+2, praveen castelino wrote: Can anybody help me out with this issue. I don't need any code. Guide me to the Class or documentation. Is this possible to do it in

[android-developers] Re: Playing a part of the video

2012-11-22 Thread praveen castelino
Thanks for your reply. The seekTo() method will allow you to start the video from any location but there are no APIs to set the end time or the duration. i.e. I did not find any API which allows me to play any 5 sec movie clip from a 2 hour duration movie ;( Anybody who has done this before?

[android-developers] Re: Playing a part of the video

2012-11-22 Thread skink
praveen castelino wrote: Thanks for your reply. The seekTo() method will allow you to start the video from any location but there are no APIs to set the end time or the duration. i.e. I did not find any API which allows me to play any 5 sec movie clip from a 2 hour duration movie ;( Anybody

[android-developers] Re: Playing a part of the video

2012-11-22 Thread praveen castelino
great answer :) is there anyway to fix controls UI issue as it shows the full video duration. Can we put our own custom controls? On Thursday, 22 November 2012 14:49:07 UTC+5:30, skink wrote: praveen castelino wrote: Thanks for your reply. The seekTo() method will allow you to start the

[android-developers] Re: Playing a part of the video

2012-11-22 Thread skink
praveen castelino wrote: great answer :) is there anyway to fix controls UI issue as it shows the full video duration. Can we put our own custom controls? sure you can create your own controls pskink -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Playing a part of the video

2012-11-21 Thread praveen castelino
Can anybody help me out with this issue. I don't need any code. Guide me to the Class or documentation. Is this possible to do it in android (in iOS we can)? On Monday, 19 November 2012 19:56:24 UTC+5:30, praveen castelino wrote: I have a video of duration 180 seconds. I want to play only 30