Hi to all,In my app I need to play a video file (.mp4) The source file is stored inside an Android Expansion Packs files (.obb). How can I read it ?
An example done in Androidhttp://stackoverflow.com/questions/11300137/playing-sound-files-from-expansion-file
What I'm missing is how to get the FileDescriptor instance from the expansion file.
I've found a solution to this. I'll post here just in case anyone is
var expansion = ApkExpansionSupport.GetApkExpansionZipFile(this
, 1, 1);
var entry = expansion.GetEntry("videos/myvideo.mp4");
var pfd = ParcelFileDescriptor.Open(new Java.IO.File(sourcePath)
var fd = new AssetFileDescriptor(pfd, entry.FileOffset, entry.
On Sat, May 11, 2013 at 4:18 PM, Francesco Colombo <
[hidden email]> wrote:
> Hi to all,
> In my app I need to play a video file (.mp4) The source file is stored
> inside an Android Expansion Packs files (.obb). How can I read it ?
> An example done in Android
> What I'm missing is how to get the FileDescriptor instance from the
> expansion file.
Monodroid mailing list
[hidden email]UNSUBSCRIBE INFORMATION: