i want to start the activity but don't want to show it to the user.
As this activity fetch some data on some criteria, through which
notification will be shown.

Thanks
RK


On Tue, Jul 24, 2012 at 6:45 PM, Mark Murphy <[email protected]>wrote:

> On Tue, Jul 24, 2012 at 9:02 AM, Rahul Kaushik <[email protected]>
> wrote:
> > I have started an activity on Reboot from service, it get started but it
> > bring the activity in front of user
> > but i dont want show the started activity to the user
>
> Then do not call startActivity(). The *only reason* to call
> startActivity() is to "show the started activity to the user". If you
> do not want to "show the started activity to the user", do not start
> an activity.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.8 Available!
>
> --
> 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