user861973
user861973

Reputation: 777

play audio file

I want to play audio file after some seconds.

Suppose total length of file is 00:00 to 00:10 second.
If I want to start audio file from 00:03 to 00:10 second, how can I?

Media player should start audio file from the duration of 00:03 second to end of file.

Upvotes: 1

Views: 324

Answers (1)

jeet
jeet

Reputation: 29199

Use media player seekTo method to seek media player to a specific time:

public void seekTo (int msec)

Upvotes: 2

Related Questions