[android-developers] Re: Calling Activity from Service

2012-10-29 Thread Joe Malin
Oooh. Don't call Activities from a Service. If you do that, in essence you're popping something to the foreground independent of the user's actions, which is a Bad Thing. Why call Activity B? Can't you do the work in the Service? If you need user input, try using an AsyncTask instead of a Servi

RE: [android-developers] Re: calling activity from service

2010-11-19 Thread Tommy
elps Tommy -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Kartik Bansal Sent: Friday, November 19, 2010 1:53 PM To: Android Developers Subject: [android-developers] Re: calling activity from service thanks a lot.. it wou

[android-developers] Re: calling activity from service

2010-11-19 Thread Kartik Bansal
thanks a lot.. it would be gr8 if u could share the code snippet.. i am all so confused with intents.. On Nov 19, 11:46 pm, "Tommy" wrote: > You should be able to do it the same way you would call it from any other > activity. Only before you call startActivity be sure to set the > FLAG_ACTIVITY_