[android-developers] Re: Timezone picker
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 from Settings isn't usable programatically actually (like so many built-in things... NumberPicker springs to mind). At least it wasn't when I last tried. Pent -- 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
Re: [android-developers] Re: Timezone picker
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 built-in things... NumberPicker springs to mind). At least it wasn't when I last tried. -- 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
Re: [android-developers] Re: Timezone picker
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 to implement a timezone picker, but TimeZone.getAvailableIDs http://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 from Settings isn't usable programatically actually (like so many built-in things... NumberPicker springs to mind). At least it wasn't when I last tried. Pent -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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
[android-developers] Re: Timezone picker
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... 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 to implement a timezone picker, but TimeZone.getAvailableIDs http://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 from Settings isn't usable programatically actually (like so many built-in things... NumberPicker springs to mind). At least it wasn't when I last tried. Pent -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en- Hide quoted text - - Show quoted text - -- 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
Re: [android-developers] Re: Timezone picker
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 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... 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 to implement a timezone picker, but TimeZone.getAvailableIDs http://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 from Settings isn't usable programatically actually (like so many built-in things... NumberPicker springs to mind). At least it wasn't when I last tried. Pent -- 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en- Hide quoted text - - Show quoted text - -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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