[android-developers] Re: Timezone picker

2010-12-28 Thread Pent
I need to implement a timezone picker, but TimeZone.getAvailableIDshttp://developer.android.com/reference/java/util/TimeZone.html#getAva...() return is a big mess (at least in Samsung Galaxy S). It is pretty big :-) You could copy the nice list from the settings app manually. Shame the one

Re: [android-developers] Re: Timezone picker

2010-12-28 Thread John Lussmyer
Yeah, I just finished building a NumberPicker that actually works, is configurable via XML, and doesn't constantly create new temporary objects. On Tue, Dec 28, 2010 at 8:01 AM, Pent tas...@dinglisch.net wrote: Shame the one from Settings isn't usable programatically actually (like so many

Re: [android-developers] Re: Timezone picker

2010-12-28 Thread Pedro Duque
The problem is not the size it's the content itself... and the getDisplayName is even worse... You get stuff like America/Bahia with a description of Brasilia Time but San Francisco or New York is nowhere to be found. :( PMD On 28 December 2010 16:01, Pent tas...@dinglisch.net wrote: I need

[android-developers] Re: Timezone picker

2010-12-28 Thread Zsolt Vasvari
I think all those descriptions actually come from the JDK classes, not the Android stuff, and they have been like that for at least the past 10 years. Personally, I'd just use them... On Dec 29, 6:09 am, Pedro Duque pmdu...@gmail.com wrote: The problem is not the size it's the content itself...

Re: [android-developers] Re: Timezone picker

2010-12-28 Thread Pedro Duque
Yep, probably that's what I'll do... although I just found this site: http://citytimezones.info/. They have a nice free database for cities timezone around the world... I'm tempted do implement a timezone picker based on it. On 29 December 2010 00:34, Zsolt Vasvari zvasv...@gmail.com wrote: I