I would like to know if there is a “first run” flag or similar in WP7. My app takes some stuff out of isolated storage so I would like to determine if this is necessary first time. I am currently using an if to check if the named storage object exists but this means I can’t handle any memory loss errors in the way I would like.
Share
I don’t think there is a built in feature for this … but I know what you mean 🙂 I implemented “first run” myself using iso storage in the open source khan academy for windows phone app. All I do is look in iso storage for a very small file (I just write one byte to it) … if it’s not there, it’s the first time, if it is there, the app has been run more than once. Feel free to check out the source and take my implementation if you’d like 🙂