Thanks for responses. Erel this is the code
Dim video1 As VideoView
Private videobutton1 As Button
Private videobutton2 As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("videoalbum")
video1.Initialize("video1")
Activity.AddView(video1,25dip,135dip,300dip,200dip)
videobutton1.Text = "Play Video One"
videobutton2.Text = "Play Video Two"
Sub videobutton1_Click
video1.LoadVideo("http","
http://www.bitein.com/mempic/mona@bitein.com/video1.mp4")
video1.Play
End Sub
Sub videobutton2_Click
video1.LoadVideo("http","
http://www.bitein.com/mempic/"& Main.mainemail&"/video2.avi")
video1.Play
End Sub
I am testing with a video file called "video1.mp4" which is a file from my smartphone. It plays perfectly on the smartphone. I transferred it by Bluetooth to my laptop and then with FTP to my server. It works fine on my laptop as well. Would appreciate it a lot if you could help.
Ajay