maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How to create 30 day timebomb in app? (https://talk.maemo.org/showthread.php?t=45235)

iloveaudiostuff 2010-02-20 13:52

How to create 30 day timebomb in app?
 
Can anyone point me to reference material or overall strategy or example code for including a time limit or expiration date (or timebomb) in a "free trial" Maemo5 app?

tirtawn 2010-02-20 19:46

Re: How to create 30 day timebomb in app?
 
There are many approach, the simplest one:
1. create a file with a timestamp of the installation program
2. everytime the program run, read the file and check the current date
3.if its more than 30 days then put message and exit.


All times are GMT. The time now is 20:16.

vBulletin® Version 3.8.8