>> Otherwise, checking for files/databases/preferences is pretty typical AFAIK.

This sounds like my best bet - so you're saying at app startup, I can
check if files/databases/preferences exists - if it does, this is not
my first run, if it is missing, then it's my first run?

Thanks

On Mar 18, 11:41 am, Mark Murphy <[email protected]> wrote:
> Mark Wyszomierski wrote:
> > Is there any way to tell whether an application is being run for the
> > first time, other than checking if there are any left over
> > preferences / files from a previous run?
>
> While your app can't receive a broadcast Intent saying it was installed,
> I think you can receive one saying you were updated, if that helps.
>
> Otherwise, checking for files/databases/preferences is pretty typical AFAIK.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to