Jon,

You are exactly right, and I feel somewhat stupid on this one. When I restart 
the app, the old installation is being removed, thus removing all data.

Thanks!
Dan


On Apr 24, 2013, at 4:52 PM, Jonathan Pryor <j...@xamarin.com> wrote:

> On Apr 23, 2013, at 2:29 PM, dstilwell <dstilw...@canongategolf.com> 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
> Monodroid@lists.ximian.com
> 
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to