I have a project where i am using microemulator on android and i have hit a wall with an issue and could use some help. I have a logger solution (mircologger) that is streaming data to a file via an output stream. It goes along fine until i try to do ANY other thing with streams.for example, logging writing to file fine, then\[code\]ZOutputStream zout = new ZOutputStream(System.out, JZlib.Z_BEST_COMPRESSION);\[/code\]after this line, any subsequent calls to write to the out put stream are met with\[code\]java.io.IOException: write failed: EBADF (Bad file number)\[/code\]also when i am debugging, i see that when the log can write, the output stream has a file descriptor object that is correct, however after the zout init call above, the output streams file descriptor becomes -1. i am beating my head in on this one, any advice would be greatly appreciated.thanksJR