yfleury Active Member Licensed User Longtime User Sep 3, 2019 #1 Hi all I want the user have 10 minutes to try my app and if they want it, he can buy it in app. Is it ok to Code: Copy Timer1.Initialize("Timer1",600000) and check for only 1 tick event (after 10 minutes) and suggest to buy unlimited time?
Hi all I want the user have 10 minutes to try my app and if they want it, he can buy it in app. Is it ok to Code: Copy Timer1.Initialize("Timer1",600000) and check for only 1 tick event (after 10 minutes) and suggest to buy unlimited time?
Erel B4X founder Staff member Licensed User Longtime User Sep 4, 2019 #2 Yes. However for a more robust solution you need to think of the expected case where the app is not always in the foreground. It might be better to use a timer with 10 seconds interval that is only enabled when the activity is in the foreground and saves the number of ticks to a file each tick event. Upvote 0
Yes. However for a more robust solution you need to think of the expected case where the app is not always in the foreground. It might be better to use a timer with 10 seconds interval that is only enabled when the activity is in the foreground and saves the number of ticks to a file each tick event.