creating trial software

whats the best way to create j2me demo trial software.i just want the application to run 10 times then not run again. how would this be done. any source code would be great.
[187 byte] By [luqmana] at [2007-11-27 6:14:32]
# 1

Hi,

You can try:

Save in phone memory (RecordStore) variable which indicates how many times j2me application was run (at start variable =10).

Any time application is run you have to decrease this variable and when it will reach 0 the application will not run.

Of course user can install you application second time and he will be able to run it for another 10 times. Other way is to save the date when application was run for the first time. After that you can check at the beggining how may days is left to block midelt. However in this situation user can change date in his mobile phone (and also he can install midlet one more time).

In my opinion one way to prevent this situation is to connect to server (when application is starting) and server will verify if this copy of midlet can run (each midlet will have to have invidual serial number).

If somebody knows better idea please let us know!

Bodzioa at 2007-7-12 17:24:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...