Mediaplayer Getduration Returns -1412558917
I'm totally lost in this. I found the code pretty simple, and didn't find in the documentation any reason why would return a negative number that large. The code is as follows priv
Solution 1:
Have you tried adding mediaPlayer.prepare();
before you return the duration?
Post a Comment for "Mediaplayer Getduration Returns -1412558917"