You could always have a background service check a savedpreference
that returns false by default, and if it's false then it runs the
wizard, and when the wizard completes it saves the preference to true
or something along those lines.

On Feb 26, 6:57 pm, Yoav <[email protected]> wrote:
> Hi All,
>
> I am writing an application that is intended to run only once, the
> first time the user turns on their device.  We'll call it the "setup
> wizard."  I wanted to know the proper way of doing this.
>
> I saw the following Settings.System.SETUP_WIZARD_HAS_RUN, but could
> not find anywhere in the SDK it is used to launch an application.
>
> I am aware of the Intent, android.intent.action.BOOT_COMPLETED, and
> could use it with Settings to launch my application.  I just wanted to
> know if this is the proper way to run the "setup wizard."
>
> Just to make sure I'm clear, I'm developing an application that will
> come installed on a device, not an application the user will download
> from the market place.
>
> Thanks for any insights,
>
> Yoav

-- 
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