Is it possible to start a service directly from the launcher by
clicking the application icon?
I have no activity just a single service which I want to start when I
click on the icon, however when I specify my service's intent-filters
it seems that it will not be recognised from the launcher, therefore
no icon is visible in android's launcher.
<application android:icon="@drawable/icon" android:label="@string/
app_name" >
<service android:name="MyService">
<intent-filter>
<action android:name="android.intent.action.MAIN"></action>
<category android:name="android.intent.category.LAUNCHER"></
category>
</intent-filter>
</service>
</application>
Any clue how to get the icon into the launcher.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---