1

I have tried to play video file from sdcard. Initially I need to start playing media from 00:00:03. Guide me to do this.

Bart
  • 19,692
  • 7
  • 68
  • 77

2 Answers2

0

If you are using MediaPlayer use the seekTo(int). Note that the argument will be in milliseconds.

Take a look here for more information.

Bart
  • 19,692
  • 7
  • 68
  • 77
Yicanis
  • 328
  • 1
  • 17
  • I am using videoview only.On that I had used seekTo.But that's not working... :( –  Oct 16 '12 at 07:34
0

Default VideoView doesn't support seek functionality.

You can either make your own custom video view or use this library suggested in one answer already.

Community
  • 1
  • 1
MKJParekh
  • 34,073
  • 11
  • 87
  • 98