[android-developers] Re: How to start an activity from the Service

2010-09-03 Thread Namrata
I think just FLAG_ACTIVITY_NEW_TASK would work.. On Sep 3, 2:59 pm, Pent wrote: > Use an  intent with a set component. > > You need flag LAUNCHED_FROM_BACKGROUND or whatever it is and NEW_TASK > if I remember right. > > Look in the log and see what the problem is. > > Pent > > On Sep 3, 8:31 am,

[android-developers] Re: How to start an activity from the Service

2010-09-03 Thread Pent
Use an intent with a set component. You need flag LAUNCHED_FROM_BACKGROUND or whatever it is and NEW_TASK if I remember right. Look in the log and see what the problem is. Pent On Sep 3, 8:31 am, Prateek wrote: > i have a launcher activity which gets activated everytime i start the > applic

[android-developers] Re: How to start an activity from the Service

2010-09-03 Thread String
On 3 Sep, 00:31, Prateek wrote: > i have tried intent but doesnot seems to get though it . Then you're not using the Intent correctly, because that is the correct approach. Intents can be finicky beasts, requiring several pieces to all be correct before they'll do what you want. And before you