I need to perform a certain task at the installation of a J2ME application on the mobile device. In order to do that, I need to execute some code in my application during or just after the installation. Is this possible to do? If yes, please provide me with the necessary details.
Thanks in advance.
"Simplicity is the ultimate sophistication..." ~Leonardo da Vinci~
Is it really necessary to be done after the installation or Could you execute that code when the midlet runs for the first time? I think the latter can be done by keeping track using the record store. Like you could create a recordstore the first time the midlet runs and next time the recordstore is already present you dont execute that code.
"Expect the Unexpected!!"<br /> <br />SCJP5,SCMAD
Joined: Dec 08, 2007
Hey, thanks for the idea... I thought of keeping a flag kind of a thing in a record store to keep track of whether the code is being executed once or not. As you said, just keeping track of the existence of the record store itself is easier ...