UserTask

by jtaylor » Sat, 13 Sep 2008 07:38:26 GMT


Sponsored Links
 In the Photostream App is UserTask.java. How much more efficient is
this class then using threads and handlers as normally? In UserTask,
there's alot of things from java.util.concurrent, threadpools, etc.
Does this mean UserTask is probably more efficient? In what
circumstances is it probably more efficient?


- Juan T.
--~--~---------~--~----~------------~-------~--~----~



UserTask

by Romain Guy » Sat, 13 Sep 2008 07:54:28 GMT


 It should be as efficient as using threads and handlers yourself.






In the Photostream App is UserTask.java. How much more efficient is
this class then using threads and handlers as normally? In UserTask,
there's alot of things from java.util.concurrent, threadpools, etc.
Does this mean UserTask is probably more efficient? In what
circumstances is it probably more efficient?


- Juan T.


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


UserTask

by jtaylor » Sat, 13 Sep 2008 08:19:32 GMT


 Great! And who wrote Photostream?


- Juan T.




--~--~---------~--~----~------------~-------~--~----~



UserTask

by Romain Guy » Sat, 13 Sep 2008 09:25:04 GMT


 I did.








-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to download firmware in init?

Our driver calls request_firmware() after probe to request firmware
download. Then, init starts ueventd to process uevents according to
its "early-init" action. But ueventd fails to open our firmware under /
etc/firmware during device_init(), because file system hasn't been set
up yet, which is done until init executes its "init" action.

Do I misunderstand init's mechanism? Is there a decent way to handle
firmware download in init?

Thanks

-- 

2. XML or JSON in Android

Hi All,

I am developing an Android application.
Following is my scenario:

1. I parsing XML in android which is hosted on server (same like RSS feed).
2. It takes around 10 second depend on network speed.
3. XML refresh on server in every 15 minutes.

Is there any other way so I can make it more faster then current.
Someone suggest me to use JSON instead of XML.
Can some one suggest me; which format is better from XML and JSON (In 
term of fast execution and easy to use).


regards


--

3. Handle preferences in BroadcastReceiver's

4. For those who are looking for testing their apps on multiple devices:

5. Middle School Android Programming Class

6. Error when i try to convert the minSDK version from 8 to 7

7. Make Money Online