tags:

views:

10

answers:

1

In android media player has getCurrentPosition() which tell me how long that media has been played (in second). But why there is no equivalent for media recorder? How can I find out how long has elapsed when recoding an audio?

A: 

How can I find out how long has elapsed when recoding an audio?

Keep track of it yourself, using SystemClock.elapsedTime().

CommonsWare