Hi,
I need to implement a timezone picker, but
TimeZone.getAvailableIDs<http://developer.android.com/reference/java/util/TimeZone.html#getAvailableIDs%28%29>()
return is a big mess (at least in Samsung Galaxy S). What I did was:
ListPreference mTimeZone = (ListPreference)
getPreferenceScreen().findPreference("timezone");
String[] timezoneIDs = TimeZone.getAvailableIDs();
mTimeZone.setEntries(timezoneIDs);
mTimeZone.setEntryValues(timezoneIDs);
I tried to make a two level approach splitting the string by the "/", but
it's still messy...
Should I implement my own timezone dabatase and forget getAvailableIDs
altogether or is there a way to use it?
Thank you,
Pedro Duque
--
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