I am developing a commercial app in J2ME (MIDP-2.0, CLDC-1.1).

The User must be able to do an action only X times.

If he wants to do it again he will have to buy the app again.

In first, I wanted to write into a Record Store how many times the User, but :
if the User buy again the application and overwrite the old one, the Record Store will remain.

The Jar file that the user will download must be the same (can't put any info inside, like date of download).

I was wondering if it is possible to get, somehow, the install/update date of a Midlet, and then I would be able to compare last RS writing date and Jar update date.

Any ideas, suggestions ?

Thanks in advance,