I can't find a textreader/writer in B4i. There is a Write/ReadLine function in both B4a, B4j, and Microsoft's VS express (for winphone development).
The pure Input/OutputStream is not really a replacement and has very limited options. With ReadBytes it seems you need to know the string length beforehand. Is there a way of reading all characters until next CR.
I store the app's data in multi-line files with a certain info in each line, and are trying to find the easiest way to convert the code from B4a to B4i. Also use files for temporary storing the data returned from HttpJob requests.
Maybe someone can point me to a file reading/writing sample. It's early days and not that many B4i samples in the forum, compared to what you can find on B4a topics.
The pure Input/OutputStream is not really a replacement and has very limited options. With ReadBytes it seems you need to know the string length beforehand. Is there a way of reading all characters until next CR.
I store the app's data in multi-line files with a certain info in each line, and are trying to find the easiest way to convert the code from B4a to B4i. Also use files for temporary storing the data returned from HttpJob requests.
Maybe someone can point me to a file reading/writing sample. It's early days and not that many B4i samples in the forum, compared to what you can find on B4a topics.