That's what services are for.  Think about the built-in media player for 
example, it keeps playing while you are using the phone for other tasks. 
 Read:
http://developer.android.com/reference/android/app/Service.html  and
http://developer.android.com/guide/topics/ui/notifiers/notifications.html 

On Wednesday, August 1, 2012 1:37:26 PM UTC+1, Vijay Krishnan wrote:
>
> How it is possible to run a service when i am out of my application?
>
> On Mon, Jul 30, 2012 at 7:18 PM, bob <[email protected]> wrote:
>
>> I would try creating a Service instead of an Activity.
>>
>> On Monday, July 30, 2012 8:38:37 AM UTC-5, Vijay Krishnan wrote:
>>>
>>> Hi all,
>>>          I want to run a task in background,eventhough i am out of the 
>>> application.
>>>
>>> Thanks,
>>> vijay.k
>>>
>>  -- 
>> 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