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. WifiService and other WIFI related classes


Could anyone explain to me the intended purpose of WifiService.java?

I am trying to understand if and how it could be used for an

I am also exploring the use of:
- WifiMonitor
- WifiStateTracker
With regard to both of the above, I can understand the potential use a
little better.

For all three, I can see that one potential issue is permissions.

Based on some initial testing, it does not look like the standard
Android permissions (as included in the manifest file) are sufficient.
Am I wrong?

If I am correct about the permissions issue, I would like to
understand if and how an pplication could obtain the permission to
perform some of the tasks executed by WifiMontior, WifiStateTracker,
and WifiService.

Thank you.

Alex Donnini

2. Best way to check/sanitize data in a preferenceActivity


I'm using a PreferenceActivity with a PreferenceScreen defined in a
xml file.
i want to make sure that the data set on a preference editor are valid
(integer , integer in a range....)

So , i want to be able to intercept a click on a button of the
EditTextPreference , check the validity of the data and if the data is
incorect , display a message to the user and come back on the

What would be the best way to achieve that ?



3. How to check if MediaScanner service is running?

4. Where can we petition for better Android Market payment options (cell-phone bills...)?

5. How to mount android root filesystem on custom 2.6.27 kernel (android-patched)?

6. Creating a private jar

7. which layout is good for Quiz application