Possible Duplicate:
J2me detecting first start of application
I’m developing a J2ME application and I want to know if it is the first time to run the application in the device to be able to show welcome message to user and else the user will be taken to the main screen directly
How to make so?
When you first run an app, you can display the welcome message & then create any normal file like any .txt. Make your code such that @ startup each time it will see if that file is present or not. If present, go to main screen n if not, show welcome message & create the file.
Edit:
Agreed with Doctoror Drive. Much richer way of storing data is with Record Store. Check this.