• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Concurrency in Android

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks so far -- I'll check it out

Kind regards
Manfred
 
reply
    Bookmark Topic Watch Topic
  • New Topic