You don't have to have the main activity in your application, or any
activities at all. Check the manifest and remove the launcher-specific
intent filter from your main activity if you don't want it to show up in the
application list.

However, my personal observation is that doing this can cause user confusion
and a bunch of 1-star "duznt opin" type comments in Market.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com
14.02.2011 2:40 пользователь "AndroidDevTime" <[email protected]>
написал:
> Is it possible to have an Android application that runs without a Main
> Activity? I have mostly Widget<-->Service communication and I really
> don't want a Main Activity to show most of the time. But anyway my
> question is can this be done? Does an application have to have a Main
> Activity? Can it start and run invisibly or does it always have to
> have screen visible when its running?
>
> --
> 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

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