how to fix this exception in blackberry? -


I am using jxa-1.0, while "java.io.IOException: stream off". Can you please tell me how to fix this ?? Or if you already have experience with Jxa-1.0 pls, how to use your ideas. If you want to avoid this error on simulators, then you should read Intestream one byte at a time, try this code (Do not use this method while working with the actual device, because performance will be affected) :

  is InputStream = httpConnection.openInputStream (); Int data = -1; Bytereon OutputStream Boss = New Bytereunootstream (); Data is =. Reed (); Bos.write (data); While (Data & gt; = 0) {try is {data = is.read ()}} Hold exception (e) {// Exception with "1". It's supposed to handle odd end-of-stream in OS 5 data. Data = -1; } boss. Write (data); } Byte [] Biteire = Bose. Batteryre ();  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -