On May 29, 11:02 am, progman <[email protected]> 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 [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

Reply via email to