I'm working on the settings for an application I have, and one of the checkboxes enables or disables a service.
The service requires a login and password, and one other checkbox to be checked in order to function. I've messed with the android:dependency flag, but what I would rather do is in the onPreferenceTreeClick do some validation (which I have written) and if it fails, block the "checking" of the service checkbox. I can't see a way to block the actual check mark in the GUI though, has anyone ran into something similar or have some other idea on how to do this? Basically. login missing password missing another check box unchecked block the checking of "start service" -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

