I am not a guru, but I have tried using VideoView.
I am using onCompletionListener() without any problems. Did you call
finish() in your onCompletionListener()?
- Zarah.
On Dec 14, 12:11 am, vtb wrote:
> Hi Guru's
> New to Android.
> I am developing an app that plays videos based on a touc
Hi Zarah
I really appreciate you getting back to me. I did put a finsh(); in
the code but the
code is in error and won't compile
Here is the code before adding, this works but obviously hangs at the
end of the video
import android.app.Activity;
import android.os.Bundle;
import android.widget.Vid
No, you don't need to change to a MediaPlayer for it to work. I think
your code doesn't hang, you just haven't told it what to do after
playing the video and that is why it is "stuck" there.
Setting up the onCompletionListener() is the same as setting up
listeners for button clicks. I added some
Hi Zarah
Thank you for your input and suggested code. I discovered a missing )
in it
the one that matches the the opening (. Unfortunately it would still
not
compile due to the video.setOnCompletion() not being recognised.
However what you provided certainly pushed me in the right direction
I added
4 matches
Mail list logo