My program have a same code:
InputStream in = null;
in = FileInterface.LoadFile("odin070.bin");
while (true)
{
int ch = in.read(); <<<<<<<<<<<<<<<<<<< Return -1
if (ch < 0)
break;
}
And in this line "ch" always become "-1" if file size > 1 Mb.
Can anybody help?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---