I am streaming a video using the http option in VideoView. I am trying to use ProgressDialogShow while the video is initially being loaded until playing begins. Here is my code, but I can't determine how to remove (hide) ProgressDialogShow after the video begins.
I think the answer may be to relate ProgressDialogHide to the IsPlaying event, but I'm not sure how to use that.
B4X:
phn.SetScreenOrientation(0)
ProgressDialogShow("Please wait...")
vv.Initialize("vv")
Activity.AddView(vv, 0, 0, 100%x, 100%y)
vv.LoadVideo("http","{my_video_file_URL})
vv.Play
I think the answer may be to relate ProgressDialogHide to the IsPlaying event, but I'm not sure how to use that.