Thanks Mark and Dianne for your inputs. I will keep that in mind.

~Nick

On Fri, Dec 4, 2009 at 2:12 PM, Dianne Hackborn <[email protected]> wrote:

> On Fri, Dec 4, 2009 at 9:45 AM, Nick <[email protected]> wrote:
>
>> I also wanted to start the same service once the package was
>> installed. I tried using the PACKAGE_ADDED, PACKAGE_CHANGED intents
>> but I guess the newly installed package does not receive these
>> intents. Can any one point to another strategy for starting up my
>> service after my package installation?
>
>
> No, you deliberately must wait for the user to launch your app.
>
>
>> An alternative would be to
>>
>> "force phone re-boot" after the package is installed (obviously after
>> giving the choice to the user if he wants to continue or not) but I
>> dont know how to force that either.
>>
>
> Good ghod, no.  Reason #78 why there should be no API for -that-. :p
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>  --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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