What is the logic for implementing trial version? Are you maintaining the time or some other information in the record store and using this to implement you trial version?
If so the record stores will be deleted if the user uninstalls the application.
So the user might be able to use it multiple times without registering?
Please let us know the details about your trial feature implementation.
Alternatively, you could the server side logic to get information whenever the user installs/starts the application and not allow him to start the application after the certain period.
Just make your trial version have only a limited feature set.
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.
Hi All I had few doubts How to go about answering SCJP questions? Should I mark all questions for review or only questions other than drag and drops? Supoz I dont mark any questions for review will I still be able to have a second look at the questions? Does the software allow you to answer drag and drops or any unanswered questions at the end?
System.out.println("B1 == B2 : " + (B1 == B2));//references are being compared ,B1 and B2 dont refer to same object.so has to be false. System.out.println("B1 == b : " + (B1 == b));//equal to B1.booleanValue()==b System.out.println("B2 == b : " + (B2 == b));//equal to B1.booleanValue()==b