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. Custom View with Children Implemented onGestureListener

Hi,

I have a custom View with Children and it has also implemented
OnGestureListener. In custom view class I have also overridden
"onSingleTapUp() function as below.

@Override
    public boolean onSingleTapUp(MotionEvent e) {
        // TODO Auto-generated method stub
        return false;
    }


 How I will Intercept this Tap action from my MAIN ACTIVITY class when I tap
on any child of custom view?
Thanks in advance for your explanation. Please give some example or pointer.

argongold

-- 

2. Giving up wake up lock / Idle timeout for HistoryRecord: Always

Hi people,

i've been working on Android for a couple of weeks, no big issues...
untill now.

No matter what app i try to debug with Eclipse, even my first "Hello,
World", everything, ends up with a:

Launch timeout has  expired, giving up wake lock!
Activity idle timeout for HistoryRecord

First i thought (d'oh) it was lock related but actually it isn't,
given that it prompts me with this warning even if 'm debugging a
Hello World with just a TextView, one thread, nothing to worry about,
an app that worked just great a couple of days ago.

Any ideas?

I can't do -anything right now, debugging is my life at this very
moment.

-- 

3. Can we delay the ANR dialog

4. Fix lag Froyo Streak

5. Kernel patch for 3-10 point multi-touch (HTC INCREDIBLE)

6. How to have a dynamically generated URL in a WebView start a new activity?

7. IPv6 & 6rd compile options