Closed kensykora closed 8 years ago
I just tried this and got it working with one change - this is due to bad documentation.
Make sure to set this.Writer
before calling base.OnCreate()
. Once the base is called, the properties are not checked again.
I think I'm encountering what is a bug, but I'm not really sure where it's happening. I'm trying to setup a file writer for test results on Android 4.4 (Nexus 4)
I have the following as my main activity:
However, when I do a test run, it creates a file, but the file is 0 bytes -- no content at all inside the file. I tried overriding onpause and closing the file stream but that didn't do anything different.
Any idea what might be going on here? Any other way to get a file with results to get written out?