QuickStartGuide - Everything is asynchronous

Another area that bada is similar to Symbian - and indeed any other modern smartphone platform - is the way that it deals with asynchronous requests. In bada, almost any request, whether waiting for a response to an HTTP request, retrieving location information or getting information from one of the built in sensors, is dealt with asynchronously. In Symbian C++, asynchronous requests are wrapped up in ActiveObjects and managed by the ActiveScheduler object, which invokes the RunL() method of the appropriate ActiveObject when a response is received to an asynchronous request. This provides a form of co-operative multi-tasking within a single application thread.
Read more »

0 komentar:

Post a Comment

  • Digg
  • del.icio.us
  • StumbleUpon
  • Yahoo! Buzz
  • Technorati
  • Facebook
  • TwitThis
  • MySpace
  • LinkedIn
  • Google
  • Reddit
  • Netvibes
Design by Blogger Tune-UpCopyright © 2011 Gadget Reviews Update 2012 | Powered by Blogger