Hi all
I've been trying to figure this one out but everything I've tried
doesn't work.

I have a PreferenceActivity and when the user clicks on a Preference,
the OnPreferenceClickListener is called.

I know it's getting to that listener because of log debug messages
(every time i click on it i see a debug message in logcat), but when I
try to call showDialog() to launch the TimePicker nothing happens.

I have the same code running when it's attached to a Button...so I'm a
little unsure as to what's going on.

Is it not recommended to try to launch TimePickerDialogs from
PreferenceActivity?  I took a look at the Alarm source and it seems to
use something called onPreferenceTreeClick but I can't seem to find
anything on that - perhaps it's been phased out.

Any alternative to launch TimePickerDialog from PreferenceActivity?

Thanks
Rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to