How to have splash screen at first launch only?

view story

http://stackoverflow.com – I have a splash activity in my app that launches and then loads the main class after 5 seconds. I'm thinking of changing it to where the splash only displays on the initial launch of the app. I was thinking of just writing a text file to the filesystem and then checking to see if its there. If its found, then dont load the splash screen. Is there a better way of doing a check to see if the app is on the first launch? (HowTos)