Hi all
I want to make a demo version of game/application.How to get it expire after a month.
Its urgent..
Raj
Hi all
I want to make a demo version of game/application.How to get it expire after a month.
Its urgent..
Raj
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,
the normal way is to make it work only on range dates.
get the time first time you run the application and save it to your record store...then check everytime if he pass his limited time. close the application or give him notification.
you can also check on date range ..which means he could run the application only between 15-5 to 15-6 ..get the time on the startup check on range.then open or close depend on its in the range or not.
hope it help
thanks
Wael Nabil
Product Manager
CITGlobal MOBiDIV
Egypt.
Getting the first execution time and checking if limited time has passed could not work if user uninstalls and reinstalls the midlet and if you use, for example, RMS to save the execution time data on device (since it'll be removed on midlet uninstall). You could use a hidden file, on devices supporting FileConnection APIs and hidden files, but doing so you would limit midlet support (and you should care also about leaving a file on user phones, even if a little one).
About the date range method, users could also easily change date on their phones to make the game work indefinitely.
As pointed out by hartti in this thread:
http://discussion.forum.nokia.com/fo...ad.php?t=28236
Maybe you could implement some sort of server-side checks, if you think it could be suitable for your users..You could use OMA DRM (combined or separate delivery) to achieve this (of course the phone needs to support OMA DRM too)
Pit
Thanks jappit
Wael Nabil
Product Manager
CITGlobal MOBiDIV
Egypt.
Hi guyes..
Do any one have some sort of code segement
Thanks
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,
do you want a full version with time limit demo?
or a limit functionallity version demo with unlimited time?
i think the 2nd choice is always better cause it also leaves the user wanting more (of the functions he hasnt seen) and this can be done with ease and no need for date check etc and is very hard to hack by user.
I agree with shaii about the easiest and most secure way to release a game demo, that is limiting its functionalities leaving the user try it for an undefined period of time.
Limiting usage time is most of times hackable if you only code client-side checks.
Pit