Touch *extremely* expensive performance-wise

by Stoyan Damov » Thu, 19 Feb 2009 17:33:42 GMT


Sponsored Links
 Here's a hint - override public boolean dispatchTouchEvent(MotionEvent
ev) instead of onTouchEvent - this *does* save quite a few cycles.
You sleep using whatever you find more appropriate - Thread.sleep for
interruptible sleep or SystemClock.sleep for non-interruptible one.

HTH,
Stoyan




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



Touch *extremely* expensive performance-wise

by suhas gavas » Fri, 20 Feb 2009 17:41:20 GMT


 hi zombies and robots,
plz let me the solution to improve touch event performance
I have got stuck because of the sam

regards,
suhas





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


Sponsored Links


Touch *extremely* expensive performance-wise

by Stoyan Damov » Wed, 11 Mar 2009 02:48:56 GMT


 sure, it should work - I think someone has already done that






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



Touch *extremely* expensive performance-wise

by Dianne Hackborn » Thu, 12 Mar 2009 02:13:37 GMT


 The ANR dialog is shown when you aren't responsive for 5 seconds.  We should
be talking about waiting for ~20ms only for motion events.  These are in
completely different realms.

On Wed, Mar 11, 2009 at 7:22 AM, Streets Of Boston










-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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



Other Threads

1. gestion m茅moire G1

Bonjour Je Recherche Une Application Pour grer L'espace mmoire Du
HTC G1 De faon A Ne Plus tre Limite. Comme Bosstool Le Fait Pour
Iphone. Il dplace Les Photos et Applications Sur La Carte Sd.

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

2. What happens to app when a customer requests a refund?





The application gets uninstalled from the phone if the customer asks for a
refund or the developer cancels the order.





If the application is not copy protected, then someone with a developer
phone can copy its apk and reinstall through command-line. Android Market
application will not detect that.

Inder

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

3. Fwd: Port Gstreamer to Android

4. what's the way to put or access a file onthe sdcard

5. runtime error using exported/signed apk but no runtime error using Eclipse IDE

6. Supported codecs

7. changing position of button at Runtime