When does the canvas' onDraw function get called?

by Mariano Kamp » Fri, 06 Mar 2009 06:01:23 GMT


Sponsored Links
 after the state of something you are interested in changes you can call
invalidate() on the canvas which will afaik cause the canvas to be redrawn
as soon as the UI thread gets to it.





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



Other Threads

1. questions

hi everybody
i'm a new android developer from tunisia
i have a question about the accelerometer integrated into new mobiles.
i want to know how it work? if possible a sample android code that
demonstrate how to use the package
android.hardware.sensormanager to manipulate the accelerometer and get
the followings results :
the actual direction of the mobile (vertical, horizontal) ?
the actual mobile's orientation ( mobile is turned left, right, ...)

waiting from you any response.
thank you.

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

2. Interested in making core revision to IM for Groupwise Messenger support (got permission from novell)

I'm planning to introduce protocol support for Groupwise Messenger to
android IM through a core revision. I have permission to use the
protocol from Novell (GPL compliant) and needed to confirm with google
devs that this would be ok, and I also had a few questions regarding
how to use the IM plugin interface in the android source.
--~--~---------~--~----~------------~-------~--~----~

3. Question regarding adding a view that can overlap other views in the layout/activity.

4. Running Android SDK 1.1 R1 on Linux 64 bit Fedora 11 RawHide

5. How to add text in ImageButton

6. Uninstall / Signature problem on G1 device

7. Need help on BroadcastReceiver::