Android Question wrap video intent to a panel

a2stepper

Member
Licensed User
i'm playing a video using intent/video and works good but is there a way i can put
that into a panel or put a background or image behind it?

thanks.
Paul
 

DonManfred

Expert
Licensed User
So android will use a suiteable app and start it. Can you confirm that your activity is being paused after you start the intent? Put a log command in activity_pause to log it
I would guess YES; another app is running to show the video.

You can use the mediaplayer i believe to show the video in your app
 

a2stepper

Member
Licensed User
yes thanks, i did download library but not working, i've tried every example in the forum and nothing works.
thanks anyway..
paul
 

a2stepper

Member
Licensed User
java.lang.RuntimeException: Object should first be initialized (VideoView). this is the error i always get on different examples.

code:

Sub Globals
Dim vv As VideoView
End Sub

Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout ("1")
vv.Initialize("vv")
Activity.AddView(vv, 10dip, 10dip, 250dip, 250dip)

vv.loadvideo("http","http://videoservice.us/mobile/photo/photo.mp4")

vv.Play

End Sub


Sub vv_Complete
Log("Playing completed")
End Sub
 
Top