**** BEGIN LOGGING AT Thu Sep 11 02:59:57 2008 Sep 11 03:06:05 romainguy, thanks it worked. However, the colors get updated on dispatchKeyEvent(KeyEvent event) or other events. But if I try to initializec the colors in the onCreate method. When I do a loop View view = getListView().getChildAt(i + getListView().getFirstVisiblePosition());, I always get a NULL view. Sep 11 03:06:56 I'm looking at the docs on why the getChildAt, works on events, but does not work when initialize. i placed the code right after setListAdapter(simpleAdapter); Sep 11 03:07:28 yes because in onCreate() the views don't exist yet Sep 11 03:08:06 so where should I place my initialization code, to preset the different colors? Sep 11 03:08:29 in your adapter's getView() method Sep 11 03:09:27 hmmm.. i'll try onStart() Sep 11 04:34:29 can the Color of the Progressbar be changed ? Sep 11 06:54:02 sep 23 is the new date Sep 11 07:05:34 of? Sep 11 07:06:14 my new app works Sep 11 07:06:15 yay! Sep 11 07:06:16 gphone launch Sep 11 07:06:28 romainguy: what's the new app? Sep 11 07:06:47 it's something like Delicious Library, for Android Sep 11 07:06:49 is it in googlecode? Sep 11 07:06:56 not yet Sep 11 07:06:59 k Sep 11 07:07:03 http://jext.free.fr/books.png Sep 11 07:07:17 hmm.. looks good Sep 11 07:07:19 http://jext.free.fr/shelves_import.png Sep 11 07:07:33 you guys are cranking new apps for the market, heh? Sep 11 07:07:47 no, just for fun and provide samples Sep 11 07:08:34 is it all custom view? Sep 11 07:08:40 no Sep 11 07:08:42 it's a GridView Sep 11 07:08:53 oh.. ok Sep 11 07:09:14 need to look into gridview Sep 11 07:09:27 think, this is better than listview Sep 11 07:09:49 GridView is exactly the same thing as listview Sep 11 07:09:52 except it shows several columns Sep 11 07:10:01 yeah, it fits well with mobile Sep 11 07:10:09 list somehow gives a desktop feel Sep 11 07:10:16 I disagree Sep 11 07:10:32 then why you chose grid? Sep 11 07:10:50 because I wanted to show more than one book per line Sep 11 07:11:08 especially in landscape Sep 11 07:11:16 right Sep 11 07:11:25 i'm going to use grid in place of list Sep 11 07:11:43 grid seem to be really nice Sep 11 07:11:54 don't use a grid if you don't need it Sep 11 07:12:11 you have used grid in flickr sample too Sep 11 07:12:15 no Sep 11 07:12:18 it was a custom layout Sep 11 07:12:33 ok.. but it resembled grid Sep 11 07:12:40 again 2 columns Sep 11 07:12:51 because again, it shows images Sep 11 07:12:55 a listview would not be well suited Sep 11 07:13:05 yeah, see your point Sep 11 07:19:08 romainguy: are you allowed to put your own android app in market? Sep 11 07:20:44 muthu: yes, why wouldn't I be allowed? Sep 11 07:21:02 wondering if google had some policy Sep 11 07:22:35 actually, romain is not allowed to breath unless Larry and Sergei ok it first :( Sep 11 07:22:41 lol Sep 11 07:22:48 * heat hands romain an oxygen mask Sep 11 07:22:59 haha Sep 11 07:25:11 Is vimeo.com slow for you? Could someone test that for me or ping it ? Sep 11 07:26:02 looks ok Sep 11 07:26:33 Thank you. Sep 11 07:26:48 Then it is just slow for Germany at the moment or for my ISP. Sep 11 07:27:17 i did only a ping Sep 11 07:28:04 What do you get ? Sep 11 07:28:42 I'm normally having 10ms and now it gets up to 500 :-). In between there are some database errors. Sep 11 07:29:13 4 packets transmitted, 4 received, 0% packet loss, time 5580ms Sep 11 07:29:34 291 Sep 11 07:37:06 Hmm well ok now I'm getting a database error again Sep 11 12:17:00 So who is going to be the first to get a touch pro or touch diamond and dump android on it? Sep 11 12:17:14 Dougie187, touch HD Sep 11 12:17:16 would be cooler :) Sep 11 12:17:23 480x800 Sep 11 12:17:25 :) Sep 11 12:17:25 yeah but that won't be out until aorund xmas. Sep 11 12:17:34 but it is a pretty sweet looking phone. Sep 11 12:17:37 no wifi though. Sep 11 12:18:14 if i had to pick from the diamond or the pro though, i think i would go for the pro just for the keyboard. Sep 11 12:18:30 and the wifi. Sep 11 12:18:44 yap Sep 11 12:18:50 wifi is missing in the hd version Sep 11 12:19:16 from what i hear. Sep 11 12:19:19 http://www.modaco.com/content/pocket-pc-professional-news/272214/introducing-the-htc-touch-hd/ Sep 11 12:20:35 its like exactly the same size as the iphone though Sep 11 12:21:32 yeah Sep 11 12:21:36 nice info Sep 11 12:21:36 thx Sep 11 12:25:24 np Sep 11 12:25:47 i think the touch pro is going to be a sweet android device though. Sep 11 12:25:51 given that it runs it.. Sep 11 12:25:52 lol Sep 11 12:26:36 yes Sep 11 12:26:42 hopefully they also launch Sep 11 12:26:45 "sexy" devices Sep 11 12:26:54 like the iphone design is Sep 11 12:26:57 i think the touch pro is pretty sexy. Sep 11 12:26:59 personally. Sep 11 12:27:00 yes Sep 11 12:27:10 or do you mean with android on them? Sep 11 12:27:33 just the device itself Sep 11 12:27:37 of course android on it Sep 11 12:27:38 :) Sep 11 12:27:38 but Sep 11 12:27:40 i think Sep 11 12:27:42 yeah. Sep 11 12:27:46 the touch pro display is to small Sep 11 12:27:50 true Sep 11 12:27:53 it is a smaller phone. Sep 11 12:27:57 same with the diamond. Sep 11 12:27:57 to much space wasted for the buttons at bottom Sep 11 12:28:02 yeah Sep 11 12:28:07 too Sep 11 12:28:08 :) Sep 11 12:28:09 if the hd had wifi and a keyboard though... Sep 11 12:28:12 oh man. Sep 11 12:28:16 exactly Sep 11 12:28:25 combination of both/three devices Sep 11 12:28:33 yeah Sep 11 12:28:38 or samsung should put android on their devices Sep 11 12:28:44 they are also good at design Sep 11 12:28:46 i like the keyboard on the pro more then the dream personally. Sep 11 12:28:46 like sony Sep 11 12:28:52 yes Sep 11 12:29:07 the dream has that awkward bump that is the way. Sep 11 12:30:44 but i think its still a pretty cool looking phone. Sep 11 12:43:19 yes Sep 11 12:43:21 of course Sep 11 12:43:32 but it can always be much sexier :) Sep 11 13:27:03 true. Sep 11 13:27:11 im excited to see the next one though Sep 11 15:06:48 hmm is there a way to use PreferenceActivity to edit a cursor? Sep 11 15:06:54 cuz that would be awesome Sep 11 16:03:22 yay im making a hack ^.^ Sep 11 16:09:52 so this is ghetto Sep 11 16:10:02 im creating a hacked SharedPreferences that points at a Cursor Sep 11 16:10:53 and it actually works halfway decent Sep 11 17:02:56 hello Sep 11 17:03:06 anyone there? Sep 11 17:03:50 i don't understand how to set a contact's preferred number programatically Sep 11 17:09:58 morning Sep 11 17:25:27 hello Sep 11 17:32:25 kingkung: you need to use the content provider for contacts Sep 11 17:53:12 hi muth Sep 11 17:53:26 yeah Sep 11 17:53:49 i've been trying to update both the People.NUMBER field, and the People.PREFERRED_PHONE_ID field Sep 11 17:53:58 both updates throw errors. Sep 11 17:56:40 oh Sep 11 17:56:47 apparently it's a cannot update exception Sep 11 17:56:55 cannot update url content://contacts/people Sep 11 17:57:09 methinks i need to append a contact id onto that uri? Sep 11 17:59:54 i'll find out in a second. Sep 11 18:16:40 hi,i still get :An error occurred during provisioning. Sep 11 18:16:40 Cannot connect to keystore. Sep 11 18:16:40 JKS ,i would install android tools in eclipse 3.4 Sep 11 18:25:22 is there a way to override the preferences name requested by a PreferencesActivity? Sep 11 18:25:38 it usually follows the form "com.packagename.program_preferences" Sep 11 19:02:26 :/ contentproviders are hard to write Sep 11 19:18:15 umdk1d3 : indeed, i try avoid using them unless absolutely necessary.. Sep 11 19:19:16 they would work very nicely with the problem im having Sep 11 19:19:28 overriding getSharedPreferences(String name Sep 11 19:19:39 where the name would be a perfect place for a contentresolver uri Sep 11 21:02:39 so the Cursor.updateInt() etc operations are deprecated Sep 11 21:02:50 probabyl because we dont know if there is an _id to use when updating them Sep 11 21:03:05 can will still break the deprecation rule if we know there is an _id column? Sep 11 21:08:20 hi,i still get :An error occurred during provisioning. Sep 11 21:08:20 (20:15:32) bravvve: Cannot connect to keystore. Sep 11 21:08:20 (20:15:32) bravvve: JKS ,i would install android tools Sep 11 21:10:46 bravvve: are you on linux? Sep 11 21:11:04 yes debian Sep 11 21:11:11 etch 4.03 Sep 11 21:11:23 do you have a sun JDK installed or just gcj? Sep 11 21:13:11 no,should i? Sep 11 21:13:48 well yes... Sep 11 21:15:49 can you try "apt-cache show sun-java6-bin" ? Sep 11 21:17:28 for debian you need to enable the non-free repository, or you can get the deb files from http://packages.debian.org/sid/sun-java6-bin Sep 11 21:26:38 sun-java6-bin is installed Sep 11 21:28:41 xavd:sun-java6-bin is installed Sep 11 21:29:22 that's weird Sep 11 21:30:03 "javac -version" shows ? Sep 11 21:30:34 is it properly configured? we've seen cases where some of the java command line tools still pointed to the gcj version Sep 11 21:30:56 xavd:Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp 2000, 2006. All rights reserved. Sep 11 21:32:01 bravvve, can you run Eclipse and go to Windows > Preferences > Java > Installed JRE and make sure the sun-java6 is the selected one (if there's more than one, that is) Sep 11 21:32:04 xavd:i'v download eclipse 3.4,i'v put it in /etc thats all should i configure it Sep 11 21:34:06 ralfwinz:java-1.4.2-gcj-4.1-1.4.2.0 is coched Sep 11 21:34:18 that's your problem Sep 11 21:34:24 do you have sun-java6 in the list? Sep 11 21:34:48 just the java-1.4.2-gcj-4.1-1.4.2.0 Sep 11 21:36:09 hmm that's odd Sep 11 21:36:34 so if you run "dpkg -s sun-java6-bin", does it say the package is actually installed? Sep 11 21:37:51 bravvve, imho you should find the gcj package and simply remove it to make sure the sun one is used instead Sep 11 21:38:40 you can find the exact package name by running something like "dpkg --get-selections | grep gcj" and then "apt-get remove xxx" where xxx is any package name found Sep 11 21:38:40 ralfwinz:can i add ? Sep 11 21:39:07 bravvve, yes you should be able to tell eclipse where your sun-java6 is installed Sep 11 21:39:30 if you can do that it's easier of course Sep 11 21:39:57 i have java-1.5.0-sun-1.5.0.14,not sun-java6 Sep 11 21:40:10 bravvve, that's ok Sep 11 21:40:22 is ther diffrence? Sep 11 21:40:23 bravvve, 1.5 will work just as well as 6 Sep 11 21:40:38 bravvve, both are supported Sep 11 21:41:36 i will repeat installaton Sep 11 21:41:44 of what? eclipse? no need Sep 11 21:42:28 ralfwinz: no andriod Sep 11 21:42:39 it not work Sep 11 21:42:50 indeed Sep 11 21:42:54 incompatible Sep 11 21:46:44 not working ,iv sun-java5-jdk,sun-java5-bin installed Sep 11 21:47:05 ok. and in eclipse in the installed JRE list pref, what do you see? Sep 11 22:13:14 java-1.4.2-gcj-4.1-1.4.2.0,and java-1.5.0-sun-1.5.0.14 Sep 11 22:21:42 bravvve, in eclipse select the java 1.5, restart eclipse and try installing the plugin again Sep 11 22:34:27 ralfwinz:i get :the software items you selected may not be valid with your corrunt installation.do you want to open wizard anyway to review the selaction Sep 11 22:35:06 bravvve, huh not a clue here, sorry. never saw that message before Sep 11 22:42:15 ralfwinz:to install andriod what java jvm i need? Sep 12 00:06:07 is there a way to extract last android system and data directory ? **** ENDING LOGGING AT Fri Sep 12 02:59:57 2008