| Author |
Concurrency in Android
|
Manfred Mueller
Greenhorn
Joined: Jul 18, 2002
Posts: 10
|
|
Hi Lucas & Pieter,
good to have you around!
What I am missing in all of the Android volumes I already have on my shelf (Hello, Android / Pro Android 2 / Android in Action / The Android Developer's Cookbook and an older German book) is a thorough presentation of concurrency topics. Even Android-specific patterns like the Message/Handler are only vaguely mentioned but not explained. The only resource currently available is the Android devloper site, but the information is more of a "What-Android-has" style than explanatory. Can I expect some more enlightement on these topics from your publication?
Thanks for your attention
Manfred
|
 |
Lucas Jordan
author
Greenhorn
Joined: Feb 10, 2011
Posts: 15
|
|
The chapter on REST uses a class called AsyncTask which is particularly well suited for doing work off the main rendering thread (much like the SwingWorker class). But under the hood, AsyncTask uses the standard java concurrency classes. Remember that Android is more standard than people would want you to believe. The vast majority of java.lang and java.util packages are included.
For example:
http://download.oracle.com/javase/tutorial/essential/concurrency/
is a perfectly valid and complete description of concurrency on Android.
So yes, there are few concurrency examples in the book, but don't buy it for a discussion on concurrency. Buy it because of the cool projects;)
-Lucas Jordan
Manfred Mueller wrote:Hi Lucas & Pieter,
good to have you around!
What I am missing in all of the Android volumes I already have on my shelf (Hello, Android / Pro Android 2 / Android in Action / The Android Developer's Cookbook and an older German book) is a thorough presentation of concurrency topics. Even Android-specific patterns like the Message/Handler are only vaguely mentioned but not explained. The only resource currently available is the Android devloper site, but the information is more of a "What-Android-has" style than explanatory. Can I expect some more enlightement on these topics from your publication?
Thanks for your attention
Manfred
|
Lucas Jordan
President, ClayWare Games, LLC
|
 |
Manfred Mueller
Greenhorn
Joined: Jul 18, 2002
Posts: 10
|
|
Thanks so far -- I'll check it out
Kind regards
Manfred
|
 |
 |
|
|
subject: Concurrency in Android
|
|
|