I really don't understand what you are asking.  Services don't show a UI.
If you want a different UI when the system boots, put in your own home app
with that UI.

On Wed, Apr 22, 2009 at 2:04 AM, Rahul <regh...@gmail.com> wrote:

>
> Hello Sir,
>
> I am running a service on the booting up of android.
> But when the service start, the main UI is also coming visible.
> So after booting up of Android i have to click Home Button to
> escape from this UI. Actually i dont want UI for my service.
> I am not using setContentView() in onCreate of my code.
> Since i dont want to load any UI.
>
> My intention is to run service in back ground with out any UI.
> ie when android booting up
> 1). It should run my service.
> 2). Show home screen directly.
>
> Thank you very much for your reply.
> I am hanging here for last 2 days.
>
> :(
>
>
>
> On Apr 22, 1:41 pm, Dianne Hackborn <hack...@android.com> wrote:
> > No.  Fwiw, the way we do the setup wizard is that it also declares itself
> to
> > be a home activity, with a higher than normal priority, so it will be the
> > thing that runs when the system boots.  Then when it is done with its
> setup,
> > it disables that component, so the normal home activity will be started
> at
> > boot there-after.  You haven't given any information about what you are
> > actually trying to do though so I can't really answer your question.
> >
> >
> >
> > On Wed, Apr 22, 2009 at 12:58 AM, Rahul <regh...@gmail.com> wrote:
> >
> > > Hai,
> >
> > > Is it possible to hide a Activity in Android?
> >
> > > My requirement is, i am starting a service during booting up of
> > > Android.
> > > But when the service is staring the main UI is also coming up.
> > > I would like to hide this UI window.
> >
> > > Is there any way?
> > > Please help...
> >
> > > Thanks in advance.
> >
> > > Rahul
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
> >
> > 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.
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to