It's to disable the component so it can't run.  If you don't want that,
don't set it to false. :)  There is an API to control this state at runtime.

On Thu, Sep 23, 2010 at 5:04 PM, sdphil <[email protected]> wrote:

> <service android:name="TestService" android:enabled="false"/>
>
> according to the documentation on android:enabled here --
>
>    Whether or not the service can be instantiated by the system —
> "true" if it can be, and
>    "false" if not. The default value is "true".
>
> Set to false, means the system cannot start the service.  But if I
> have this set to false, it looks like not even my app can start the
> service.  If not even I can start the service, I'm not sure what the
> purpose is here...  Ideas?
>
> tia.
>
> --
> 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
>



-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to