You may also take IntentService into account. I would prefer that or
HandlerThread/Handler.
AsyncTask is a bit an overkill, as you may want to call your urls
independently and then
AT would create a Thread for each REST call.
R.
--
You received this message because you are subscribed to the
On Fri, Jul 1, 2011 at 10:22 AM, Rutton rut...@web.de wrote:
AsyncTask is a bit an overkill, as you may want to call your urls
independently and then
AT would create a Thread for each REST call.
Actually, AsyncTask will use a thread out of a thread pool for each REST call.
Performing multiple
Mark Murphy schrieb:
On Fri, Jul 1, 2011 at 10:22 AM, Rutton rut...@web.de wrote:
AsyncTask is a bit an overkill, as you may want to call your urls
independently and then
AT would create a Thread for each REST call.
Actually, AsyncTask will use a thread out of a thread pool for each REST
On Fri, Jul 1, 2011 at 2:04 PM, Rutton rut...@web.de wrote:
Interesting. Its not *really* in the AsyncTask reference page (only
mentioned as a side note). Where can I read more about this?
U... in the source code? The JavaDocs for API Level 11 also show
where you can provide your own
One more thing that may prove useful in this context...
In 3.0, async tasks are by default executed sequentially, while in
earlier versions more than one could be executed in parallel.
-- Kostya
01.07.2011 22:04, Rutton ?:
Mark Murphy schrieb:
On Fri, Jul 1, 2011 at 10:22 AM,
On Fri, Jul 1, 2011 at 2:21 PM, Kostya Vasilyev kmans...@gmail.com wrote:
In 3.0, async tasks are by default executed sequentially, while in earlier
versions more than one could be executed in parallel.
Are you sure that kicked in? I remember that Romain indicated that
this change was coming,
Ah, yes, you're right, 3.0 shipped with no change wrt. to previous
versions, sorry.
http://groups.google.com/group/android-developers/msg/3deeb36dccb4e9a5
-- Kostya
01.07.2011 22:25, Mark Murphy пишет:
On Fri, Jul 1, 2011 at 2:21 PM, Kostya Vasilyevkmans...@gmail.com wrote:
In 3.0, async
On Fri, Jul 1, 2011 at 2:33 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Ah, yes, you're right, 3.0 shipped with no change wrt. to previous versions,
sorry.
http://groups.google.com/group/android-developers/msg/3deeb36dccb4e9a5
Yeah, I have an eye out for when this change actually occurs and
I think the change will be in Ice Cream Sandwich. Probably shouldn't have
written the documentation the way it is, the next release is so
meaningless. :p
On Fri, Jul 1, 2011 at 11:56 AM, Mark Murphy mmur...@commonsware.comwrote:
On Fri, Jul 1, 2011 at 2:33 PM, Kostya Vasilyev
9 matches
Mail list logo