This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Concurrency in Android  RSS feed

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Manfred Mueller
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks so far -- I'll check it out

Kind regards
Manfred
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!