**** BEGIN LOGGING AT Sun Sep 07 02:59:57 2008 Sep 07 04:31:02 umm Sep 07 04:31:20 anyone know how to use SQLiteDatabase.replace? Sep 07 04:31:34 it doesn't have any way to select what row to replace? Sep 07 04:31:52 and the javadoc isn't right, it's a copy and paste of insert Sep 07 04:34:04 aha, i should use update, not replace Sep 07 05:27:42 anyone got MockLocation-Providing working? Sep 07 06:58:21 if i have files in my app Sep 07 06:58:48 (in /data//files/) Sep 07 06:59:10 is there a way to include an "original" in the apk? Sep 07 07:03:00 files in /data are generated by the app Sep 07 07:03:13 if you want to put a file in the apk, just put it in the assets/ directory Sep 07 07:36:27 yo Sep 07 07:36:52 when exactly the market launches? Sep 07 07:39:20 romainguy: aha, thank you :) Sep 07 07:39:38 muthu: my guess is october 13th when the g1 (supposedly) comes out Sep 07 07:39:54 yeah, somewhere around that date Sep 07 07:40:06 damn, the preorder is in 10 days Sep 07 07:40:12 i need to get $150 :P Sep 07 07:40:25 i can only sit and watch Sep 07 07:40:43 you're not t-mobile? Sep 07 07:40:56 i'm not us :) Sep 07 07:41:01 ah Sep 07 07:41:09 may b i should move ;) Sep 07 07:41:12 NO Sep 07 07:41:18 trust me, it sucks here Sep 07 07:41:25 where are you? Sep 07 07:41:27 yeah, that's why i moved back Sep 07 07:41:32 chennai Sep 07 07:41:43 hey who won us open? Sep 07 07:41:46 fed or rafa? Sep 07 07:41:47 * squeakypants watches "chennai" fly over his head Sep 07 07:41:54 no idea :P Sep 07 07:41:58 squeakypants: where you at? Sep 07 07:42:02 where's chennai? Sep 07 07:42:10 NJ :'( Sep 07 07:42:17 chennai, IN Sep 07 07:42:25 ...indonesia? hahaha Sep 07 07:42:28 hey, NJ is cool Sep 07 07:42:31 hehe Sep 07 07:42:48 aha, india Sep 07 07:42:52 android is making me seriously think moving to SFO Sep 07 07:43:09 san fran? Sep 07 07:43:13 yo Sep 07 07:43:20 heh, i don't see why Sep 07 07:43:36 yup Sep 07 07:43:43 the american economy is balls Sep 07 07:43:51 don't even think of coming here if mccain gets elected :P Sep 07 07:43:53 its not about the economy Sep 07 07:43:56 haha Sep 07 07:44:02 well if it's about the phones :P Sep 07 07:44:02 mccain will ban immigrants!! Sep 07 07:44:13 europe's phones are so much better Sep 07 07:44:18 i was checking out t-mobile UK Sep 07 07:44:19 i'm counting on obama to let me in :)) Sep 07 07:44:35 their free phones were iphone-likes Sep 07 07:44:48 yeah, europe rocks Sep 07 07:44:52 amsterdam Sep 07 07:44:57 want to go there Sep 07 07:44:58 the best phone t-mobile even offers is the Wing which is an awful WM6 phone that costs $300 Sep 07 07:45:00 do it :) Sep 07 07:45:06 i'd love to go to amsterdam Sep 07 07:45:27 i love us becoz i'm familiar Sep 07 07:45:31 with the US system Sep 07 07:45:36 system? Sep 07 07:45:46 yeah, whatever Sep 07 07:46:04 and have friends there Sep 07 07:46:13 i've never been outside NJ for longer than a week or so :P and not in a long time Sep 07 07:46:14 and you have siliconey valley Sep 07 07:46:26 squeakypants: i can see that.. hehe Sep 07 07:46:28 and i'd move to europe or eastern asia in a second :) Sep 07 07:46:42 though being in NJ might be part of why i feel like that :P Sep 07 07:46:55 NJ country side is lovely Sep 07 07:47:17 i remember driving through NJ Sep 07 07:47:23 man!! Sep 07 07:47:27 memoirs Sep 07 07:47:31 really? Sep 07 07:47:39 well i'm in south jersey where it's all suburbs :-/ Sep 07 07:47:42 was in bridgeport, doing my masters Sep 07 07:48:09 at that time, it was all lovely Sep 07 07:48:18 US was innocent and fun Sep 07 07:48:22 not like today Sep 07 07:48:22 when was that? Sep 07 07:48:27 96 Sep 07 07:48:40 daamn :P Sep 07 07:48:48 yup Sep 07 07:48:51 its surreal Sep 07 07:49:23 and how things changed!! Sep 07 07:50:05 before we had a landscape, now our main attraction is a linux phone :P Sep 07 07:50:21 haha Sep 07 07:50:56 so what kind of android apps have you worked on? Sep 07 07:51:13 let me give you the url Sep 07 07:51:28 http://code.google.com/android/adc_gallery/ Sep 07 07:51:41 now i'm working on a kickass search engine Sep 07 07:52:59 you won? Sep 07 07:53:05 which is yours? Sep 07 07:53:19 cooking Sep 07 07:53:34 damn man, congrats!! Sep 07 07:53:40 thanks man Sep 07 07:54:20 i'm going to lock myself the next 15 days Sep 07 07:55:12 what do you mean? Sep 07 07:55:24 and get mobeegal kick ass Sep 07 07:55:24 also, where do these "cooking shows" come from? Sep 07 07:55:29 and be ready for the launch Sep 07 07:55:36 the shows are produced Sep 07 07:55:40 by a professional crew Sep 07 07:56:01 that you hired? Sep 07 07:56:09 not me Sep 07 07:56:14 i'm part of a big team Sep 07 07:56:22 gotcha Sep 07 07:56:31 wow though... i assume this isn't gonna be a free program? :P Sep 07 07:56:44 not sure Sep 07 07:56:51 may not b Sep 07 07:58:29 i've gtg, good talking to you ;) Sep 07 07:58:36 bye Sep 07 08:04:14 dude, get out of NJ Sep 07 08:04:29 I'd hate America too if I lived there Sep 07 08:41:54 <_avatar> can someone tell me the syntax to use android.R.drawable.divider_horizontal_bright as the background in a view? if it were in my drawable directory i could use android:background="@drawable/whatever" Sep 07 08:43:42 <_avatar> (in an xml layout, not using java) Sep 07 08:44:06 @android:drawable/whatever Sep 07 08:44:09 src = "@drawable/..." Sep 07 08:44:21 ah yeah romainguy is correct Sep 07 08:44:37 <_avatar> thats it, thanks romainguy. i've seen it before, but couldn't find it :) Sep 07 08:53:48 <_avatar> ok, so it works, but divider_horizontal_bright/dark doesn't seem to be what i'm looking for. i'm trying to find the default listview separator drawable. does this exist as an accessable resource? Sep 07 08:54:50 separator or divider? Sep 07 08:56:37 <_avatar> what's the difference? what i'm looking for is the single pixel gradient that separates listview items. Sep 07 08:57:06 it's the divider Sep 07 08:57:39 <_avatar> out of curiosity, what is the separator? Sep 07 08:59:15 anyway, @drawable/divider_horizontal_dark is what you're looking for Sep 07 08:59:22 I mean, @android:... Sep 07 09:02:41 <_avatar> hrm, that one doesn't seem to draw for me (although the code compiles and runs). i tried a couple other random drawables (i.e. @android:drawable/btn_star) and they showed up fine. Sep 07 09:03:49 <_avatar> Sep 07 09:09:24 may be it shows up Sep 07 09:11:20 <_avatar> but... it doesn't :P Sep 07 09:25:55 <_avatar> muthu: you were right, hehe Sep 07 09:26:16 hehe Sep 07 09:26:24 <_avatar> it was nearly invisible on the background / color combination i was using Sep 07 10:15:02 http://www.youtube.com/watch?v=fEU_qyiQmYQ Sep 07 10:31:49 o.o Sep 07 10:31:55 im doin something wrong maybe Sep 07 10:32:02 09-07 04:30:07.231: ERROR/AndroidRuntime(2641): java.lang.OutOfMemoryError: bitmap size exceeds VM budget Sep 07 10:32:08 on a mapactivity Sep 07 14:27:16 hmm Sep 07 14:27:23 i keep seeing this error after awhile Sep 07 14:27:23 09-07 08:25:26.522: ERROR/AndroidRuntime(17397): java.lang.OutOfMemoryError: bitmap size exceeds VM budget Sep 07 14:27:39 coming from 09-07 08:25:26.522: ERROR/AndroidRuntime(17397): at android.view.View.buildDrawingCache(View.java:5219) Sep 07 14:28:16 ahh i think i might know why Sep 07 15:11:10 gm Sep 07 15:17:13 http://www.alleyinsider.com/2008/8/google-dreaming-of-50-billion-mobile-ad-market Sep 07 15:40:32 something against the chrome hype: http://weblogs.mozillazine.org/roadmap/ Sep 07 15:42:50 I'm curious if the mass media will recognize these facts besides marketing buzz. I'm pretty sure they will not. :-) Sep 07 17:45:04 anno^da_: these tests are unfortunately meaningless because they don't take into account the DOM, which is very slow in Firefox compared to Webkit Sep 07 17:46:49 Yeah that is true. But even so I dont understand the hype. Sep 07 17:48:04 @ rapidology Sep 07 17:48:07 oops Sep 07 17:48:09 romainguy Sep 07 17:48:10 :) Sep 07 17:48:25 hype would be the word to describe it imho Sep 07 17:48:40 i was suprised how all the major outlets ran with it Sep 07 17:48:54 I was suprised how the mass media reacted Sep 07 17:49:26 lol and everyone was like "they are bringing chrome /to/ android" which was saying chrome was the good news Sep 07 17:49:46 i wonder if the android people working on getting gears in android contributed the other direction to help chrome Sep 07 17:51:20 umdk1d4: yeah, i was confused by that too Sep 07 17:52:11 gears is cool, but "chrome on android" isn't a big deal Sep 07 17:54:17 Well but gears (and the web apps in) cant offer what a Thunderbird for example can. I dont know I cant replace my normal desktop apps with web apps atm. Sep 07 17:54:53 In the future they will be able to do that but in the end they will be desktop apps again. Sep 07 17:55:11 a browser is a desktop app. :) Sep 07 17:57:53 I dont know the term desktop and web app is fluent. Sep 07 17:57:53 anno^da: well it's just they make it seem like chrome has a bunch to offer Sep 07 17:58:10 it's a good backend, but the frontend is nothing special Sep 07 17:58:22 and the frontend will change completely when it goes mobile Sep 07 17:58:31 just like safari did on the iphone Sep 07 17:58:33 anno^da_: it's not hype Sep 07 17:58:42 romainguy: What is it ? Sep 07 17:58:56 romainguy: chrome cant offer myself anything new. Sep 07 17:59:09 ok the tabs in different processes. Sep 07 17:59:26 hype is the extreme promotion of a product Sep 07 17:59:30 anno^da_: if it's as efficient as they say it is (like the tab processes) then it's still a good thing Sep 07 17:59:32 we certainly did not do that Sep 07 17:59:36 we just released it Sep 07 17:59:57 romainguy: we? are you a google employee? Sep 07 17:59:58 so it can be something else if you want, but it's not hype Sep 07 18:00:04 romainguy: I havent blamed google for producing a hype. Sep 07 18:00:06 squeakyp: I work on Andorid Sep 07 18:00:15 romainguy: oh nice Sep 07 18:00:18 It is the mass media that hyped the product. Sep 07 18:00:19 * squeakyp gets one knees Sep 07 18:00:28 WE'RE NOT WORTHY! WE'RE NOT WORTHY! Sep 07 18:00:35 lol Sep 07 18:00:36 romainguy: :) Sep 07 18:00:50 And that is something I dont understand. Why do the mass media hype a beta product with a lots of security flaws? Sep 07 18:01:01 anno^da: i wouldn't really call it hype Sep 07 18:01:13 anno^da_: now you're fudding, lots of security flaw is an overstatement Sep 07 18:01:15 Well if the biggest tv stations review the browser it is a hype. Sep 07 18:01:46 ugh fuck i hate being sick Sep 07 18:01:48 anno^da_: it seems Chrome is not for you, and that's fine :) just don't use it Sep 07 18:01:52 SanMehat: still? Sep 07 18:01:54 anno^da: but the media is looking for iphone-like stories, and since chrome got so big so fast, they figured it was a good deal Sep 07 18:01:55 yeah Sep 07 18:01:57 still have a fever Sep 07 18:01:58 :( Sep 07 18:02:12 going to doc but might be pneumonia Sep 07 18:02:23 sanmehat: ah sucks Sep 07 18:02:32 SanMehat: you chose the hottest week to get a pneumonia? Sep 07 18:02:46 romainguy: i know.. i'm dying in my apartment... its like 40c in here Sep 07 18:02:53 same here Sep 07 18:03:06 what in the world is it with the weather Sep 07 18:03:10 swetland Sep 07 18:03:17 I'm dying Sep 07 18:03:20 it's frickin' september. should not be miserably hot. Sep 07 18:03:43 dying not allowed. go see your doctor. Sep 07 18:03:49 yes sir! Sep 07 18:03:56 it's certainly not hot here :( Sep 07 18:04:07 Miek: i'll trade you Sep 07 18:04:08 romainguy: Well I'm using some browsers side by side so I'm just testing. And trying to understand the mass medias reaction. :-) Sep 07 18:04:43 SanMehat: are you sure? we've got floods in places Sep 07 18:04:54 Miek: where is that? Sep 07 18:04:56 anno^da_: see it this way: it's a browser that does only that, browsing, it's light, relatively fast and Google branded Sep 07 18:05:01 uk Sep 07 18:05:03 so yes, it appeals to people :) Sep 07 18:05:20 Sep 07 18:05:21 heh, i do find it odd that it's got such an animated, fluid GUI Sep 07 18:05:31 1 hour till I surrender my computer Sep 07 18:05:34 doesn't that hurt efficiency? Sep 07 18:05:36 ok well. :) Sep 07 18:05:37 Spore is coming out today Sep 07 18:05:42 ah right Sep 07 18:05:45 squeakyp: no, not when the animations are kept short Sep 07 18:05:50 romainguy: Do you know if it will get a cocoa interface for OSX ? Sep 07 18:05:53 i already killed a pc with another game a week ago :P Sep 07 18:06:00 it wasn't out already? Sep 07 18:06:03 squeakyp: animations actually help a lot getting a sense of what happens Sep 07 18:06:04 * Miek whistles Sep 07 18:06:10 Miek: just leaks Sep 07 18:06:28 Miek: I have the misfortune to buy all the games I play Sep 07 18:06:37 or in this case, that my girlfriend plays Sep 07 18:06:47 anno^da_: just like itunes got a windows interface? :) Sep 07 18:07:03 romainguy: heh, nice Sep 07 18:07:05 is this the official android channel? Sep 07 18:07:20 Eli_: nope, this is alcoholics anonymous Sep 07 18:07:21 i would think there would be more users in here Sep 07 18:07:31 squeakyp: at least I'll get the PS3 back that she was holding onto to play Civilization Sep 07 18:07:31 Official or unofficial Sep 07 18:07:40 i will buy it too, they deserve it :) Sep 07 18:07:45 eli_: official Sep 07 18:08:34 romainguy: nice! i need a 360... the ds version has no civilopedia so everything that was different from civ4 totally confused me Sep 07 18:08:56 I read a rumor about an announcement today, any word? Sep 07 18:09:21 eli_: today? i didn't hear of anything Sep 07 18:09:33 gaaah why am i squeakyp? Sep 07 18:09:39 yeah the 7th i read Sep 07 18:09:49 maybe it was 17th Sep 07 18:09:55 yeah Sep 07 18:10:20 17th is when the (rumored) G1s go on preorder Sep 07 18:10:53 who here is gonna get a G1? Sep 07 18:11:35 If it works in european networks I will import one :) Sep 07 18:11:59 where you located? Sep 07 18:12:21 in Germany Sep 07 18:13:48 heh, you can just get an iphone :P Sep 07 18:13:57 help Sep 07 18:13:58 :) Sep 07 18:14:14 i just want to get android running on my kaiser Sep 07 18:14:26 Well no I dont want to get one with a contract at the moment. Sep 07 18:14:42 i don't think they're selling the g1 w/o one either :P Sep 07 18:14:49 So I'm leaving now. Have a nice sunday gusy. Sep 07 18:14:56 squeakypants: Well we will see. Sep 07 18:15:11 In the US the wont sell it w/o contract that is true. Sep 07 18:15:11 cya Sep 07 18:15:32 miek: aren't there ways already? though it's not a complete OS yet Sep 07 18:15:58 Well ok I could get an iPhone wo contract in France since they have to offer it without contract there. Sep 07 18:16:08 why? Sep 07 18:16:22 Beacuse of the laws there. Sep 07 18:16:22 French laws Sep 07 18:16:48 Yeah but it is common practice in Europe to sell phones wo contract. Sep 07 18:16:54 yes Sep 07 18:16:55 (except the iPhone) Sep 07 18:16:58 I miss taht Sep 07 18:17:00 :(( Sep 07 18:17:03 :) Sep 07 18:17:04 squeakypants: sort of, there's problems with the sd driver at the moment though Sep 07 18:17:21 Sooo I have to go now. :-) Sep 07 18:17:23 and there's none of that SIM-less phones crap Sep 07 18:17:24 bye Sep 07 18:17:31 romainguy: true. Sep 07 18:17:53 You go in a store buy a sim card put it into your phone and thats it. :-) Sep 07 18:17:58 yeah, well the economy in europe isn't godawful like it is here Sep 07 18:18:33 anno^da_: lol every time i talk to someone from europe i want to move more :) Sep 07 18:18:52 haha well not everything is better here over. Sep 07 18:19:19 But you dont have to leave your fingerprints when you enter Germany ;) Sep 07 18:19:19 like what? Sep 07 18:19:25 lol Sep 07 18:19:48 That is something I really really hat about flying to the us. Sep 07 18:19:59 I am no criminial and I dont want to be treated as such. Sep 07 18:21:17 But ok there are a lot of things that I dont understand in that field and that could be a very intersting discussion since I just know the european view. Sep 07 18:21:45 But today I have to leave. Playing tennis in 20 minutes. :-) So bye. Sep 07 19:06:39 romainguy_: putting the file in assets didn't work :'( Sep 07 19:08:06 what doesn't work? Sep 07 19:08:58 if i do Sep 07 19:10:08 WHAT THE FUCKKKK Sep 07 19:10:29 my code didn't save????? Sep 07 19:10:55 oh thank god, it did... lol that scared me... Sep 07 19:12:01 if i do openFileOutput("nums", 0) Sep 07 19:12:12 or openFileInput("nums") Sep 07 19:12:29 where can i put that file so that it's in the apk? Sep 07 19:12:49 squeakypants: I don't understand what you're trying to do Sep 07 19:13:39 openFileInput("nums") opens the file "nums" local to the app Sep 07 19:13:48 are you trying to write a file inside the .apk while your app is running? Sep 07 19:14:18 no, i want to have a file but placed there at install Sep 07 19:14:29 placed where? Sep 07 19:14:30 *be Sep 07 19:14:48 /data//files/ Sep 07 19:14:53 ok Sep 07 19:15:05 i tried the "assets" folder to no avail Sep 07 19:15:27 what do you mean you tried the folder? Sep 07 19:15:29 what did you do? Sep 07 19:15:41 put the "nums" file in it Sep 07 19:16:04 and then what did you do? Sep 07 19:16:13 that's it, you just put it there? Sep 07 19:16:18 heh, yeah Sep 07 19:16:33 ... Sep 07 19:16:37 you have to copy the file yourself :) Sep 07 19:16:47 what, like in the code? Sep 07 19:16:48 with the file in assets, it won't be processed by the resources compiler Sep 07 19:16:51 yes Sep 07 19:16:59 how do i do that? Sep 07 19:17:05 then you can use openRawResource to read the file and copy it into /data/... Sep 07 19:17:17 is that the only way? Sep 07 19:17:51 yes Sep 07 19:18:55 okay so just Sep 07 19:19:05 in onCreate Sep 07 19:19:15 test if the file exists, if not copy it from assets? Sep 07 19:19:34 yes Sep 07 19:19:38 but why do you want to do it? Sep 07 19:19:49 why do you need to copy a file you already have? Sep 07 19:20:04 ... Sep 07 19:20:36 well resources are read-only, so i used openFileInput Sep 07 19:21:01 but there's nothing there :P Sep 07 19:21:06 yes but why does the file contain that you can't entirely generate from your code? Sep 07 19:21:29 i can generate it from my code :P i just though i could preload it manually in the package Sep 07 19:24:08 thanks :) Sep 07 21:40:56 hmm Sep 07 21:45:49 you know this picture: BatMan vs Joker. > http://href.to/Nin Sep 07 21:46:01 it makes my day at work :-D Sep 07 21:47:56 i cant seem to set the strikethrough stroke width :/ Sep 07 21:49:02 up to now I have never seen any app where it was possible... Sep 07 21:49:44 setStrikeThruText(boolean strikeThruText) Sep 07 21:49:57 works great, but is fixed width line strikethrough Sep 07 21:50:11 that function is in TextView Sep 07 21:50:19 ohwait in the Paint Sep 07 21:50:34 ive been usign title.setPaintFlags(title.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); Sep 07 23:00:31 is there a view suitable for displaying trees in android? Sep 08 00:27:18 okokok.. so whats this about the "best buy" unlocked htc touch thing? Sep 08 00:34:49 Dougie187: we likely can't say anything. Do you have a reference, though? (I'm curious) Sep 08 00:35:06 http://www.bestbuy.com/site/olspage.jsp?skuId=8986617&type=product&id=1218005636408 Sep 08 00:35:11 http://www.engadget.com/2008/09/07/best-buy-preps-unlocked-touch-diamond-for-retail/ Sep 08 00:37:31 freaking 700 bucks though, Sep 08 00:48:30 dougie187: hahaha wow Sep 08 00:48:41 weird huh? Sep 08 02:30:25 hey guys Sep 08 02:32:11 to me it seems like a bug, that on the HOME-Screen the labeltext below the icons is taken from the with MAIN/LAUNCHER-Action/Category instead of the android:label value of the -tag Sep 08 02:33:04 if I am wrong, what the is the android:label in the -tag good for ß Sep 08 02:33:41 ? **** ENDING LOGGING AT Mon Sep 08 02:59:56 2008