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" <droi...@gmail.com> 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_NEW_TASK setting like below:
>
> Intent beginActivity //so on
> beginActivity.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
> startActivity(beginActivity);
>
> I think thats how I did it in my code. I am not infort of that PC right now
> to confirm though. Hopefully this will help.
>
> Tommy
>
>
>
>
>
>
>
> -----Original Message-----
> From: android-developers@googlegroups.com
>
> [mailto:android-develop...@googlegroups.com] On Behalf Of Kartik Bansal
> Sent: Friday, November 19, 2010 1:32 PM
> To: Android Developers
> Subject: [android-developers] calling activity from service
>
> hi..
>
> i am writing an app in which i need a background service to call an
> activity and show some result..
>
> pls share some example..
>
> thnx a lot..
> kartik..
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to