hi i found a many tutorials and helps for play videos
but i try use vitamino and audio library.
with vitamino my video run on the emulator but not in real devices i have tested in 4 devices 2 phones and 2 tablets
and i try audio and mediaplayer dont run too
i make one teste i take the video and try run it in my tablet without apk only video
and my tablet run normal 3gp wmv mp4
only in apk dont run
i try many ways but all give me same error and my tablet run videos normal. and i have a app in my tablet with video. i download it from google play and run fine.
how can i run a video local without download. i really dont want download is a simple video
3gp or mp4 3 mb i need put this local in my apk same mp3 player
i dont find any tutorials with this working only questions more questions and youtube tutorials but i need offline without download any files to run *-* = my tablet media player.
my project i need a simple buton with click. when u click run a simple video and done. no downloads no more only this can anyone show me how to make this?
thx to all sory for my english im Brasilian
i try this codes but dont work too only on the emulador
but i try use vitamino and audio library.
with vitamino my video run on the emulator but not in real devices i have tested in 4 devices 2 phones and 2 tablets
and i try audio and mediaplayer dont run too
i make one teste i take the video and try run it in my tablet without apk only video
and my tablet run normal 3gp wmv mp4
only in apk dont run
i try many ways but all give me same error and my tablet run videos normal. and i have a app in my tablet with video. i download it from google play and run fine.
how can i run a video local without download. i really dont want download is a simple video
3gp or mp4 3 mb i need put this local in my apk same mp3 player
i dont find any tutorials with this working only questions more questions and youtube tutorials but i need offline without download any files to run *-* = my tablet media player.
my project i need a simple buton with click. when u click run a simple video and done. no downloads no more only this can anyone show me how to make this?
thx to all sory for my english im Brasilian
i try this codes but dont work too only on the emulador
B4X:
Sub Globals
Dim vv As VideoView
End Sub
Sub Activity_Create(FirstTime As Boolean)
vv.Initialize("vv")
Activity.AddView(vv, 10dip, 10dip, 250dip, 250dip)
vv.LoadVideo(File.DirRootExternal, "somefile.mp4")
End Sub
Sub vv_Complete
Log("Playing completed")
End Sub
B4X:
Sub Globals
Dim vv As VideoView
End Sub
Sub Activity_Create(FirstTime As Boolean)
vv.Initialize("vv")
vv.MediaControllerEnabled = False
Activity.AddView(vv, 10dip, 10dip, 250dip, 250dip)
vv.LoadVideo(File.DirRootExternal & "/Movies", "IMAG0018.MOV")
vv.play
End Sub
Sub vv_Complete
' vv.LoadVideo(File.DirRootExternal & "/Movies", "IMAG0018.MOV")
vv.Play
End Sub
B4X:
vv.Initialize("vv")
Activity.AddView(vv, 10dip, 10dip, 250dip, 250dip)
vv.LoadVideo(File.DirRootExternal, "video.mp4")
vv.Play
Last edited: