On Wed, Sep 28, 2011 at 11:04 AM, <Hera> <[email protected]> wrote:
> I think that my service must be implemented in a separate process
> because it implements a CPU intensive work and it used to block the
> GUI when I used AsyncTask to refresh the GUI, maybe there is other
> alternatives.

You need a background *thread*, not a *process*:

http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html#Threads

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 
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