Eric,
My wrapper-library should work fine with local files as well. This worked for me calling a mp4-file named "fringe.mp4" stored on my internal SD-card on my Samsung Galaxy S3:
Sub Stream_Click
'use predefined player
Dim myroot As String
Dim StreamAddress, PackageName As String
myroot=File.DirRootExternal
StreamAddress="file://" & myroot & "/fringe.mp4"
PackageName="me.abitno.vplayer.t" 'this is packagename of latest vplayer
'PackageName="org.videolan.vlc.betav7neon" 'this is VLC-player using neon-version installed on my device
StartActivity(myVideoPlayer.PlaySelectedPlayer(StreamAddress,PackageName))
End Sub
If you include your own video-file in your apk, it will probably end up in your app's asset-folder. In this case, I don't think you can play it and you need to first copy the file to a folder which can be accessed, perhaps on the SD-card. Then it should work. You need to test and see for yourself.
As a side-note, you probably don't need my wrapper-library any longer since I wrote it a long time ago when certain functionaility was not availble in B4A or perhaps because I was unsure how to use itents (I don't remember the reason now).
With help of Agraham's excellent Reflection-library you can probably obtain the same result using these two small B4A code-snippets:
Sub Stream_Click
Dim myInt As Intent
Dim myroot As String
myroot=File.DirRootExternal
myInt.Initialize(myInt.ACTION_VIEW,"file://" & myroot & "/fringe.mp4")
SetPackage(myInt,"me.abitno.vplayer.t")
myInt.SetType("video/*")
StartActivity(myInt)
End Sub
Sub SetPackage(i As Intent, PackageName As String)
'couldn't find SetPackage-method among B4A's default intents. We therefore use Agraham's reflection-library to add it.
Dim rf As Reflector
rf.Target = i
rf.RunMethod2("setPackage", PackageName, "java.lang.String")
End Sub
Good luck!