[android-developers] Re: How to read data from ./asset/ files correctly?
On May 29, 11:02 am, progman <progman....@gmail.com> wrote:
> I do not know how to get datasize from inputstream and i read data two
> time :-)
You could put a secondary file in assets that contains the length of
the primary file you're trying to read. Or you can just hard code the
size into your app. The assets will not be changing installation
since they are read directly out of the apk file (they are not
unpacked into a filesystem).
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home