[mono-android] Random Access on Assets
Konaju Games (Dev)
dev at konaju.com
Sat Mar 19 08:52:56 EDT 2011
Android 2.3 lifted the restriction on streaming assets from an .apk and the
size of assets in the .apk.
http://developer.android.com/sdk/android-2.3-highlights.html
Now all we need is Google to provide the Android 2.3 XML that is used to
produce the MonoDroid SDK, but that won't help the 98.1% of the market that
is not on 2.3 yet.
http://developer.android.com/resources/dashboard/platform-versions.html
Sly
On 19 March 2011 09:24, Jonathan Pryor <jpryor at novell.com> wrote:
> On Mar 18, 2011, at 5:33 PM, Aaron Knabb wrote:
> > Has anyone tried to access an asset in Access.Random mode? I have a large
> file that I would like to call .Seek() on. The file is too large to
> completely load into memory, so I would like to pull a small part out.
>
> I believe what you want and Access.Random mean completely different things;
> you'd want Access.Streaming.
>
> That said, Android doesn't support Streaming very well either:
>
>
> http://lists.ximian.com/mailman/private/monodroid/2011-February/003289.html
>
> > I can get a stream to the Asset using Context.Assets.Open(), but I can't
> seem to sucessfully load it in Random mode. I've read things online about
> specifying certain assets as being non-compressed, but I don't quite
> understand how to do that.
>
> Yes, this is probably what you want:
>
>
> http://lists.ximian.com/mailman/private/monodroid/2011-February/003290.html
>
> - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110319/5174d3e4/attachment.html
More information about the Monodroid
mailing list