On Apr 23, 2013, at 2:29 PM, dstilwell <[email protected]> wrote:
> However if I stop the app and then restart it, I get a File Not Found 
> exception thrown and nothing returned from the read function.

How are you stopping the app? Are you sure that WriteID() has finished?

For that matter, how do you know that the data has actually been written to 
disk? (Think kernel-level caching/etc.) I've not delved into the entire Java 
stack to know if closing the Stream returned from OpenFileOutput() will 
actually result in it being flushed to disk, so I don't actually know.

Likewise, how are you restarting the app? Through the Home screen? Through the 
debugger? If through the debugger, it's possible that your app is being 
uninstalled and reinstalled, which will nuke your data directory, so that might 
also explain the behavior you're seeing.

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to