Check for first run

Trevor DeVore lists at mangomultimedia.com
Mon Apr 18 07:24:04 EDT 2011


On Sun, Apr 17, 2011 at 2:42 AM, Maarten Koopmans <
maarten.koopmans at gmail.com> wrote:

> Is there a best practice for checking if the application is on  a
> first run for a standalone(especially one that will go to an App store
> eventually)?
>
> I simply need to ask the user a few questions on first run (and set up
> a sqlite db).
>

Does your application create a preference file? If so you could check
whether or not the pref file exists yet. If it doesn't then consider it a
first run.

-- 

Trevor DeVore

Blue Mango Learning Systems


LiveCode Resources for Developers: http://livecode.bluemangolearning.com


Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on
essential tools for LiveCode development - omegabundle.com.



More information about the use-livecode mailing list