Thanks for your reply, I appreciate it. I know and have implemented the basic approach to sharing assets between separate applications. It works just fine for PNGs, XMLs etc.
However, a specific problem comes up if you want to use the AssetFileDescriptor returned by openAssetFile() as a data source for MediaPlayer. There's a speculation that it might be caused by the fact that openAssetFile() returns a (read side of a) pipe which is not seekable (contents are of unknown size), whereas MediaPlayer supposedly insists on a seekable descriptor. The idea of my post was that MediaPlayer won't play the data even if you set the correct length to the AssetFileDescriptor. Please refer to the link I mentioned in my previous post for a lot more details about the issue. On Thu, Feb 21, 2013 at 10:05 PM, skink <[email protected]> wrote: > > > Latimerius wrote: > > I'm wondering if anyone has made any progress with this? > > I'm not sure what you want to do but maybe this will help you a bit: > > > http://groups.google.com/group/android-developers/browse_thread/thread/484eff686a06173b/486680444ef49946?lnk=gst&q=openAssetFile#486680444ef49946 > > pskink > > -- > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

