**** BEGIN LOGGING AT Sat Dec 06 02:59:57 2008 Dec 06 04:44:52 what is the proper listener for a Gallery view to find out what item is selected when the fling animation stops? Dec 06 04:50:39 onItemSelectedListener Dec 06 04:50:57 you can look at WallpaperChooser in the Launcher's source code (source.android.com) Dec 06 05:11:42 thanks romainguy_ i found it Dec 06 05:11:54 that Gallery view is neat Dec 06 05:11:57 i really like it Dec 06 05:12:43 it's also dumb and doesn't recycle its views Dec 06 05:12:45 I have to fix that Dec 06 05:12:56 :) Dec 06 05:13:24 be back Dec 06 15:56:59 ok my button lights are stuck on Dec 06 15:57:00 any ideas? Dec 06 15:57:10 the bottom buttons on my g1 Dec 06 15:57:20 The buttons, they keyboard, or the whole backlight? Dec 06 15:57:23 That's weird. Dec 06 15:57:36 just the bottons and menu button Dec 06 15:57:41 th keyboard turns off Dec 06 16:00:37 The good news is, Google gives you the source to most of it anyway. :) Dec 06 16:00:41 Err, wrong window. Dec 06 16:03:06 hahaha but funnily in context :) Dec 06 17:48:33 ok they are sending me a new one Dec 06 17:48:41 for 10 Dec 06 17:51:11 ok fuck Dec 06 17:51:22 so no root now or how will that work? Dec 06 17:51:27 does the phone come with rc30? Dec 06 17:53:24 maybe. Dec 06 17:53:28 you'll have to open it and see. Dec 06 17:55:46 I know that the factory is producing rc30's. Not sure if that's covered the whole supply chain, though. Dec 06 17:56:38 poop Dec 06 17:56:50 she mentioned the possibility of htc sending out better batteries int he future Dec 06 17:56:56 On the other hand: http://gizmodo.com/5103402/sim+-and-hardware+unlocked-g1-available-to-developers-or-you-for-400 Dec 06 17:56:59 that they have done that with phones in the past Dec 06 17:58:37 interesting Dec 06 17:58:54 i could sell the one im about to get on egay for that much i think Dec 06 17:58:57 and get one of those Dec 06 18:06:40 hi Dec 06 18:07:42 I'm thinking about buying the dev phone 1, does anyone here know if they ship it to germany and if it really costs $400? (I'm not registered in the market yet, and don't really want to pay 25 bucks just to see if I can get the phone) Dec 06 18:08:47 http://gizmodo.com/5103402/sim+-and-hardware+unlocked-g1-available-to-developers-or-you-for-400 Dec 06 18:09:36 kirberich: international shipping is reported to be blindingly expensive Dec 06 18:10:07 "It'll also let you flash custom Android builds that work with the newly unlocked bootloader." Um, I wasn't aware that it was "unlocked" just yet. Dec 06 18:10:14 the article says free ship Dec 06 18:10:20 but yea international shipping might be diff Dec 06 18:10:43 the article says free shipping inside the usa. Dec 06 18:10:46 or at least, the google page does. Dec 06 18:11:02 but instead of pasting that article everywhere why not at least paste the google page? http://code.google.com/android/dev-devices.html Dec 06 18:13:19 who is the phone coming from? Dec 06 18:13:34 i cant just tell tmo to send me one of those er33t dev phone 1's can i? Dec 06 18:14:39 well gee. why don't you look at that google page, which talks about how to get one? Dec 06 18:15:01 ok ok i will brb though i gotta restart my client Dec 06 18:26:30 hey do we have a random app yet? Dec 06 18:26:39 i want to make one where you can enter shit in Dec 06 18:26:47 and shake the phone and it picks your choices Dec 06 18:26:52 or picks a choice randomly* Dec 06 18:31:13 probably not a big demand for that...but would be easy to make Dec 06 18:36:41 there is one Dec 06 18:36:48 droidice or localspinner Dec 06 19:10:48 Disconnect: where was it reported that international shipment is that expensive? Dec 06 19:11:28 everyone who is pricing it on #android Dec 06 19:11:30 try it Dec 06 19:13:08 thx Dec 06 19:17:49 Disconnect: you didn't happen to hear any numbers, did you? Dec 06 20:24:30 is here anyone from germany who had problems signing up as a dev for the market? try as I might, I cannot get that thing to accept my phone number. Dec 06 20:31:18 my 16GB card came today! Dec 06 20:40:18 saying something like a large number of sms is being downloading to continue press ok to stop hit cancel, does that look familiar to anyone Dec 06 20:55:29 kirberich, you are buying one? will you let the rest of us know on anddev.org if you get yours delivered and how useful it is? (http://www.anddev.org/viewtopic.php?p=14605#14605) Dec 06 20:55:51 pjv: I shall, but right now I'm trying to find out if hsdpa is gonna work in germany Dec 06 20:57:00 well, that can be difficult to find out Dec 06 20:57:16 It's supposed to work in Germany. Dec 06 20:57:44 that's what I'm assuming too. hsdpa in germany seems to be 2100mhz, which the dev phone supports Dec 06 20:57:45 pjv: tons of people bought them Dec 06 20:57:57 usually in cities you have 2100MHz networks, but to get their coverage up to 99% operators started using the GSM bands (800 or 900Mhz something) for HSDPA too, on the country that is Dec 06 20:58:35 not too sure though Dec 06 20:58:58 right, Germany is on the list, I meant difficult to find out from the operators Dec 06 20:59:24 oh yes, and since T-Mobile is german, it would be rather stupid to release a phone that didn't work in Germany ;-) Dec 06 20:59:56 well the g1 is going to be released anyway Dec 06 21:00:02 I doubt they're gonna change the hardware Dec 06 21:00:23 so the only question is if my carrier (o2) will have hsdpa working, but that question is moot anyway Dec 06 21:00:25 dev unit != tmobile Dec 06 21:00:48 its carrier independent Dec 06 21:01:16 ehm yes but dev unit probably = G1 Dec 06 21:01:29 more to the point, its not -from- tmobile. Dec 06 21:01:43 Disconnect: what's your point? Dec 06 21:02:07 "and since T-Mobile is german," etc. Dec 06 21:02:34 Disconnect: well t-mobile is still gonna be the carrier releasing the g1 in germany Dec 06 21:02:41 g1 yes, but not the dev phone. Dec 06 21:03:01 but the two are hardwarewise identical Dec 06 21:11:48 pjv: Just ordered the phone, I'll keep you guys posted. Dec 06 21:13:23 kirberich: thanks, that's very nice Dec 06 21:13:30 good luck Dec 06 21:15:01 thanks Dec 06 21:15:08 them googles are pretty funny btw. Dec 06 21:15:30 "Please allow within 3 business days for shipment of any physical product." Dec 06 21:18:42 cool Dec 06 21:18:45 i want one so bad Dec 06 21:18:57 if only to make the date picker, select all on focus Dec 06 21:18:59 lol Dec 06 21:19:46 I'm giddy now. Why isn't my phone here yet? Dec 06 21:21:15 kirb: while you are waiting, try to figure out an efficient way for me to find a contact based on a phone number Dec 06 21:22:02 as in "algorithm you want to put into a program" or as in "how do i use the contacts application"? Dec 06 21:22:21 algorithm Dec 06 21:22:53 right now im at use content provider for contacts and go through every phone number, removing the non digit characters Dec 06 21:22:55 and comparing that to mine Dec 06 21:23:16 mine being the number im trying to find a matching contact for Dec 06 21:23:37 but only in your phones contact list, not an online phone book or something, right? Dec 06 21:23:44 no, only in my phones contact list Dec 06 21:24:33 well the problem is that digits in the beginning are not necesseraly equal for the same phone number Dec 06 21:24:43 though in the us they are (i think) Dec 06 21:24:59 non digit characters? Dec 06 21:25:17 but in germany you might search for 05202 12345 and not find the number +49 5202 12345 Dec 06 21:25:25 isn't there a standard formatting for numbers when they are entered in the contacts app? Dec 06 21:26:14 pjv: nope, i can enter (732)7682293, 732-768-2293 Dec 06 21:26:22 and thats how its stored, as best as i can tell Dec 06 21:27:41 it's quite impossible then Dec 06 21:28:02 blau-MikeDG: if I was you, I wouldn't go for perfect matches at all. Dec 06 21:28:02 i wasnt sure if someone might have known something i didnt know Dec 06 21:28:06 why do you want to give your users a service of finding _any_ matching number, rather than just the exact match? Dec 06 21:28:09 like just the digits stored somewhere im not looking Dec 06 21:28:39 i just want like any matching number, so that 7327682293 would match either of those Dec 06 21:29:04 blau-MikeDG: i'd go through the numbers back to front and give out any number where there wasn't a non-matching digit until the minimum required length for a working phone number Dec 06 21:29:16 though I'm not sure how to do that internationally eiter. Dec 06 21:29:17 +h Dec 06 21:29:47 I would ask user feedback at that point, if I couldn't find an exact match like (+12 34 and +12 34) Dec 06 21:30:20 user feedback isnt an option Dec 06 21:30:23 kirberich, and how about extensions (appended)? Dec 06 21:30:43 also what would be the minimum length? Dec 06 21:31:10 pjv: well for germany it would be 6 characters, 3 for the area code, 3 for the number itself Dec 06 21:31:41 though i'd use 7, because all 3 digit numbers are special. but the problem really is that it's entirely non-standard Dec 06 21:31:42 I'm pretty sure some exotic country with exotic habits would break any hack you make Dec 06 21:32:01 indeed Dec 06 21:32:09 so, just go for rankings Dec 06 21:32:27 kirberich, don't you have short sms number in germany (like 1234)? Dec 06 21:32:34 *numbers Dec 06 21:32:40 pjv: hm, I guess we might, I'm not sure Dec 06 21:33:01 and of course there's also special numbers without are code, like police and such Dec 06 21:33:28 yeah hmmm Dec 06 21:33:38 i really think the most usable system is one that looks for similarity's (in percent) and offers the best matches Dec 06 21:33:43 so, a fuzzy match, and then present the best match would be best, but how to do that with a query? Dec 06 21:33:48 i should look through the android source Dec 06 21:34:00 the sms app does something like it Dec 06 21:35:14 it might be even simpler to just make an app that calls all the numbers, says your name, asks who is on the other side, and matches that to the queried number lol Dec 06 21:35:20 lol Dec 06 21:35:23 lol Dec 06 21:36:15 what nevermind Dec 06 21:36:18 i found it Dec 06 21:36:19 woop Dec 06 21:36:23 12-06 16:26:55.041: DEBUG/CPR(1124): number_key5044027137 Dec 06 21:36:33 number_key is the number backwards with no formatting Dec 06 21:36:39 is this http://www.androidjavadoc.com/1.0_r1_src/index.html the main android API Dec 06 21:36:45 from the contacts content provider Dec 06 21:36:58 blau-MikeDG: I'm just saying that will not always give you a perfect match Dec 06 21:37:00 ive been looking at it for days thinking to myself, that looks so fmailiar Dec 06 21:37:13 kirb: its gotta be how google does it though Dec 06 21:37:20 great blau-MikeDG, formalize this somewhere on the net or on your blog, will you? Dec 06 21:37:35 f00bar80: http://code.google.com/android/ Dec 06 21:37:46 well you still need to look for the best match, and you still have the extension problem Dec 06 21:38:04 michaelnovakjr, so what's wrong in this androidjavadoc ? Dec 06 21:38:19 if its a perfect match pick it, if its over 7 characters its a match i say Dec 06 21:38:30 f00bar80: i just gave you the official android link Dec 06 21:38:31 and ill wait for international kids to email me Dec 06 21:39:17 michaelnovakjr, and what about the androidjavadoc , can't be followed ? Dec 06 21:39:20 blau-MikeDG: that should work except for extensions Dec 06 21:39:41 like 7327347372 ex 230? Dec 06 21:39:43 f00bar80: i have no idea.... i use the official documentation on the google site Dec 06 21:39:47 blau-MikeDG: could you allow search querys like 30333*? Dec 06 21:39:55 so one can find all numbers of a company for example? Dec 06 21:40:03 i sure would find that useful Dec 06 21:40:26 the reason i need this is to match sms or incoming phone calls to a contact Dec 06 21:40:37 ah ok, then it doesn't matter anyway Dec 06 21:40:40 just like google does now, so i probably should have checked the source out first Dec 06 21:40:45 sigh Dec 06 21:41:04 actually I would propose to not care about extensions ;) Dec 06 21:42:26 michaelnovakjr, is there any limitation or restrictions to which java code or package/class i can use to write an android application ? Dec 06 21:42:50 ? Dec 06 21:43:27 about networking , IO ... can i use these packages without problem to write an android application Dec 06 21:45:18 michaelnovakjr__, regarding java networking , IO ... can i use these packages without problem to write an android application Dec 06 21:45:44 look at the code.google.com/android site.... Dec 06 21:45:54 you can use them Dec 06 21:46:03 if they are available they are listed on android's site Dec 06 21:46:54 michaelnovakjr__, where exactly ? Dec 06 21:47:23 http://code.google.com/android/reference/classes.html Dec 06 21:49:31 michaelnovakjr__, i was talking yesterday regarding a thread which was called from inside onCreate which caused the UI to block , and someone and maybe you mentioned that i have to spawn the thread , but i need some more details one how to do that , any info ? Dec 06 21:50:06 are you familiar with java threads? Dec 06 21:50:41 michaelnovakjr__, somehow yes just a matter of information refreshment Dec 06 21:50:57 did you do thread.start() Dec 06 21:51:43 you call thread.start() which executes a runnable Dec 06 21:51:58 you specify the runnable when creating a new instance of the Thread class Dec 06 21:52:29 blau-MikeDG, http://groups.google.com/group/android-developers/browse_thread/thread/674899edfe55b9fe/ee7fecfb1eec249f?lnk=gst&q=mina#ee7fecfb1eec249f Dec 06 21:53:43 michaelnovakjr__, you mean writerThread.start(); Dec 06 21:55:02 make the server a service Dec 06 21:55:11 thats what i see as being the quick fix Dec 06 21:55:20 it depends Dec 06 21:55:27 the server activity is pausing as you goto the client activity Dec 06 21:56:08 what does your app do f00bar80 Dec 06 22:00:34 rar fell under 50% install for dgAway Dec 06 22:02:50 ? Dec 06 22:10:44 the installed/total downloaded is < 50% Dec 06 22:12:05 for dgAway Dec 06 22:12:12 problem with it? Dec 06 22:13:19 shrug :/ Dec 06 22:13:35 wonder how it handles when there are updates Dec 06 22:16:51 michaelnovakjr__, back Dec 06 22:18:56 michaelnovakjr__, did you find something wrong else than the while loop inside the appsServer Dec 06 22:19:18 you should go through some android tutorials Dec 06 22:20:03 michaelnovakjr__, any specific tutors ? Dec 06 22:20:42 check out the google code site Dec 06 22:21:02 there's lots of sample code Dec 06 22:22:09 michaelnovakjr__, you said something about spawning the thread inside the appServer onCreate **** ENDING LOGGING AT Sun Dec 07 02:59:57 2008