title: Android: Executing code only on first run and every subsequent upgrade
body: <p>I have some code that generates a "read me" dialog and does some initial directory creation on the sd card, which currently resides in the onCreate method... I would like to segregate this code and have it execute only once, at the apps first run.. and then after all subsequent upgrades. I've noticed that most apps on the market do this, yet have not figured out how to implement it in mine yet... any help would be appreciated.</p>