2006/1/22, Donald C. Kirker <[EMAIL PROTECTED]>:
You can try creating an alarm that is set to go off at the time the user
first launched the app "certain number of days" from when they first launch
the app if a certain preference does not exist. Then, when the alarm goes
off (you can have the alarm manager send you a launch code silently so you
can handle it without launching the app, and maybe pop up a notification
dialog box to alert the user) you set a preference to alert your app later
that it has expired. When your app is launched you can check for the expired
preference and if it exists then you can pop up an alert telling the user
that the app has expired. I would also set a preference when the app is
first launched so that you know that you have already set the alarm.
This also allows for future versions of the app to be tested.
-Donald
"mrswiss" < [EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I would like to create an app that expires after a certain number of days.
What is the best way to do that? Thanks.
>
--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
