On Mon, Feb 6, 2012 at 11:36 AM, John-Marc Desmarais <j...@ieee.org> wrote:
> How do I handle the byte[] settingsBuffer = new byte[(int) > inputFile.length]; without opening a File? > You get the stream of data as the returned value of openFileInput. Then you can then read that into a byte array of the input's length. So your settings buffer would be initialized AFTER you open the input stream, using the stream's length. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en