Hi,

I am studying RemoteService example in Android's APISample.  In the
manifest file, it declares the service like this:
My question is how can I specify the service to be 'auto-start', i.e.
it gets start whenever the phone start?

        <service android:name=".app.RemoteService" android:process=":remote" >
            <intent-filter>
                <!-- These are the interfaces supported by the service, which
                     you can bind to. -->
                <action
android:name="com.example.android.apis.app.IRemoteService" />
                <action
android:name="com.example.android.apis.app.ISecondary" />
                <!-- This is an action code you can use to select the service
                     without explicitly supplying the implementation class. -->
                <action
android:name="com.example.android.apis.app.REMOTE_SERVICE" />
            </intent-filter>
        </service>

Thank you.

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