Not that I am aware of.

However, you can create an activity that doesn't display a UI... Just give
it a transparent theme and set it to not display the title bar.

Then it appears to the user as if nothing happened.  However, I wouldn't
recommend that unless it is absolutely necessary... Seems like the kind of
thing that would annoy me.

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Sun, Nov 1, 2009 at 6:24 PM, Anders Feder <[email protected]>wrote:

> Hi,
>
> I am trying to make a 'headless' (i.e. UI-less) application. Is it possible
> to start a service in my application from the top-level launcher (the one
> accessed from the Android home screen) directly, that is, without the
> launcher starting an activity which then start the service?
>
> Simply adding the ACTION_MAIN and CATEGORY_LAUNCHER filters to the
> declaration of the service in the manifest file does not work for me.
>
> Thanks in advance,
> Anders Feder
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to