**** BEGIN LOGGING AT Wed Oct 01 02:59:59 2008 Oct 01 03:35:38 what is the max external memory size that android can address ? Oct 01 03:35:52 sd-card ? Oct 01 03:35:59 8gb as far as I've heard Oct 01 03:37:11 what's up with that limitation, don't 16gb microsd cards exist Oct 01 03:37:16 i wonder if it would take a firmware update to take it to 16 gb ? or is it currently possible ? Oct 01 03:40:56 too bad it just doesnt have a 16gb hard drive Oct 01 03:41:07 hard drive bad Oct 01 03:41:11 why Oct 01 03:41:16 are you kidding? sd cards > hard drive Oct 01 03:41:25 you can have 160 gigs if you have 20 sd cards Oct 01 03:41:26 big, eats power, delicate Oct 01 03:41:36 plus what wastrel said Oct 01 03:41:39 illuminum, that is easily the worst argument ever, haha Oct 01 03:41:43 illuminum: yeah seems to be raised to 16 gb with a formware-upgrade Oct 01 03:42:25 well perhaps you can have 1 160 gig sd card once they get up that high and the kernel/fw whatevz supports it ne oniichan? Oct 01 03:44:42 flash drives are great, but only if they have the right level of capacity. Oct 01 03:56:21 anyone got SmsManager.sendDataMessage(....); working ? Oct 01 04:12:02 curious Oct 01 04:12:05 what is sendDataMessagE? Oct 01 04:12:08 sending SMS to a port? Oct 01 04:37:14 Evolution doesn't seem to have separate mail boxes like Thunderbird.. Any ideas? Oct 01 04:39:58 muthu_: "stop using evolution?" Oct 01 04:40:23 ubuntu came with it Oct 01 04:40:35 muthu_: apt-get --purge remove evolution; apt-get install thunderbird Oct 01 04:40:41 thought why not try it, instead of downloading thunderbird Oct 01 04:40:50 gdsx: hehe Oct 01 04:40:51 * umdk1d3 rolls in Oct 01 04:40:58 * gdsx stopped using Evolution a long while ago (admittedly, though, I don't know if it got better in the meanwhile) Oct 01 04:41:05 me too Oct 01 04:41:45 a single view for all accounts.. hmmm Oct 01 04:42:04 muthu_: also, according to bugzilla, the TBird folks are _finally_ planning on fixing the modal dialog stuff. Once that's done, I should be golden Oct 01 04:43:38 yup, like thunderbird Oct 01 04:44:12 wonder why ubuntu bundles only firefox and not tbird Oct 01 04:45:36 muthu_: my first guess is that Evolution is more akin to Outlook (that is, it does calendaring and all that stuff also) Oct 01 04:46:18 umm... android cannot read more than 8 Gb memory. it doesnt recognise the card of greater cap. Oct 01 04:46:25 i wonder why then a Google spokesperson said 16 gb microSDHC would work out-of-box Oct 01 04:48:02 Some of us are using 16G, we didn't extensively test them, that's all. But they work Oct 01 04:48:49 thanx for the info Oct 01 04:56:33 seriously doubt that evolution will lack multiple account view Oct 01 04:56:42 prolly missing something here.. Oct 01 04:58:11 more than a week productivity is gone, since my fedora failed on me Oct 01 04:58:30 hehe.. this is fun too Oct 01 04:58:56 so far ubuntu has crashed once Oct 01 04:59:05 hope it doesn't happen often Oct 01 04:59:45 ubuntu sounds like papua new guinea Oct 01 05:00:10 ubuntu sounds like a chennai slang Oct 01 05:00:52 its sounds similar to "dubuku" Oct 01 05:01:18 உபுன்டு Oct 01 05:02:05 ubuntu in english reminds me of a word I cant remember Oct 01 05:02:14 but it conjures the mental image of someone vomiting Oct 01 05:02:38 ive always thought it was a weird name Oct 01 05:02:40 lol Oct 01 05:02:52 that's ewwwwbuntu Oct 01 05:03:47 yo SanMehat you around? Oct 01 05:04:36 it just conjures images of naked pigmies in my mind Oct 01 05:04:44 beating on drums Oct 01 05:05:24 I cant remember...I think in my primary school that bunt was slang for dry heave ...It was so long ago Ive forgotten Oct 01 05:12:14 this is a bit funny http://lwn.net/Articles/296040/ ...read the 1st comment Oct 01 05:19:08 ubuntu sounds like an african word which means humanity unto others.. or, i am who i am because of who we all are ;) Oct 01 05:20:49 http://www.youtube.com/watch?v=ODQ4WiDsEBQ Oct 01 05:26:30 so Nelson Mandela is a linux user...I wonder if he is a kde or gnome person Oct 01 05:30:16 obviously gnome Oct 01 05:30:38 it is the choice of free software advocates Oct 01 05:31:10 yah i just read on his twitter that hes shitty with the bugs in kde 4.x Oct 01 05:31:30 but im not sure how you can say gnome is more free than kde Oct 01 05:32:03 i thought they were both a mixture of gpl/lgpl code Oct 01 05:32:17 because the toolkit that its chosen.. qt, is dual licensed Oct 01 05:32:53 gpl and something else.. whereas gtk, is lgpl Oct 01 05:34:06 now if gpl was the only license for QT.. it would technically be more free than GTK Oct 01 05:34:21 but it isnt, so it isnt ;) Oct 01 05:35:45 in my books thats almost reason enough alone to boycott kde Oct 01 05:36:16 but i think the more important reason.. is that it sucks Oct 01 05:36:41 ... I don't understand that mentality... how is dual licensing not free? it's available under gpl... Oct 01 05:36:53 summatusmentis, dogma. Oct 01 05:37:09 dogma? Oct 01 05:37:33 qt is only free if you wish to use it to write free software Oct 01 05:37:48 gtk has no such restriction because it uses the lgpl Oct 01 05:37:59 pretty damned simple really ;) Oct 01 05:38:22 so the viral portion of gpl is lost, because of dual licensing Oct 01 05:38:42 thats right, if you're going to use the gpl.. use it properly Oct 01 05:39:28 i also frown on mysql for using this tactic Oct 01 05:39:35 i still use it anyway though Oct 01 05:39:36 is there a license, which is *totally* free? Oct 01 05:39:46 meh, I feel like it being gpl is good enough... it's available, it's not as though they're not providing source Oct 01 05:40:05 is android plugin available for netbeans? Oct 01 05:40:06 muthu_: depends on your definition of free I suppose Oct 01 05:40:22 summatusmentis: free as in free, no strings attached whatsoever Oct 01 05:40:25 good enough maybe .. but when theres a solution (ie gtk) thats less restrictive.. then as far as im concerned, thats even better than good enough Oct 01 05:40:36 nothing is free in this world Oct 01 05:40:38 aka public domain Oct 01 05:40:54 f00f-: air is free Oct 01 05:40:56 hehe Oct 01 05:41:02 muthu_: some would argue a bsd license is 'free' because you can do whatever youw ant Oct 01 05:41:06 not in total recall Oct 01 05:41:07 for now, muthu, for now :D Oct 01 05:41:09 not really.. you still have to expend the energy required to expand and contract your lungs Oct 01 05:41:17 and then your body requires energy also to process this oxygen Oct 01 05:41:30 so breathing costs effort :P Oct 01 05:42:07 snadge: free has nothing to do with effort ;) Oct 01 05:43:01 shit! 8k messages are downloading to evolution Oct 01 05:43:18 into a single inbox Oct 01 05:43:39 how many free ringtones did you sign up for Oct 01 05:44:21 if QT was BSD licensed.. its freeness wouldn't be an issue Oct 01 05:44:40 but of all things.. its gplv3.. the most poisonous of them all Oct 01 05:44:51 hehe Oct 01 05:45:32 plusminus should be working for google android. seriously. Oct 01 05:46:17 wth is the goog hr doing? Oct 01 05:47:02 now is the time to ramp up.. and go all out for v2 Oct 01 05:48:41 http://androidcommunity.com/t-mobile-g1-hands-on-including-award-winning-android-app-feature-shopsavvy-20080929/ Oct 01 05:50:18 v2 ? Oct 01 05:50:49 yeah, android 2 Oct 01 05:51:22 quickly get in bluetooth, video recording, xmpp etc., Oct 01 05:52:08 and add multitouch Oct 01 05:52:10 ADC II Oct 01 05:52:13 not "p2" either :P Oct 01 05:52:18 lol Oct 01 05:52:20 yeah i don't know what to brew up for ADC II Oct 01 05:52:31 will need to get some more juicy details before i get my hopes up Oct 01 05:52:32 f00f-: i'm waiting for the adc 2 rules Oct 01 05:52:37 hope nothing krazy in it Oct 01 05:52:38 aye Oct 01 05:52:53 shouldn't be any Oct 01 05:52:54 meanwhile working on mobeegal for market launch Oct 01 05:53:04 nice, how far away are you? Oct 01 05:53:19 still early Oct 01 05:53:23 but we are getting there Oct 01 05:53:28 you promised to launch in like august?! Oct 01 05:53:29 you want to join our team? Oct 01 05:53:42 if i had no other projects, yes :) Oct 01 05:53:59 i got plenty on my plate right now :X Oct 01 05:53:59 this should be your major project :) Oct 01 05:54:04 haha Oct 01 05:54:19 i know.. all androids are busy ;) Oct 01 05:54:36 as if we should be so lucky Oct 01 05:54:43 hopefully something comes out of this blood and sweat Oct 01 05:54:56 its going to fantastic Oct 01 05:55:00 just keep at it Oct 01 05:55:24 i can go back to coding, if only my os can behave! Oct 01 05:55:46 i missed PuTTY in windows, so i went back :D Oct 01 05:56:08 haha Oct 01 05:56:29 the evil thought crossed my mind Oct 01 05:56:35 but i quickly shut it down Oct 01 05:57:47 hehe Oct 01 05:58:34 ubuntu is great.. almost, except for that crash Oct 01 05:58:42 doing an upgrade? Oct 01 05:59:07 and this is an holiday month here in india Oct 01 05:59:26 ramzan, gandhi jayanthi, diwali.. Oct 01 05:59:45 yeah i heard about that temple stampede, too Oct 01 05:59:52 terrible Oct 01 06:00:03 everymonth one of the temple stampede happens Oct 01 06:00:32 there's this famous temple in tirupati Oct 01 06:00:41 you wouldn't believe the kinda crowd there Oct 01 06:00:50 for religious occasions? or all the time? Oct 01 06:00:56 ALL the time Oct 01 06:01:02 occasions.. man! Oct 01 06:01:07 don't even think about it Oct 01 06:01:16 hopefully they have some crowd control.. Oct 01 06:01:22 yeah, they do Oct 01 06:01:37 but yeah it can be tough, depending on how many police, etc. there are Oct 01 06:01:46 sometimes you can't anticipate Oct 01 06:01:52 no police Oct 01 06:01:56 all temple staff Oct 01 06:02:14 but only indians can survive it Oct 01 06:03:06 its depressing to pick the papers these days Oct 01 06:03:24 yeah :/ Oct 01 06:03:32 stampede, riots, blasts, communal violence, wall shit screwups Oct 01 06:04:04 i kinda want my ADC II project to revolve around the "rest of the world" Oct 01 06:04:18 what's the plan? Oct 01 06:04:38 i don't know, something about `green` and microeconomics maybe, dont know Oct 01 06:04:48 green will win Oct 01 06:04:55 helping non-cash economies? still scouting. Oct 01 06:05:01 actually havent' started thinking until 5 minutes ago Oct 01 06:05:29 an android app which transfers funds to your home locker before the banks gets busted will be a big hit Oct 01 06:05:57 yeah, especially if wall street starts tanking cyclically from this point on Oct 01 06:06:07 its tanking Oct 01 06:06:56 heard homes are as cheap as 75$ Oct 01 06:07:14 75 dalla'? Oct 01 06:07:17 yeah Oct 01 06:07:21 75 dolla Oct 01 06:07:30 must be out in the sticks Oct 01 06:07:31 but i believe it Oct 01 06:07:34 so Oct 01 06:07:37 do you know stockton? Oct 01 06:07:42 it's like up north here in the bay Oct 01 06:07:50 yeah Oct 01 06:07:57 about two months ago, there were houses going for $25,000 up there Oct 01 06:08:08 yup, this is a good time to think about buying Oct 01 06:08:10 like decent 2 bedrooms Oct 01 06:08:19 use your ADC winnings to go into real estate Oct 01 06:08:22 trust me, you won't fail Oct 01 06:08:23 i'll say jun 2009 is the perfect time Oct 01 06:08:43 yeah Oct 01 06:08:44 f00f-: agree, buying now is a smart move Oct 01 06:08:51 it's going to be hard to get credit Oct 01 06:08:55 esp. for first time buyers Oct 01 06:08:56 still not bottom.. but close Oct 01 06:09:00 yeah Oct 01 06:09:12 how much in SF? Oct 01 06:09:33 way too much to even consider in living in that yuppyville Oct 01 06:09:33 BUT Oct 01 06:09:35 i'm sure it has dropped Oct 01 06:09:40 to reasonable rates :) Oct 01 06:09:44 rite Oct 01 06:09:59 i'm eyeing the peninsula (west bay) one day Oct 01 06:10:09 buy in summer next year Oct 01 06:10:32 yeah i'm working on balancing between saving and playing the market Oct 01 06:11:03 dublin is a nice place Oct 01 06:11:29 isn't that oracletown or is that sybaseville? Oct 01 06:11:30 its got everything Oct 01 06:11:37 sybase Oct 01 06:11:56 i'd say there's nothing out there, sine i'm from east bay Oct 01 06:12:01 not *that* far east as dublin :) Oct 01 06:12:01 hehe Oct 01 06:12:13 but i need to give an objective look at it Oct 01 06:12:28 its nice Oct 01 06:12:51 everything is closer Oct 01 06:13:01 you don't need mobeegal there ;) Oct 01 06:13:02 lol Oct 01 06:13:24 yeah, screw pednav too Oct 01 06:13:29 everything is within arm's length reach! Oct 01 06:13:30 haha Oct 01 06:13:40 that's the best part in dublin Oct 01 06:13:47 i felt right in Oct 01 06:14:01 i never figured out if it had a downtown or not Oct 01 06:14:09 it has Oct 01 06:14:13 pretty small Oct 01 06:14:18 i guess i'm thinking dublin == pleasanton Oct 01 06:14:41 yeah, dublin/pleasanton Oct 01 06:14:42 i know dublin is full of auto dealers Oct 01 06:15:44 a lot Oct 01 06:16:12 f00f-: got a G1? Oct 01 06:16:34 muthu_: nope, i need to go to the store and get one on the 22nd :/ Oct 01 06:16:48 nobody replied from google? Oct 01 06:16:55 yeah, they said 'no' Oct 01 06:17:00 ouch :/ Oct 01 06:17:03 i should have lied upfront Oct 01 06:17:17 oh well, at least know i get to work harder Oct 01 06:17:33 hopefully i can get root access on the consumer device Oct 01 06:17:39 'su' :P Oct 01 06:17:45 what are the chances of the federal reserve being disbanded within the next decade? Oct 01 06:17:53 http://www.mrwiggleslovesyou.com/comics/rehab477.jpg Oct 01 06:17:55 i seriously doubt root on consumer devices :/ Oct 01 06:18:12 umdk1d3: since that would totally help in debugging Oct 01 06:18:19 google should declare war on the banking system :P Oct 01 06:18:20 i wonder if we'll even be able to do remote on-device debugging Oct 01 06:18:38 f00f-: the debugging+logcat all happens in userspace Oct 01 06:19:03 oh, so did you figure out a way to retreive the logcat from an app? Oct 01 06:19:07 or does it need some system privs Oct 01 06:19:21 even better.. google should start its own bank, with the intention of performing a hostile takeover of the federal reserve banks.. and ultimately controlling the world economy ;) (shuts up now) Oct 01 06:19:26 i asked in here a few days ago, but havent looked any further past that Oct 01 06:19:34 there was a DUMP permission iirc Oct 01 06:19:54 ah interesting, maybe you need to construct logcat-like logs yourself from a dump Oct 01 06:20:07 snadge: federal reserve banks are doing fine.. aren't they? Oct 01 06:21:18 shopsavvy is the only app which is seeing some action Oct 01 06:21:33 wonder what the other 20, or 50 is doing? Oct 01 06:21:46 umdk1d3: did you get your stuff squared away for that deadline? Oct 01 06:22:05 muthu_: i'm sure the lucky ones are playing with their devices ;) Oct 01 06:22:15 oh yeah Oct 01 06:22:19 forgot about NDA Oct 01 06:22:56 muthu_: i think they are kinda pushing the envelope with showing off their app Oct 01 06:23:05 with regards to the tmobile nda they signed Oct 01 06:23:16 maybe they agreed to someone else now, idk Oct 01 06:23:22 i'm very curious about the backend scalability of all these apps Oct 01 06:23:31 mine scales ^.^ Oct 01 06:23:32 although i doubt there'll be as big an influx of users as with the iPhone Oct 01 06:23:42 and mine *will* scale soon too :P Oct 01 06:24:33 umdk1d3: yeah, not sure what the tmo nda is Oct 01 06:24:48 i found this great graph library for java and am excited to see how it'll perform with some real-world data Oct 01 06:25:00 no point in worrying about scaling now Oct 01 06:25:09 focus on the functions Oct 01 06:25:17 totally Oct 01 06:32:29 Oct 2, all wineshops are closed in India Oct 01 06:33:46 there's some announcement coming oct 2nd Oct 01 06:33:51 for what occasion muthu? Oct 01 06:34:49 gandhi birthdate Oct 01 07:48:49 http://android-developers.blogspot.com/2008/09/announcing-android-10-sdk-release-1.html Oct 01 07:48:53 sorry Oct 01 08:04:43 * ezak is gone.. autoaway after 15 min ..[cyp(l/on.p/on)] Oct 01 08:28:58 Hi all, is there any Android App developed for Chinese / Japanese Text Input ? Oct 01 08:39:57 ? Oct 01 10:30:09 jasta: we were talking about the g1's chipset. do you have any more detailed info about that? Oct 01 10:40:32 hi how can i extract differences patween two folders? Oct 01 10:42:08 into a patch Oct 01 10:42:09 ? Oct 01 10:53:49 montamer: diff Oct 01 10:59:35 @loke__ thanx i will look into the diff man page Oct 01 11:09:39 good look Oct 01 11:09:49 check out "context diff", that's what patch is using Oct 01 11:09:56 it's -c to dif, IIRC Oct 01 11:38:21 is there a way to wait for the mapview to load? Oct 01 12:16:43 anything new on android + htc diamond? Oct 01 12:29:34 loke__: diff -ur folder.old folder.new Oct 01 12:31:40 Millow: htc touch pro would be sexier Oct 01 12:31:56 fearphage: I like the diamond better Oct 01 12:32:29 would like an iphone but we don't use the swedish iphone carrier at work so I choose HTC Diamond Oct 01 12:32:40 but I'd love to use android instead of windows mobile Oct 01 12:32:41 :) Oct 01 12:34:01 i hate what apple is doing to the iphone Oct 01 12:34:11 i got a chance to play with an unlocked iphone and i was amazed Oct 01 12:34:19 the current state of the locked iphone is abysmal Oct 01 12:34:39 the iphone has lots of potential but you are locked under Apple's thumb of control Oct 01 12:36:46 fearphage, what did you think was so great about the unlocked iphone Oct 01 12:37:03 what it can do when allowed Oct 01 12:37:11 the power applications had Oct 01 12:37:31 although the basic app store api is very locked down Oct 01 12:37:44 shell access Oct 01 12:37:46 anything specific? Oct 01 12:38:00 im curious I havent really followed the iphone Oct 01 12:38:09 interfacing with gps, cameras, the disk, and things Oct 01 12:38:12 let me find one Oct 01 12:38:38 one major thing is you can use your phone as a blueetooth modem for internet connectivity from a laptop Oct 01 12:39:15 does the iphone sdk let you write code in languages beside obj-c? Oct 01 12:39:35 gambler: not to my knowledge Oct 01 12:39:36 no, why would apple give you options? they dictate. you follow Oct 01 12:40:24 ok just asking. I assumed iphone was just a *nix distro with something shiny on top like OSX Oct 01 12:40:57 fearphage: so tethering (which tends to be a provider choice these days, rather than hw vendor) is the new 'killer app' for jailbroken iphones? thats kinda sad :( Oct 01 12:42:17 no, thats just what came to mind off the top of my head Oct 01 12:42:19 gambler: well, in a way it is. It's heavily locked down though and I don't believe you can even touch the underlying OS Oct 01 12:42:43 (unless you break it) Oct 01 12:43:12 Disconnect: well, are there any other phones except for the iphone that is locked down like that? Oct 01 12:43:26 i mean, finding ways to block voip apps and such Oct 01 12:43:31 loke__: actually, most tmob phones are -worse-. Oct 01 12:43:44 even the gmail app doesn't work (not signed by tmob == no net access) Oct 01 12:44:21 Disconnect: ohh ok, but that's limited to the subsidised phoned right? I mean, you can always go and buy the non-crippled version if you pay full price for the hardware Oct 01 12:45:20 the only reason i'm still with tmob is we've got an antique cheap-as-dirt family plan with a ton of freebies.. can't get within $30 a month on any other provider :( Oct 01 12:45:36 Disconnect: so what phone do you use with them then? Oct 01 12:46:29 she's got a $60 unlocked blackberry off woot and i'm dumping a nokia e90 (nokia support is terrible, and they won't even sell me the 'disposable' parts i need.) Oct 01 12:46:38 her bb happens to be tmob-branded but.. Oct 01 12:47:02 Disconnect: I really like my E61, but it's getting very broken by now Oct 01 12:47:04 * Disconnect hasn't used "standard" provider phones in years, i think the last one was a t910. Oct 01 12:47:09 best app for it: Fring Oct 01 12:47:37 I can see how a provider would try to stop such app if they had control over the phones Oct 01 12:48:36 Disconnect: but if tmobile is so bad, how come they of all people paid to get an exclusive on the android phone? I mean, they don't have any control over the apps there Oct 01 12:48:45 yah that was surprising Oct 01 12:48:52 i suspect its a direct response to the appstore Oct 01 12:49:00 well, obviousl Oct 01 12:49:21 (i was -really- surprised when gmail didn't work.. she only runs about 4 add-on apps, and gmail is the big one. we took it back that night..) Oct 01 12:49:34 not in the usual way - people who want an iphone aren't going to buy a g1. Oct 01 12:49:36 I did read something that tmobile wanted to stop voip apps as well... Now, does that mean that the tmobile branded ones will have some kind of lock? Oct 01 12:49:54 loke__: tmob can stop voip the easy way - in their network Oct 01 12:50:22 but they do the roaming phones already (forget what its called, the ones that can switch back and forth between voip and cell automatically) Oct 01 12:50:34 so i think they made their peace with that aspect of it Oct 01 12:52:17 random g1 question (since the google auth seems to be broken on my emulator) .. can you have different google accounts for calendar and mail? (or multiple gmail accounts).. otherwise i've got some hard decisions to make :( Oct 01 12:52:53 Disconnect: how? Oct 01 12:53:20 Disconnect: sure they can block whatever protcol SIP uses, but how could they block whatever new protocol pops up? Oct 01 12:54:20 I have an unlimited dataplan for my mobile phone, I could use that thing as my primary internet if I wanted to Oct 01 12:54:32 one or two users isn't a big deal. and once it gets beyond that the traffic analysis tools highlight it, and its a matter of minutes (on the tech side) and a couple of meetings to add a filter that disrupts or destroys it Oct 01 12:55:14 Disconnect: are the unlimited dataplans in the us, "true" unlimited plans? Oct 01 12:55:21 yes and no Oct 01 12:55:23 or do they cap? Oct 01 12:55:52 yes, there are no overage charges. but no, most providers say if you use too much bandwidth (by whatever defintion - average bps over time, total rx/tx, etc) you get throttled Oct 01 12:56:10 take a look at the press about tmoble g1 and the 1gig limit for some decent background (fairly recent story) Oct 01 12:56:23 ok, throttle is OK i guess for most purposes (if the cap is high enough). Outright block or overcharge is bad Oct 01 12:56:32 Disconnect: 1 GB limit? Oct 01 12:56:35 w t f? Oct 01 12:56:36 (fwiw a heavy-use iphone coworker of mine had only used about 200M on his phone in about 1.5-2 months) Oct 01 12:56:39 1gb per month Oct 01 12:56:54 I use way more than that every month on my Nokia, and I don't do much Oct 01 12:57:55 * Disconnect should find the counter on the e90 Oct 01 12:58:36 It's on my bill every month... it contains a line for my bandwidth charge (always damn high) and then there is a line with the discount which is the same amount Oct 01 13:00:49 looks like i'm about 600 megs in about a month. so it'll be a lot higher with the g1, at least at first. Oct 01 13:02:17 Disconnect: is there still no information on the public availability of the android phone? Oct 01 13:02:27 no it got released Oct 01 13:02:35 preorder opened, then ran out, but might be open again. Oct 01 13:02:40 Disconnect: i mean, one that is not operator-locked Oct 01 13:02:41 shipping to arrive on the 23rd Oct 01 13:02:56 ahh. i think the word was $600USD after the 23rd for unlocked-no-contract Oct 01 13:03:07 that's ok Oct 01 13:03:15 400 afair Oct 01 13:03:20 or just wait 90 days and get a used one unlocked (tmob's policy is 90 days before they'll unlock) Oct 01 13:03:37 ulmen: i thought $400 was locked, just inelegible for contract extensions Oct 01 13:03:49 Disconnect: that means one can jump out of the contract for X dollars ? Oct 01 13:03:57 I can wait a few months, but my poor nokia is really dying on me... A few people in the pffice have gone for the E71, which is a mighty fine phone, but I want the android :-) Oct 01 13:04:08 http://www.engadget.com/2008/09/23/t-mobiles-cto-on-g1-unlocking-and-tethering-plus-a-few-detai/ ok .. $400 and then wait the 90 days Oct 01 13:04:15 Disconnect: might be right, 400 is without contract but may have to be unlocked too ... no idea Oct 01 13:05:11 i also read somewhere htc will be buiding a very similar phone and sell it on its own Oct 01 13:05:23 loke__: want to buy an e90? works great except the headset speaker (the standard non-speakerphone speaker) is shot. nokia support (esp if you have walk-in locations) might replace it cheap/free - its considered 'disposable' and should be replaced every time the handset is opened by nok. Oct 01 13:05:42 Disconnect: you want to sell me yours? Oct 01 13:05:49 ya Oct 01 13:06:00 i won't need it in a few weeks. and if it comes down to it, i can spend that time using my 9300i again Oct 01 13:06:02 Hmm... It's a bit big isn't it? Oct 01 13:06:05 How much for it? Oct 01 13:06:58 lemme see what its worth btu its a little big. not totally huge but.. lemme find the size comparison. Oct 01 13:07:08 Disconnect: well, I've seen it Oct 01 13:07:57 http://www.esato.com/phones/index.php/phone=333,cp=189 Oct 01 13:08:13 I'd consider it... Let me put it this way: if, after the g1 release, information comes out that says they have some kind of 1-year exclusive agreement with locked-only phones or whatever (in order words, no way for me to buy it) AND you still happen to have yur E90, then I'll buy it from you Oct 01 13:08:54 heh sounds good Oct 01 13:09:25 i'm willing to sell sooner - having to use bt headsets annoys me - but its not going anywhere (unlesss someone else buys it, but i'm not shopping it that hard) Oct 01 13:09:35 speaking of that though, I'm suprised that HTC would go into an agreement with tmobile that effecively prevents them from taking my money :-) Oct 01 13:09:46 I'd love to read the agreement between htc and tmobile Oct 01 13:09:58 oh random side note (and how it got busted :) ..) its brown, with a red front bezel. although i can put the brown back on. Oct 01 13:10:16 Disconnect: if you sell to someone else, fine. :-) but if you still have it, i'll probably take it Oct 01 13:10:20 cool Oct 01 13:11:38 For now, I'll go back to keeping my fingers crossed that tmobile didn't pay htc to keep the "non-operator-locked" phones off the market Oct 01 13:12:35 Disconnect: btw, it's a standard E90, right? quad-band so it'll actually work at full HSDPA speeds outside the us? Oct 01 13:13:12 yah got it from someone who picked it up overseas (which is why nok usa won't touch it, even for money) Oct 01 13:13:22 oh Oct 01 13:13:45 I've had pretty good experience with nokia supprot here, they took my support calls without even verifying that I have a phone :-) Oct 01 13:13:49 cool Oct 01 13:16:50 oh Oct 01 13:16:54 motorola android phones... Oct 01 13:16:56 but when? Oct 01 13:41:02 romainguy, I got the dojo guys to add support for android to gfx, but it has to fall back to Canvas. Which means I can render really cool images, but no text rotation or events Oct 01 13:41:12 android's browser really, really needs SVG :) Oct 01 13:42:04 or VML, I guess. But SVG is doesn't drink the MS koolaid Oct 01 13:50:21 howdy Oct 01 14:36:21 question not really related to android: Oct 01 14:36:37 has anyone heard of the roaming hack to get out of etf? Oct 01 14:36:48 or had any experience with it? Oct 01 14:38:29 here's something I can't seem to find an answer to - will applications be able to be loaded locally? That is, not via download from an app store, but say loaded from the sd card for example? Oct 01 14:38:40 yes Oct 01 14:38:57 cool Oct 01 14:39:11 one less impediment to getting the G1 Oct 01 14:42:13 does anyone have a 1.0 example of sqlite that doesn't use a content provider Oct 01 14:52:52 pardom: I think the Notepad example uses sqlite without a content provider Oct 01 14:53:11 it uses i content provider Oct 01 14:53:16 oh Oct 01 14:53:19 :( Oct 01 14:53:30 well it should be pretty easy to figure out how to use it without content provider Oct 01 14:53:47 pardom: do you have a specific question? Oct 01 14:53:51 i just want to see good convention Oct 01 14:53:55 and not hack something together Oct 01 14:54:01 id ont know of any example off the top of my head, but how hard can it be to figure out? :) Oct 01 14:54:16 ahh, well, look through the android apps repository Oct 01 14:54:19 maybe theyve got something in there Oct 01 14:54:23 its pretty hard to screw it up ;) Oct 01 14:54:48 where's the repository? Oct 01 14:55:00 you can find it on the developers blog Oct 01 14:55:04 kl thx Oct 01 14:56:08 one thing to consider is that you probably should be using a ContentProvider :) Oct 01 14:56:28 why? i don't intent on sharing the data Oct 01 14:56:46 if your data is not private by nature, it may be more useful than you'd think to export. Oct 01 14:56:47 intend* Oct 01 14:58:06 Photostream uses SQLite without a ContentProvider, btw. Oct 01 14:59:07 morrildl: greetings Oct 01 14:59:10 found it, thx Oct 01 14:59:26 ttuttle: howdy Oct 01 14:59:31 morrildl: hey, i've got my StreamMediaPlayer workaround moving along now. I might publish it here pretty soon once I iron out all the kinks. Oct 01 15:00:00 it's an extended MediaPlayer which adds setDataSource(RandomAccessStream) Oct 01 15:00:27 jasta: sweeeet. but it seems like it might be kind of hard to download files from IRC ;) Oct 01 15:00:47 it's so slow it's unusable on the emulator, although i have tested it on a real device and for obvious reasons it performs much better there Oct 01 15:00:53 thats pretty encouraging Oct 01 15:00:57 jasta: heh Oct 01 15:01:00 sounds about right Oct 01 15:01:45 well, my work-around is I/O intensive, in particular because the MediaPlayer is writing its own temporary cache while I'm writing a permanent one. Also, I might even be reading from the cache at the same time in certain circumstances. Oct 01 15:02:33 All this I/O going through the emulator to files on a single movable hard disk is agonizing, but on a device with two separate solid state storage mediums involved the performance is greatly improved. Oct 01 15:03:07 I hadn't really considered that initially, that this type of brutal I/O will be way faster on the device than on a PC. Oct 01 15:03:52 and as for memory usage, i'm currently using HttpCore for the server, but for production I will implement my own extremely light weight server that understands just enough HTTP to make this crude trick work Oct 01 15:03:57 jasta: good thing it's linux underneath Oct 01 15:04:04 why? Oct 01 15:04:17 b/c Linux has at least decent I/O performance Oct 01 15:04:22 oh, yes Oct 01 15:04:24 many alternatives do not Oct 01 15:05:35 i think the real win is that solid state drives have constant seek :) Oct 01 15:06:02 that too Oct 01 15:06:12 and also that there are two storage devices at play on the emulator, so its not even having to seek on one of them at all Oct 01 15:06:35 the internal storage is writing the MediaPlayer's read-ahead cache, where the storage card is writing and possibly reading my cache. Oct 01 15:16:14 if a background service is generating events, whats the best way for it to drive the UI? Oct 01 15:16:50 do you mean binding it to an activity and communicating events to the activity for display? Oct 01 15:17:05 yes exactly. Oct 01 15:17:05 If I generate an Intent in my server ActivityManager gives me a Timeout executing service Oct 01 15:17:52 i'm not sure what your question really is then, just define an asynchronous API in your service and have an activity use it to display results? Oct 01 15:18:01 morrildl: How are things going? Oct 01 15:19:22 gambler: you want to bind to your service and have async callbacks to receive the events...take a look at aidl Oct 01 15:20:03 ah ok that shines a light...I didnt investigate that Oct 01 15:20:14 gambler: here, i have a pretty sophisticated example of exactly this: Oct 01 15:20:48 http://code.google.com/p/five/source/browse/trunk/five-client/src/org/devtcg/five/activity/SourceList.java Oct 01 15:21:22 do note that this extends from my custom ServiceActivity, which is just a convenience for managing activities which critically bind to a service Oct 01 15:22:56 what it's doing is showing a simple list of sync sources and, when the service is syncing, showing its progress and results. Oct 01 15:24:10 I could read the doco but where are you registering the callbacks Oct 01 15:24:13 also note that this code defers a call to setContentView until after the service connection has been established so that it avoids the "flickr" of initially presenting a UI and then suddenly changing it based on the service's state Oct 01 15:24:47 gambler: the callbacks are defined and implemented by .service.IMetaObserver.aidl and MetaService.java respectively Oct 01 15:25:04 see the service package for a little help there Oct 01 15:25:39 these are sophisticated examples, so maybe a bit hard to learn from, but the result of a heck of a lot of tinkering and tweaking so still probably worth the time to explore Oct 01 15:25:52 cheers Oct 01 15:32:55 Apple drops NDA for released software Oct 01 15:33:04 haha the pressure is increasing :-) Oct 01 15:33:28 just today? Oct 01 15:35:32 yeah Oct 01 15:35:38 http://www.tuaw.com/2008/10/01/iphone-nda-dropped/# Oct 01 15:36:05 dumb question, did t-mo state the unlock price(if there would be one)? Oct 01 15:36:20 ha Oct 01 15:36:22 zer0her0: I've heard $400. Oct 01 15:36:25 zer0her0: iirc, 399. Oct 01 15:36:25 http://developer.apple.com/iphone/program/ Oct 01 15:36:35 but you can unlock a sim locked g1 after 90 days. Oct 01 15:36:35 the CTO said it would be $400, but he's a CO so he's probably lying. Oct 01 15:36:52 well i don't have a t-mo contract nor do i want to enter into one again Oct 01 15:37:05 zer0her0: well you wont be able to use it on ATT Oct 01 15:37:21 um why? Oct 01 15:38:06 * unix_infidel wonders what the "released software" caveat really means. Oct 01 15:38:07 3G frequencies are diff Oct 01 15:38:12 it would work, but without 3G Oct 01 15:39:59 unix_infidel: Well software after the release. :P Oct 01 15:40:34 ah ok, well tell you the truth i wouldn't even use it on ATT just wifi most likely. Oct 01 15:44:08 zer0her0: well it works without a SIM. Oct 01 15:44:41 ok cool Oct 01 15:45:00 sorry been busy with projects no time to read the announcements and break down of said news Oct 01 15:46:13 what android mailing lists should i be on? Oct 01 15:49:04 morning Oct 01 15:49:34 hello :) Oct 01 15:49:44 hi Oct 01 15:49:57 wastrel: http://code.google.com/android/groups.html Oct 01 15:49:58 SanMehat: hey Oct 01 15:51:50 yo Oct 01 15:54:39 ell all Oct 01 15:55:14 'ello * Oct 01 16:09:01 morrildl: did Alex from ShopSavvy get in touch with you recently? Oct 01 16:09:28 those programs are going to get Android users banned from Best Buy :P Oct 01 16:10:30 I don't think best buy would want that bad press Oct 01 16:10:56 I'm not saying they aren't stupid enough to do that, just that I think ultimately it would work itself out Oct 01 16:11:01 jasta: well ShopSavvy polls all local retailers in your area as well as their respective online shops. Oct 01 16:11:05 jasta: I doubt anyone who would use such an app would be in Best Buy anyway. No matter what you're looking at in Best Buy, it's a pretty safe bet it's cheaper somewhere else anyway, so why bother? :) Oct 01 16:11:38 Is ShopSavvy just for US consumers ? Oct 01 16:11:57 Or is it capable of dealing with other countries as well ? Oct 01 16:11:59 unix_infidel: I am going through my enormous email backlog now, so maybe :) Oct 01 16:12:58 wow, it's nice to have finally set up a gigabit network where i can actually get gigabit speeds ;) Oct 01 16:13:07 instead of these crummy home networks i've dealt with up until now Oct 01 16:13:50 i've got iperf reporting 988mbps transfers between all 6 servers at work Oct 01 16:14:17 too bad disk perf is so bad on all but 2 of them :) Oct 01 16:17:10 unix_infidel: sorry to ask, but who are you? I work at big in japan and you seem to know someone? Oct 01 16:18:10 jasonlee: nice UI btw in ShopSavvy :) Oct 01 16:18:19 jasonlee: heh. Oct 01 16:19:50 romainguy: thanks! Rylan has some talent at that stuff.. Oct 01 16:28:01 fyi most stores already have a no-photos policy; if this becomes super-popular they'll start enforcing it i suspect. Oct 01 16:32:13 well, technically, it isn't taking a picture. It's just scanning Oct 01 16:32:28 that would be fun getting into that argument with the manager. Oct 01 16:32:33 where's the picture, eh? Oct 01 16:32:38 actually, technically it _is_ taking a picture. Oct 01 16:32:41 I know Oct 01 16:33:04 but I'm thinking of making the manager prove you're taking pictures of his store Oct 01 16:33:20 i think he'll probably just kick your ass out either way :) Oct 01 16:33:27 lol Oct 01 16:33:42 it they have good prices, they won't have any problems Oct 01 16:37:20 but they dont and they know that :) Oct 01 16:45:04 all he has to do is prove that you are waving a cameraphone around Oct 01 16:45:13 and he doesn't even really have to prove that... Oct 01 16:45:35 all he really has to do is kick your ass out of the store. lol Oct 01 16:45:41 why would the store manager care? Oct 01 16:46:19 depends on wether the store manager relizes he is nothing but a peon or not. Oct 01 16:46:35 oh Oct 01 16:46:38 Hey, it's October now Oct 01 16:46:40 wow Oct 01 16:46:46 morrildl: indeed it is Oct 01 16:46:53 :( means I have to pay money soon again Oct 01 16:47:11 morrildl: I can't recall the details, but I heard some crummy cell phone was launching this month. :-P Oct 01 16:47:42 that one from t-mobile? yeah, I heard it's ugly, and has two different clocks on it, and can't compete with the iPhone at all Oct 01 16:47:53 Yeah, what a shame. Oct 01 16:47:55 ;-) Oct 01 16:48:26 2 different clocks? Oct 01 16:48:50 someone on gizmodo was talking about UI design, because there's a clock widget, and a clock in the upper right corner Oct 01 16:48:56 the clock on the bar showed a different time than the big clock in the middle in one of the promo videos. Oct 01 16:49:07 Danikar: That's likely been fixed. Oct 01 16:49:20 more likely it was just photoshopped Oct 01 16:49:31 rayado: probably not. Oct 01 16:49:39 rayado: why go to the effort of photoshopping it when you have a real GUI? Oct 01 16:50:30 fwiw in the emulator its .. very wrong. Oct 01 16:50:57 analog says 4:49, titlebar says 2:31 Oct 01 16:51:24 ouch Oct 01 16:51:41 romainguy: welcome back Oct 01 16:51:42 er Oct 01 16:51:44 fail Oct 01 16:52:12 first thing I do after wiping the data is kill that clock...it's ugly Oct 01 16:52:14 The video on tmobile still has the 9:10 and 2:47 thing. Oct 01 16:52:26 nice Oct 01 16:53:18 romainguy_ loves that clock Oct 01 16:53:28 He talks about it all the time, how awesome it is Oct 01 16:53:32 haha Oct 01 16:53:33 It's his favorite part of the UI Oct 01 16:54:28 morrildl: which one, the analog one? Oct 01 16:54:33 morrildl: I mean, I love the Alarm Clock myself. Oct 01 16:54:35 Yup Oct 01 16:54:42 romainguy_ LOVES that home screen clock. Oct 01 16:54:59 morrildl: It is pretty sweet. Oct 01 16:55:01 (romainguy_ is ignoring me.) Oct 01 16:55:23 or you know, not actually at his computer Oct 01 16:55:23 morrildl: He may not be at his computer -- romainguy (no underscore) disconnected just a moment ago. Oct 01 16:55:29 ah Oct 01 16:55:46 does he not actually love that clock, morrildl? *grin* Oct 01 16:56:12 jasta: he *loathes* that clock. Oct 01 16:56:25 haha, I see what u did thar Oct 01 16:56:28 i got that, i was joking Oct 01 16:56:33 >_> Oct 01 16:56:34 but yes, i hate that clock too Oct 01 16:56:37 yeah, but others aren't Oct 01 16:56:37 it's hideous and out of place Oct 01 16:56:56 jasta: agreed! Oct 01 16:57:00 I think it should have been a bug droid with his arms positioned to tell time Oct 01 16:57:04 i actually don't much like the home screen this time around (*runs wildly away from romain*) Oct 01 16:57:08 morrildl: the Alarm Clock has one like that. Oct 01 16:57:12 it feels too much like the crappy windows desktop Oct 01 16:57:16 * ttuttle hands jasta a collection of knives. Oct 01 16:57:23 s/jasta/morrildl/; Oct 01 16:58:01 About that clock: I've said this before - why can I style the alarm clock (which I will rarely if ever see) and not the clock on the home screen? Oct 01 16:58:12 tomgibara: They're different apps. Good point though. Oct 01 16:58:18 And why do the alarm clocks not include the homescreen clock? Oct 01 16:58:21 tomgibara: Also, statistically, you will see the alarm clock. Oct 01 16:58:44 ttuttle: statistically? Oct 01 16:58:47 tomgibara: Yes. Oct 01 16:58:54 i'm disappointed by the lack of flexibility that made it into the home screen for 1.0 actually Oct 01 16:58:57 tomgibara: It's very commonly used on US phones. Oct 01 16:59:41 jasta: widget support would be awesome Oct 01 16:59:49 zhobbs: In due time... Oct 01 16:59:55 ttuttle: You mean statistically, there is a high probability that a significant proportion of the population of users who own the phone will see it? Oct 01 17:00:02 tomgibara: s/see/use/, yes. Oct 01 17:00:50 the problem is that home screen widget support requires multiple processes to be able to plug into the same view hierarchy Oct 01 17:00:59 this has security implications, to say the least Oct 01 17:01:09 it's a big enough project that it got bumped from 1.0 Oct 01 17:01:10 morrildl: Yes romain had pointed to that Oct 01 17:01:18 a Widget API is on the roadmap Oct 01 17:01:25 morrildl: yeah, understandable Oct 01 17:01:55 morrildl: I suppose my core point is that the alarm app should at least have included the home screen clock. Oct 01 17:03:24 tomgibara: fair enough :) Oct 01 17:09:07 what kind of playlists does the MediaStore parse of the /sdcard? Oct 01 17:09:19 zhobbs: or how about replacing it ourgith? Oct 01 17:09:21 outright* Oct 01 17:09:28 MediaStore? Oct 01 17:09:38 i was still talking about the home screen :) Oct 01 17:10:02 one of my first ideas for adc was some kind of a unique home screen Oct 01 17:10:09 probably just .pls and .m3u, although actually i dont know how it would do that very well Oct 01 17:10:09 Does someone know if there is an application in developement for recording GPS tracks? (for supporting the OpenStreetMap project or playing geocaching) Oct 01 17:27:15 Hey can someone tell me how to align the text in a EditText widget to the right side? Oct 01 17:34:08 wow, about time: http://developer.apple.com/iphone/program/ Oct 01 17:36:45 wait...not sure I even understand...I first thought it meant that you could talk about the API in public Oct 01 17:36:50 is that what it means? Oct 01 17:37:48 First rule of iPhone development: don't talk about iPhone development. Oct 01 17:37:55 haha Oct 01 17:40:37 lol Oct 01 17:41:34 zhobbs: are you reading that verbiage? Oct 01 17:41:39 morrildl: don't get me started on the clock :)) Oct 01 17:41:40 it sounds like a 15 year old wrote it. Oct 01 17:41:54 jasta: when 0.9 was released you seemed to like the Home screen :) Oct 01 17:42:13 romainguy_: well, i like it better than M5 ;) Oct 01 17:42:41 but the more i look at it i realize it's basically just the microsoft windows desktop with some simple gimmicks on top (activedesktop anyone?) Oct 01 17:42:56 yes, that's exactly what it is Oct 01 17:42:57 but those gimmicks aren't even programmable, and so far i see only a handful of not-so-useful ones Oct 01 17:43:35 and that clock...ugh :) Oct 01 17:51:27 romainguy_, http://svgopen.org/2008/papers/63-How_Ajax_Changes_the_Game_for_SVG/ Oct 01 17:51:31 android is mentioned Oct 01 17:51:49 guess the author was under the same wrong assumption that I was :) Oct 01 17:56:46 svg what now? Oct 01 17:57:11 monteslu: that people care about SVG? :)) Oct 01 17:57:23 i like inkscape Oct 01 17:57:27 wastrel, it's missing in the android browser Oct 01 17:57:36 romainguy_, people will care more and more Oct 01 17:58:08 look at what you can do with dojox gfx, and tell me a better way of doing that Oct 01 17:58:17 Canvas API? Oct 01 17:58:25 Canvas API is horrible Oct 01 17:58:27 no events Oct 01 17:58:32 no text manipulation Oct 01 17:58:43 both svg and vml have it Oct 01 17:59:07 SVG has had 10 years to become popular. Oct 01 17:59:20 fadden, so did ajax Oct 01 17:59:23 now it is Oct 01 17:59:35 things take time for other technologies to catch up Oct 01 17:59:41 Fair point Oct 01 18:00:52 However AJAX is an enabling technology Oct 01 18:00:57 as is svg Oct 01 18:01:00 * Cedric2 is still skeptical that SVG will ever go anywhere Oct 01 18:01:30 The main problem with SVG is that it's in XML. Oct 01 18:01:38 * morrildl has decided that there aren't enough XML flamewars on this channel. Oct 01 18:01:38 There are a lot of things that SVG cannot do well Oct 01 18:01:40 and a bad XML format too Oct 01 18:01:57 There is nothing that AJAX can't do since it's such a low-level technology Oct 01 18:02:03 Also, SVG requires that you use emacs to edit it. Oct 01 18:02:10 Cedric2, there is nothing that it can't do that canvas can Oct 01 18:02:11 haha Oct 01 18:02:17 yet canvas is supported by android Oct 01 18:02:18 morrildl: nice add Oct 01 18:02:29 Oh I'm not arguing that Canvas is better than SVG Oct 01 18:02:35 more likely it was just photoshopped Oct 01 18:02:37 doh Oct 01 18:02:44 wrong window Oct 01 18:02:51 however, Canvas strikes me as a very low-level layer too, and there's a good track record that low level technologies can fare very well Oct 01 18:03:11 how is it lower level than svg? Oct 01 18:03:14 For example, you can do both vector and bitmap graphics on Canvas Oct 01 18:03:26 and you can add rasters to svgs Oct 01 18:03:41 and you can stretch and skew and rotate them with dojo Oct 01 18:03:44 Canvas is already supported by 95% of browsers out there Oct 01 18:03:51 not IE Oct 01 18:03:58 What you can add to a technology that doesn't exist on the web is not very relevant Oct 01 18:04:25 canvas doesn't do events, that's a big deal Oct 01 18:04:40 that's not what canvas is for Oct 01 18:04:46 the view hierarchy does events Oct 01 18:05:14 so, then what we write everthing for the specific platform? or in flash ? Oct 01 18:05:23 the view hierarchy is more like svg than canvas Oct 01 18:07:32 if it's a small addition why not do it? Its not like its adding overhead when its not used, and its completely open Oct 01 18:07:55 monteslu: how is it a small addition? Oct 01 18:08:10 i didn't say it is. I said if it is Oct 01 18:08:24 I didn't hear that it is in fact huge Oct 01 18:08:42 and it was important enough to put in chrome Oct 01 18:08:48 Android is not Chrome Oct 01 18:08:54 i realize that Oct 01 18:09:01 we don't have the luxury of virtually unlimited storage and memory Oct 01 18:09:11 of course not Oct 01 18:09:13 even if it's just a few hundred kbytes of binaries, it's a lot Oct 01 18:09:23 I'm not saying SVG will not be supported or anything like this Oct 01 18:09:34 just that it's not as easy as turning a switch on Oct 01 18:09:44 especially considering the current spread of SVG Oct 01 18:10:07 sure, but I haven't heard a good reason why it shouldn't be supported Oct 01 18:10:18 so I'm doing my part to ask why its not there :) Oct 01 18:10:30 because there are tons of other priorities Oct 01 18:10:30 lol when android comes out you can implement it. Oct 01 18:10:32 :) Oct 01 18:11:12 hey, if it helps. I'll try Oct 01 18:11:25 its an open spec with open implementations Oct 01 18:11:46 I'm just not a fantastic c coder Oct 01 18:12:30 hmm Oct 01 18:12:56 Should I turn android-chat into a normal chat client, and charge for it? Oct 01 18:13:15 Kraln: Yes, and no. Oct 01 18:13:31 so I should release it for free? Oct 01 18:13:36 make me =p Oct 01 18:13:50 You're welcome to try :) Oct 01 18:14:08 romainguy, is there a better browser priority? Just curious as to what it is Oct 01 18:14:24 the one in the sdk seems to work well Oct 01 18:14:31 other than the svg thing, of course Oct 01 18:14:46 Kraln: if it was really good I'd pay up to $1.99 for it...but there will probably be an open source one right? Oct 01 18:14:56 zhobbs: it already is open source Oct 01 18:15:02 ahh Oct 01 18:15:04 you know that open source does not mean freeware, right? Oct 01 18:15:31 Trying to do the following with the new SDK but it appears some of the options to the emulator have changed Oct 01 18:15:33 android-sdk_m3-rc37a/tools/emulator -sdcard card.img -console -debug-kernel Oct 01 18:15:46 that worked with sdk m3-rc37a Oct 01 18:15:56 Kraln: sure, I guess you have to prove that you purchased the app to get the source? Oct 01 18:15:58 but the -console and -debug-kernel options are not recognized on the new version Oct 01 18:16:11 zhobbs: I'm not sure how I'm going to roll with it Oct 01 18:16:22 but lets say that source is free but if you want binaries you have to pay for them? Oct 01 18:16:30 right Oct 01 18:18:07 it'll take almost no time for bins to get released in that case. unless you go with something like the pine license, in which case.. hmm. you'll spend more time chasing bin distributors than coding Oct 01 18:18:13 Kraln: That's useless... someone else will compile them and giving them out. Oct 01 18:18:17 s/giving/give/; Oct 01 18:18:33 open source does not mean devoid of copyright Oct 01 18:18:46 I still retain copyright over the binaries generated by my source, and the name Oct 01 18:18:59 they'd have to call it something else. and change all the graphics and layouts (stuff not covered by code) Oct 01 18:19:13 and, I would point you to xchat for windows as an example Oct 01 18:19:15 Kraln: the hard part is enforcing that. Oct 01 18:19:33 I'm sure that whatever store google has cooked up for android would be receptive to takedown notices. Oct 01 18:19:37 yep. cuz that worked so well for mozilla - they spent years getting enough lawyers together to convince people they were serious, much less eventually making it happen Oct 01 18:19:40 anyone? Oct 01 18:19:57 Kraln: doesn't need to be in the store for it to get distributed. Oct 01 18:20:03 cyrus__: can you work without those flags? Oct 01 18:20:08 this isn't the iphone after all :) Oct 01 18:20:16 you are talking about channels that less than 5% of consumers will take Oct 01 18:20:32 95% of people: I WANT AN IRC CHAT CLIENT. OH LOOK THERE IS ONE FOR $1 IN THE STORE. *BUY* YAAY Oct 01 18:20:45 Kraln: I agree Oct 01 18:20:48 you got it wrong Oct 01 18:20:48 5% of people: I want an irc chat client, but I am too cheap to pay $1 for binaries but too stupid to compile it from source. Oct 01 18:20:52 Kraln: true enough (see iTunes vs. amazon MP3) Oct 01 18:20:55 fadden - well I have tried to find out how I can access the console for the adb while the emulator is running, but haven't had any luck yet Oct 01 18:20:58 only 5% of cell phone users want an IRC client :) Oct 01 18:21:01 though, that's probably more true for tetris than an IRC client Oct 01 18:21:05 oh look, there is another one for free. *notbuy* Oct 01 18:21:22 cyrus__: what's special about the console? Does "adb shell" not provide what you need? Oct 01 18:21:30 romainguy: shh =p Oct 01 18:21:42 yah. "oh wait, there's the free version without a pretty icon. even better." Oct 01 18:22:09 Disconnect: I think you meant "betterer". Oct 01 18:22:34 fadden - not sure..never tried adb shell. let me give it a go Oct 01 18:25:13 Disconnect: see iceweasel vs firefox Oct 01 18:25:25 right, i mentioned that earlier. Oct 01 18:25:27 Kraln: i suggest to sell a "donation"-version for a few bucks and a free version for, well, free Oct 01 18:25:54 if you app is good and i think worth some bucks, i'd happly give them away Oct 01 18:26:07 or just bite the bullet and make it closed. Oct 01 18:26:26 if thats what you want Oct 01 18:26:51 getting rich with some irc client won't happen i think =) Oct 01 18:27:06 that too Oct 01 18:28:40 yeah Oct 01 18:28:51 in fact, I'd go as far as to say getting rich with some android application won't happen =p Oct 01 18:29:00 why are there only three virtual desktops on the home screen? Oct 01 18:29:04 is that configurable? Oct 01 18:29:04 which is why I'm working on an iphone game =p Oct 01 18:29:11 sell it for $1k and give it a nice big "don't panic" button Oct 01 18:29:25 Kraln: ADC winnders would probably beg to differ :) Oct 01 18:29:27 tethridge: because more was too much Oct 01 18:29:30 so for 1.0, it's only 3 Oct 01 18:29:40 (too complicated to use :) Oct 01 18:29:44 Cedric2: ADC winners? You mean 3x flashlight, 4x location services, etc? Oct 01 18:29:49 that's artificial, I meant in the market Oct 01 18:29:58 No, I mean the apps that are sharing the prize money Oct 01 18:30:22 romainguy, I guess that means not configurable too Oct 01 18:30:33 3 desktops seems like more than I'll use on the phone Oct 01 18:30:43 iPhone has up to 9 Oct 01 18:30:45 tethridge: that's right Oct 01 18:31:00 of course it doesn't have the concept of the app drawer Oct 01 18:31:01 I'll go on record stating that "Three desktops should be enough for everybody" Oct 01 18:31:19 tethridge: it is a bit different in that you can't really use these 9 screens freely Oct 01 18:31:54 true Oct 01 18:32:20 Kraln: i'll spend $20 on your irc app if you get my preordered g1 to me this week :) Oct 01 18:32:29 nah Oct 01 18:32:37 busy enjoying the money my iphone app is making me =p Oct 01 18:32:51 I'm taking the wait-and-see approach to android Oct 01 18:32:53 what's your app? Oct 01 18:33:22 Kraln what do you make roughly on it a week? Oct 01 18:33:25 romainguy: gflash+ - #1 in education Oct 01 18:33:51 jjshoe: roughly? minimum wage Oct 01 18:33:58 Kraln: looks like #2 to me Oct 01 18:34:07 doh Oct 01 18:34:14 yakischloba: d'oh. Oct 01 18:34:25 well, it was #1 for four weeks, what can you do? =0 Oct 01 18:34:40 har Oct 01 18:34:42 what is it. A flash card program? Oct 01 18:34:45 yea I was talking to a bunch of advertising guys about this. Oct 01 18:34:53 tethridge: yes Oct 01 18:34:55 distribution of profits is going to be much more spread out. Oct 01 18:35:07 Kraln can't say there's anything wrong with a little extra cash, even if it's little Oct 01 18:35:19 jjshoe: minimum wage is about $13,000 a year. Oct 01 18:35:23 that's retirement funding, sir Oct 01 18:35:35 or a new KIA! Oct 01 18:35:41 eww. Oct 01 18:35:42 heh. Oct 01 18:35:55 I think the amount of people who own iphones or macs and drive kias is near zero Oct 01 18:36:16 meh, know a days I see people happy that they dont have to reboot their iPhones. Oct 01 18:36:18 Kraln, how is it that you are making money with a free app? Oct 01 18:36:28 now* Oct 01 18:36:28 mad ninja skills. Oct 01 18:36:31 or advertisements. Oct 01 18:36:39 ah Oct 01 18:37:00 i read somewhere $13,500 was the total cost of ownership for an iphone for five years ;) Oct 01 18:37:09 ulmen: lol Oct 01 18:37:13 hardly shocking Oct 01 18:37:14 so you can afford 5 Oct 01 18:37:15 ulmen: Wouldn't surprise me. Oct 01 18:37:17 eh, it's nearly 3. Oct 01 18:37:48 the iPhone is much better built that the G1, imho. Oct 01 18:38:01 I wouldn't know. I can't stand at&t, I develop for ipod touch Oct 01 18:38:13 Kraln: AT&T is better than Verizon. Oct 01 18:38:22 will likely get an iTouch in conjunction with the G1. Oct 01 18:38:30 my sprint deal is > * Oct 01 18:52:31 Kraln, do you actually have a lot of people that click those ads? Oct 01 18:56:27 hi can any one tell me when the phone will be released? Oct 01 18:56:39 oct 22 Oct 01 18:56:50 sucky ok Oct 01 18:56:57 you can order it now Oct 01 18:57:03 i did Oct 01 18:57:09 i just want the firmware :) Oct 01 18:57:16 download the sdk Oct 01 18:57:16 ORDER NOW operators standing by Oct 01 19:07:31 yeep Oct 01 19:20:20 romainguy_: how do I disable animation caching? Oct 01 19:23:41 To distribute a android application do I just need to give the apk file in the bin directory? Oct 01 19:23:59 Wow, I just found out about .aidl and parcelables Oct 01 19:24:06 fantastic stuff Oct 01 19:24:15 Danikar: you need to sign it...the one in /bin is a "debug" signed Oct 01 19:24:34 used keytool and jarsigner to sign it, there's docs on it somewhere Oct 01 19:31:47 Thanks Oct 01 19:31:52 hey Oct 01 19:38:53 zhobbs: why do you need to disable it? Oct 01 19:38:58 (then I'll tell you how to disable it :) Oct 01 19:39:36 romainguy: getting OutOfMemoryExceptions when it's trying to pull/generate the cache Oct 01 19:40:01 romainguy: well, how does the caching work? Oct 01 19:40:12 boo. your app must really be using tons of memory Oct 01 19:40:24 I have a framelayout and I'm constantly animating different stuff in and out Oct 01 19:40:41 what exactly does it cache? every different view that might be coming/going? Oct 01 19:41:12 android:animationCache="false" on the parent of the animated children Oct 01 19:41:22 the animation cache copies the animated views into bitmaps Oct 01 19:41:30 you'll get bad performance without it Oct 01 19:41:35 ok, what if the view is destroyed? Oct 01 19:41:54 the cache goes away Oct 01 19:41:59 the bitmap is cached in the view Oct 01 19:42:03 ok Oct 01 19:42:04 cf View.getDrawingCache() Oct 01 19:42:15 generally these views are destroyed shortly after animation Oct 01 19:42:24 and you can destroy it manually Oct 01 19:42:54 so..in java what can I be doing to leak memory? Oct 01 19:43:06 holding references to old objects Oct 01 19:43:27 for instance if you have a static field that keeps a reference to a Context object somehow, you will leak the entire activity on screen rotation Oct 01 19:44:16 hmmm Oct 01 19:44:47 (side note, I decided it's much easier to handle rotation manually) Oct 01 19:45:16 handling rotation manually has huge drawbacks Oct 01 19:45:18 does anyone know of a good idl/parcelable example? Oct 01 19:45:23 that runs in 1.0? Oct 01 19:45:38 romainguy: such as? Oct 01 19:46:06 you can't use different assets as easily Oct 01 19:46:18 yeah, that's true Oct 01 19:46:32 dealing with different threads on rotation is a pain though... Oct 01 19:46:32 we really advice not to handle rotation manually Oct 01 19:46:47 really, I was advised that I should when I talked to some googlers Oct 01 19:46:48 how so? Oct 01 19:46:55 it depends on your app Oct 01 19:47:06 for instance it makes sense for Browser to handle it manually Oct 01 19:47:34 all my screens are ListViews or WebViews Oct 01 19:47:48 so what exactly is easier for you to do manually? Oct 01 19:47:58 hmm so i heard rumors that there is a special cache partition on the device (that i guess the browser is making use of), but im not seeing any implementations of java.net.ResponseCache in the framework :/ wondering if there is some magic way of interfacing with that cache space Oct 01 19:48:23 umdk1d3: there is a cache partition, but I highly doubt ResponseCache is the way to access it Oct 01 19:48:27 when you rotate screen while a thread is running I have to manage the state of that thread much more carefully Oct 01 19:48:36 * umdk1d3 continues to grep the docs Oct 01 19:48:56 umdk1d3: I don't know if the public APIs give access to the cache Oct 01 19:49:38 there is android.webkit.CacheManager Oct 01 19:49:42 and hand my thread off to onRetainNonConfigurationInstance(), and handle it on the other side Oct 01 20:02:30 hmmm.....looks like LocalActivityManager.destroyActivity() doesn't really release any resources... Oct 01 20:02:39 that's why I have no memory! Oct 01 20:04:32 bah ill be writing my own cache i guess :/ because the url can slightly change between sessions, even though its the same image Oct 01 20:04:48 hmm maybe i can create fake urls and just treat them as generic cache keys Oct 01 20:05:01 zhobbs: how do you know this? Oct 01 20:07:28 tomgibara: well, I'm calling it to destroy an activity and my memory usage doesn't go down Oct 01 20:07:54 (sysinfo tab in ddms) Oct 01 20:08:57 zhobbs: What if something else is holding onto a reference to the Activity? Oct 01 20:09:28 zhobbs: make sure you GC your process, the system process and your process again a couple of times Oct 01 20:09:45 and like tomgibara says, you might just be holding a reference to the Activity somewhere Oct 01 20:09:51 it's pretty easy to do through the Context class Oct 01 20:10:00 hmm Oct 01 20:12:10 romainguy: I should manually invoke gc? Oct 01 20:12:43 no Oct 01 20:13:11 make sure you don't hold onto the references Oct 01 20:13:19 * ezak is gone, autoaway/10m (l!on) Oct 01 20:13:23 I was telling you do force GCs to make sure the memory doesn't go away Oct 01 20:13:52 ok Oct 01 20:15:45 yeah, it's not going away....let me try to figure out if I'm keeping a reference somwhere... Oct 01 20:25:30 jasta: you there? Oct 01 20:25:57 romainguy: when I run destroyActivity() it returns a Window, do I need to do something with this Window to release it's resources? Oct 01 20:33:57 zhobbs: Finding leaks in a big app is tricky, instead could you tackle it in the opposite direction? Produce a simple test app that repeatedly creates and destroys apps and see if that leaks, if it doesn't you know that your leak isn't related to the LocalActivityManager Oct 01 20:35:07 tomgibara: yeah, might not be a bad idea Oct 01 20:35:51 tomgibara: I've noticed that they don't use LocalActivityManager.destroyActivity() in their TabHost Oct 01 20:36:30 and I found another bug already around destroyActivity() ( http://code.google.com/p/android/issues/detail?id=879 ), so I'm not ruling out the possibility that it's a bug Oct 01 20:37:21 zhobbs: either way a mini test app should provide useful information Oct 01 20:37:35 yeah, thanks for the tip...I'll try that out Oct 01 20:41:11 anyone here "actually" played with this thing yet Oct 01 20:42:00 Poohba1: all the google guys prolly Oct 01 20:42:10 and evidently tmob is doing hands-on training in their stores Oct 01 20:42:20 they are bias Oct 01 20:42:25 i need an unbias opinion Oct 01 20:42:44 it's horrible Oct 01 20:42:48 lol Oct 01 20:42:50 the one i was using sucked Oct 01 20:42:51 :-D Oct 01 20:43:03 ok... ineed an unbias detailed opinion Oct 01 20:43:04 * zer0her0 has never touched one Oct 01 20:43:11 haha Oct 01 20:44:52 i'm a windows mobile user and i like my dash although I am sure it could be better. it freezes more than i'd like and it runs out of resources... which is why it freezes a lot Oct 01 20:45:05 not a lot but enough Oct 01 20:45:45 i am just wondering if 2wks will be enough time for me to put it t hrough hell to know if i want to keep it Oct 01 20:45:48 so check out engadget's comparisons Oct 01 20:45:58 or just get one Oct 01 20:46:14 i do a lot of emails and texting Oct 01 20:46:55 web browsing Oct 01 20:47:07 the thing i do least is talking Oct 01 20:47:25 stereo bluetooth (is this available?) Oct 01 20:47:46 tomgibara: my small test makes it seem like it's a bug Oct 01 20:47:57 damnit....that sucks Oct 01 20:48:15 zhobbs: Given your previous comments, not that surprising I guess Oct 01 20:48:50 now I'm screwed..... Oct 01 20:49:01 why? Oct 01 20:49:33 You rely on this class? Oct 01 20:49:35 cause my app relies on that....I have 10 different activities all coming through my activitygroup Oct 01 20:50:06 What's the reason for using the activity group? I've not used one directly Oct 01 20:50:18 I'm using it for tabs Oct 01 20:50:36 I can have tabs, and animate each screen in and out within my tabs, etc Oct 01 20:50:53 Well, maybe you can take heart from the fact that TabHost seems to work okay Oct 01 20:51:03 or perhaps that leaks Oct 01 20:51:07 it leaks Oct 01 20:51:33 ah, then it sounds like a tricky situation Oct 01 20:51:33 it doesn't destroy the other activities, it just accepts that memory hit Oct 01 20:51:42 (according to jad) Oct 01 20:52:13 you did read the SDK licence agreement didn't you ;) Oct 01 20:52:31 of course, that's what makes decompiling it so fun! Oct 01 20:52:39 :) Oct 01 20:53:05 how do i get the _id of the list view item from onItemClick() Oct 01 20:53:19 zhobbs: So when does memory from a TabHost get reclaimed? Oct 01 20:53:33 when the TabHost is destroyed I guess Oct 01 20:54:18 It's starting to look grubby... Oct 01 20:54:41 I'm not using TabHost directly, in my tab system I just have a constant like MAX_RUNNING_TABS and I will keep at most that many tabs alive Oct 01 20:57:01 Is there anyway to embed an activity without using this class? Oct 01 20:59:05 tomgibara: not sure, might have to find out :) Oct 01 21:06:54 tomgibara: doesn't look like you can...we don't have access to ActivityThread Oct 01 21:13:36 how come parceable objects no longer have readFromParcel? Oct 01 21:13:42 was it a security issue? Oct 01 21:14:12 hi, according to the docs, textview manages the scrollbar on it's own. I tried setting more text then can be fitted in the screen, but the scrollbar doesnt show, any ideas? Oct 01 21:14:24 zhobbs: I have no idea if this is possible or even sensible, but could you embed your 'actual' activities into 'wrapper' activities (which are memory light in their own right), put your wrappers into your tabbing widget and hold onto them permanently, then reduce memory usage by destroying the widgets that embed the actual activities Oct 01 21:14:33 I hope that makes some sort of sense Oct 01 21:15:59 How do I go about embedding/destroying in each wrapper activity? Oct 01 21:17:34 Produce a widget (backed by the evil LocalActivityManager) that just displays the actual activity and then destroy the widget to release the memory. Oct 01 21:18:05 I'm assuming that its possible to release the memory when the widget is destroyed otherwise TabHost would be severely impacted Oct 01 21:21:19 I totally concede that its an almost wholly nasty idea, but if your app hangs on it, its the only suggestion I have Oct 01 21:21:37 tomgibara: submitted an issue, if you want to see the sample project I used http://code.google.com/p/android/issues/detail?id=927 Oct 01 21:21:37 that or make sure you do not leak anything Oct 01 21:22:13 romainguy: maybe I'm doing something wrong (I hope), a project demonstrating the problem is attached to that issue Oct 01 21:23:32 well here you go Oct 01 21:23:37 Window win = getLocalActivityManager().startActivity("T2", i); Oct 01 21:23:37 mView = win.getDecorView(); Oct 01 21:23:37 mFrame.addView(mView); Oct 01 21:23:46 you keep a reference to the activity's decor view Oct 01 21:23:50 which has a reference to the Context Oct 01 21:23:54 the Context is the activity itself Oct 01 21:24:02 since you keep that decor view reference as a field, the GC cannot collect it Oct 01 21:24:41 well, mView gets reassigned right, so GC should pick it up? Oct 01 21:25:54 ok I see Oct 01 21:26:00 android is my first java experience....so I haven't really put the time in to study GC, etc Oct 01 21:27:27 lemme check Oct 01 21:28:27 (and if you try to restart tab 2 it doesn't work, bug 879) Oct 01 21:29:58 zhobbs: At least you may have a work around - I had to give up on this (I'm pretty sure it's impossible): http://code.google.com/p/android/issues/detail?id=926 Oct 01 21:30:42 htc diamond anyone? Oct 01 21:30:43 yeah, I'd be very happy with a hacky workaround at this point "_ Oct 01 21:30:46 :) Oct 01 21:30:59 anyone have any ideas about my problem with textview? Oct 01 21:31:18 it doesnt show the scrollbar when the text is more then what can be displayed in a single screen Oct 01 21:31:52 put it in a scrollview Oct 01 21:32:46 according to the doc, a textview takes care of the scrollbar Oct 01 21:33:30 where does it say that? Oct 01 21:33:45 http://code.google.com/android/reference/android/widget/ScrollView.html Oct 01 21:33:57 2nd last line before summery Oct 01 21:34:29 I thought TextView supported scrolling only in EditText Oct 01 21:34:34 but I might be wrong ^^ Oct 01 21:35:03 the api examples have the layout in scrollview as well, then a textview inside that element of the layout xml file :/ Oct 01 21:38:37 hey Oct 01 21:39:09 i am having problem using udp connection in java to connect to a python/.NET server Oct 01 21:39:47 has anyone here have experience using UDP ? Oct 01 21:39:54 could we get views to be serializable? Oct 01 21:40:03 zhobbs: I can't reproduce your bug Oct 01 21:40:15 when I force GCs of the processes, the memory is reclaimed Oct 01 21:40:21 and there's no stray activity or objects left Oct 01 21:41:44 romainguy: hmm, interesting Oct 01 21:41:55 androoid: have you done anything with port redirection? Oct 01 21:42:10 romainguy: what process did you force GC on? Oct 01 21:42:15 just your process Oct 01 21:42:17 fadden: no Oct 01 21:42:58 Are packets getting out and just not coming back? Or not getting out at all? Oct 01 21:43:48 I tried a client/server in Java and android it is working fine Oct 01 21:44:10 e.g.: http://code.google.com/p/android/issues/detail?id=44 Oct 01 21:44:15 but I need to have the client speak to a python/.NET server this time and it seems to not be able to connect Oct 01 21:44:34 zhobbs: I just ran your test case, same thing: the memory was reclaimed promptly Oct 01 21:44:56 "connect" is kind of a stretch with UDP Oct 01 21:45:04 Let me try a lower port, I am currently in 8007 Oct 01 21:45:33 fadden: sorry I do not know the terms, this is my first time attempt with socket programming Oct 01 21:46:04 I know the client is working in Java since I can see the server has received it in the debug console Oct 01 21:47:43 tomgibara, romainguy ok...well that's good news, so we forced gc, but that would happen normally whenever needed right? Oct 01 21:48:11 yes Oct 01 21:48:16 but there was no need to GC there Oct 01 21:49:47 As I read the situation, the simple test app I suggested has demonstrated that there is no memory leak in destroyActivity(). Thus the most likely cause is now a memory leak inside your application. Oct 01 21:50:13 that's right Oct 01 21:50:29 I also checked the heap and there was no reference to Tab2 left Oct 01 21:50:35 yeah, sorry for wasting your guys' time...gotta figure out what the problem is... Oct 01 21:51:04 fadden: that bug wouldn't pertain to my problem because I am not even using android right now, I am just testing it with Java Oct 01 21:51:10 zhobbs: Fine, I'm chugging through javadoc'ing, I'm glad for the occasional distraction! Oct 01 21:51:51 androoid: desktop only, emulator not involved? Oct 01 21:51:56 fadden: yeah Oct 01 21:52:14 I am just using the java datagram class Oct 01 21:52:23 zhobbs: no problem Oct 01 21:52:26 Alrighty then. Oct 01 21:52:42 What sort of server are you talking to? Oct 01 21:52:52 a Python/C# server Oct 01 21:52:59 zhobbs: lemme check something that might help you Oct 01 21:53:14 the Python client talks to the C#/Python server fine Oct 01 21:53:38 Python code is bouncing UDP packets off of it? Oct 01 21:53:54 I don't know what bouncing off means Oct 01 21:54:06 It seems like it is not connecting at all Oct 01 21:54:11 T-Mobile is not accepting any preorder for G1........ Oct 01 21:54:28 remember that udp doesnt work in the emulator, at least incoming iirc Oct 01 21:54:47 androoid: TCP and UDP have a common parent (IP) but are independent. TCP is connection-oriented, UDP is packet-oriented. Oct 01 21:54:52 umdk1d3, the same on from Adullam? Oct 01 21:54:57 s/no/one Oct 01 21:55:00 umdk1d3: the UDP works if it's Java client/server Oct 01 21:55:02 bleh, fail Oct 01 21:55:03 You don't "connect" to a server with UDP; you throw packets at it and it throws some back. Oct 01 21:55:14 qemu acts as a nat, and you could use adb to create port forwarding for TCP Oct 01 21:55:30 umdk1d3: at this point he's totally on desktop Java Oct 01 21:55:32 fadden: Yes, I guess the Python/C# server is not getting the packets the Java client is sending Oct 01 21:55:35 gary|: lol why? Oct 01 21:55:46 cos im there also Oct 01 21:55:49 just wandering Oct 01 21:56:00 pres been dead for awhile :P Oct 01 21:56:06 under a diff nick ;) Oct 01 21:56:13 i dont go there for that Oct 01 21:56:29 i used to, but i just idle since it seems like an ok place Oct 01 21:56:40 ah cool Oct 01 21:56:51 yea im an ircop there Oct 01 21:57:27 androoid: make sure you're sending them to the same interface that the server is listening on if the server isn't bound to INADDR_ANY Oct 01 21:58:45 what does the same interface mean? Oct 01 22:00:14 I'm just following the http://java.sun.com/docs/books/tutorial/networking/datagrams/clientServer.html code Oct 01 22:01:03 and http://www.anddev.org/udp-networking_-_within_the_emulator-t280.html seems to be exactly the same Oct 01 22:02:29 hello Oct 01 22:02:59 does anybody know how to make a View object serializable and/or parcelable? Oct 01 22:03:11 androoid: try it with both sides in Java. If that works, switch over to your Python/C# server. Oct 01 22:03:18 hey Oct 01 22:03:22 fadden: i have, and it works Oct 01 22:03:48 So your Java bits can talk to Java bits, and Python/C# bits can talk to Python/C# bits, but neither can talk to the other? Oct 01 22:03:48 kingkung: you can't really Oct 01 22:04:02 fadden: yes Oct 01 22:04:38 If you try to run both servers at the same time, does one fail? Oct 01 22:04:43 yes Oct 01 22:05:16 Beats me. Oct 01 22:05:26 in python, it gives me raise CannotListenError, (self.interface, self.port, le) Oct 01 22:05:26 twisted.internet.error.CannotListenError: Couldn't listen on any:8007: (10048, ' Oct 01 22:05:26 Address already in use'). Oct 01 22:05:32 romainguy: you can't break down the components of a view into smaller structures? Oct 01 22:05:54 androoid: that's a good sign -- means both servers are listening to the same thing. Oct 01 22:06:04 kingkung: a View always needs a Context and the Context is your Activity Oct 01 22:06:07 yeah I don't know if this is a Java issue or what Oct 01 22:06:16 romainguy: On the subject of Parcels what does the mysterious enforceInterface() method do? I'm interested. Oct 01 22:06:23 I tried to google and I have no luck with anyone else running into the same problem Oct 01 22:06:35 zhobbs: I have a solution for you Oct 01 22:06:49 and it would be hard for me to mess up the code since it is pretty much like 2 lines of code Oct 01 22:07:14 tomgibara: where is that method? Oct 01 22:07:24 romainguy: that'd be great! Oct 01 22:07:25 ah found it Oct 01 22:07:26 On Parcel, it's the only undocumented method on that class. Oct 01 22:07:34 romainguy: would it be possible to extract the components from a view and re-create it using another context? Oct 01 22:07:41 tomgibara: no idea, ask Dianne :) Oct 01 22:07:51 kingkung: you could yes Oct 01 22:08:14 zhobbs: do you have JDK 1.6? Oct 01 22:08:17 romainguy: If I ever get the chance :) Oct 01 22:08:20 romainguy: yes Oct 01 22:08:25 tomgibara: on the groups Oct 01 22:08:27 zhobbs: excellent Oct 01 22:08:28 romainguy: i guess that's what i'm asking... is there a good/documented way to break down the components/children of a view and communicate it to another activity Oct 01 22:08:52 romainguy: to be recreated Oct 01 22:09:07 kingkung: no, there is not, but what exactly are you trying to do? Oct 01 22:09:30 romainguy: I think on the groups, she has more important posts to answer - not my simple curiosities :) Oct 01 22:09:45 zhobbs: start with a adb shell kill -10 PID Oct 01 22:09:53 where PID is the process id of your app Oct 01 22:10:05 fadden: do you know is there any way I can trace the actual packet somehow? Oct 01 22:10:07 then look at the output of adb lolcat Oct 01 22:10:13 you will see two file paths Oct 01 22:10:19 romainguy: i would like to define a view in a separate process and be able to communicate it through a service to my main process to display Oct 01 22:10:31 something like /data/misc/heap-dump-1234.hprof Oct 01 22:10:55 kingkung: you are best off transmitting the data backing your views, not the views themselves Oct 01 22:10:56 one has a the "head" suffix Oct 01 22:11:06 you need to concat them by putting the head file first Oct 01 22:11:15 something like cat head rest > result.hprof Oct 01 22:11:29 then from your JDK you can run "hat result.hprof" Oct 01 22:11:34 tomgibara: what do you mean the data backing my views? i assume you mean something other than the data within the views Oct 01 22:11:44 that will open a webserver at http://localhost:7000 which will show you the content of the VM heap Oct 01 22:11:51 there you can track down leaks Oct 01 22:12:18 androoid: you can try to use a packet sniffer (wikipedia has some links). Oct 01 22:13:30 kingkung: I mean that it isn't practical to 'move' views to/from services. You need to transmit the 'logical' data that the views are displaying Oct 01 22:13:34 romainguy: on logcat I got: hprof: can't open /data/misc/heap-dump-tm1222899020-pid20453.hprof: Permission denied. Oct 01 22:13:48 romainguy: but I don't see that file in /data/misc Oct 01 22:13:59 chmod 777 /data/misc ? Oct 01 22:14:51 ooh Oct 01 22:14:54 let me try with the SDK Oct 01 22:15:01 Hey all! Oct 01 22:15:03 romainguy: ok, chmod got me the file Oct 01 22:15:07 cool Oct 01 22:16:20 Here's a question: is there any reason that android would not be able to support extra bluetooth profiles (specifically A2DP or stereo audio) or is it just a hardware based limitation? Oct 01 22:17:16 no a2dp. Oct 01 22:17:38 ...not quite the question Oct 01 22:18:50 romainguy: can't find hat Oct 01 22:18:59 it's in the JDK 6 Oct 01 22:19:28 you can also download it here: https://hat.dev.java.net/ Oct 01 22:19:48 it's probably called jhat Oct 01 22:20:02 ahh, there it is Oct 01 22:20:30 cat heap-dump-tm1222899289-pid20096.hprof-head heap-dump-tm1222899289-pid20096.hprof > result.hprof Oct 01 22:20:40 jhat result.hprof Oct 01 22:20:49 Reading from result.hprof... Oct 01 22:20:49 java.io.IOException: Version string not recognized at byte 17 Oct 01 22:20:53 doh! Oct 01 22:27:04 tomgibara: if you write a wrapper around the view to make it parcelable, wouldn't you have to break it down into components to send it anyway? Oct 01 22:27:19 meaning break it into atomic components Oct 01 22:27:26 int, byte, etc. Oct 01 22:27:47 parcelable is pass-by-value, so it would become a different View each time it crosses a process boundary Oct 01 22:27:52 herriojr: not really, if it's a text view just send the text and recreate the textview on the other side Oct 01 22:28:09 but what if you don't know that it is a text view that is going to be displayed Oct 01 22:28:16 herriojr: I'm saying that you don't want to send the view Oct 01 22:28:19 and anyway, there are way too many calls between views to just remote them all Oct 01 22:28:20 ok Oct 01 22:29:33 romainguy: would an animation listener on a View keep that activity alive? Oct 01 22:29:55 actually, the listener is on the animation not the view Oct 01 22:30:00 depends on how the animation listener is defined Oct 01 22:31:09 romainguy: any ideas on the heap dump? Oct 01 22:31:21 zhobbs: looking :) Oct 01 22:31:25 but nothing so far Oct 01 22:31:55 have you done that before with dalvik? Oct 01 22:32:06 many many many many times Oct 01 22:32:28 but we use an internal tool to analyze the heap dump Oct 01 22:32:35 ahh Oct 01 22:32:45 want an apk? :) Oct 01 22:32:45 JProfiler definitely used to work but I guess we changed the format since then Oct 01 22:34:15 zhobbs: I was really surprised when I found out that a trivial app uses 2M of dirty private memory. I assumed i had a memory leak in an app until I found that out. Is it possible that your app is simply using a lot of memory? Oct 01 22:35:39 tomgibara: sure, but the problem is the amount of memory I'm using never goes down Oct 01 22:36:10 I open a webview activity, 8 MB more memory....I leave it, I see in the log it's destroyed, but I'm never getting that 8 meg back Oct 01 22:36:11 zhobbs: are you looking at the heap size or the actual usage of the heap? Oct 01 22:36:26 the heap will not shrink down Oct 01 22:36:36 ddms, sysinfo, memory usage Oct 01 22:36:57 I saw a nifty demo of Azul's stuff once. They embedded a web server in the VM. All sorts of fancy stuff visible by connecting a web browser into it. Oct 01 22:37:01 that example app did go down on there after I forced GC on that process a few times Oct 01 22:37:26 ah Oct 01 22:37:28 don't look at this Oct 01 22:37:50 it's more interesting (in this case) to look at the VM heap Oct 01 22:37:57 just enable the heap updates for your process Oct 01 22:38:03 and then look in the VM Heap tab Oct 01 22:38:14 you'll see the heap size vs allocated Oct 01 22:38:32 romainguy: That's interesting, the Dalvik heap doesn't shrink under any circumstance? Oct 01 22:38:53 I don't know of any VM that shrinks the heap actually Oct 01 22:39:01 fadden could prove me wrong if I'm saying something dumb Oct 01 22:39:05 tomgibara: ok, then instead of sending the view, send a xml representation Oct 01 22:39:11 but Java VMs for instance don't shrink the heap Oct 01 22:39:25 Dalvik does -- pages are returned to the system when possible. Oct 01 22:39:39 fadden: the heap size can shrink? Oct 01 22:39:45 romainguy: Yes, I know, I always assumed they relied on the OS to reclaim the unused heap though Oct 01 22:39:52 Not sure that the bounds actually change, but "showmap" will show fewer pages in use. Oct 01 22:40:07 fadden: doesn't that imply that the GC must compact the heap first? Oct 01 22:40:23 No, just that you have 4096 contiguous bytes of unused space. Oct 01 22:40:33 ah I was talking about the bounds Oct 01 22:40:40 not the actual memory used in the system Oct 01 22:41:07 fadden: what sort of GC algorithm is it? Oct 01 22:41:20 romainguy: hmm, setup updates on my process, can see GC in logcat, but nothing in that heap tab Oct 01 22:41:44 Stone dumb stop-the-world, conservative mark/sweep. Oct 01 22:41:55 zhobbs: Hit the GC button Oct 01 22:42:01 Non-compacting too. Oct 01 22:42:08 Needs to be replaced. Oct 01 22:42:14 * romainguy wants a generational GC :p Oct 01 22:42:21 fadden: So that's due to time constraints then Oct 01 22:43:14 New & improved version will appear in some unspecified future release. Oct 01 22:43:15 tomgibara: see it that way, Android runs fast with a very basic GC, an interpreted VM and non-hw accelerated 2D API :) Oct 01 22:43:25 now think about what will happen in the next releases :p Oct 01 22:43:29 Yes, I remember being impressed by the performance increase Hotspot demonstrated when the introduced a generational GC Oct 01 22:43:48 well in the case of Android a generational GC might really help applications Oct 01 22:43:59 We mostly get away with the simple GC because we have one app per process, so we don't get conflicting allocation strategies fragmenting things badly. Oct 01 22:44:01 for instance scroll animations when adapters generates tons of small objects Oct 01 22:44:13 you often get a stutter due to a 200/300ms GC pause in the middle of a scroll Oct 01 22:45:24 is the eclipse plugin supposed to auto-generate an interface from my .aidl file? If so, it doesn't seem to be working and it says that my .java file is in the way of my .aidl file and I must remove one Oct 01 22:45:40 I'm looking forward to when someone starts using escape analysis to identify objects that can avoid the heap - I'm not sure what benefit will be gained, but I'm interested to find out Oct 01 22:46:30 tomgibara: with HotSpot's GC it would probably not matter much Oct 01 22:46:44 what's gc Oct 01 22:46:57 allocations are very fast and their use of the eden spaces help a lot with short-lived objects that would be found by local escape analysis Oct 01 22:47:02 but that'd be interesting to see :)) Oct 01 22:47:29 wastrel: "garbage collector" Oct 01 22:47:45 yes, it's precisely because it's not an obvious win that I'm interested Oct 01 22:47:56 Some of the GCs do lots of copying, which is great on desktop systems with fat L2 caches; not so great with the device memory bandwidth. Oct 01 22:48:39 But this sort of stuff is why the longer-lived VMs ship with 57 different user-selectable GCs. Oct 01 22:48:55 hmmm, guess I gotta read up on what this all means...not sure what a heap is Oct 01 22:49:19 zhobbs: heap == big pile of memory where objects live Oct 01 22:49:28 fadden: I found I could eat away unlimited amounts of time just with the variants that Hotspot exhibited Oct 01 22:49:30 zhobbs: so, imagine you go to buy some dirt... Oct 01 22:49:55 http://blogs.sun.com/watt/resource/jvm-options-list.html Oct 01 22:50:05 fadden: I once worked as a contractor on tuning the GC for the servers of a company Oct 01 22:50:08 that was painful ^^ Oct 01 22:50:13 o.o 10-01 15:44:06.406: ERROR/OSNetworkSystem(5185): unclassified errno 99 (Cannot assign requested address) Oct 01 22:51:01 GC tuning is so incredibly hard for complex apps (with concurrent and differing allocation profiles) that I learned it's best to produce smaller specialized apps that run in separate processes Oct 01 22:51:18 umdk1d3: well, don't rquest an address that doesn't match any of your interfaces :) Oct 01 22:51:19 which is super odd, because i get that error when im trying to use a legit ip thats on the device--it doesnt return that error when i try a random ip Oct 01 22:51:21 Android gets things right in so many ways :) Oct 01 22:51:27 jasta: its behaving opposite Oct 01 22:52:21 tomgibara: I totally agree with your assessment on GC tuning :) Oct 01 22:52:26 how do you know that the ip corresponds to a local interface? Oct 01 22:52:50 so, my heap size is 5.3 MB, 50% used....and according to the sysinfo tab I'm using 16.5 MB memory, what is the extra 10 MB? Oct 01 22:52:50 jasta: im using a WifiInfo and decoding the int it returns into a byte aray, then InetAddress'ing it Oct 01 22:52:51 tomgibara: that reminds of when I used Xerces on another job and it was causing the VM to run out of perm space Oct 01 22:53:17 romainguy: Yes! I've hit that Oct 01 22:53:25 umdk1d3: so you're trying to bind() on the wi-fi interface? Oct 01 22:53:33 zhobbs: "adb shell procrank" and look at PSS; or "adb shell showmap " and admire the output Oct 01 22:53:34 jasta: i think so lol Oct 01 22:53:41 umdk1d3: what do you mean you think so? Oct 01 22:53:42 It does a whole lot of interning (or something, I don't recall) Oct 01 22:53:48 i'm learning java Oct 01 22:54:10 tomgibara: actually Xerces compiles XSLT into bytecode in memory and if you load tons of XSLT, you run out of perm space Oct 01 22:54:18 jasta: im decoding the wifi address correctly, and i think that error is happening when something is trying to bind to that ip--im using another lib so im not sure /where/ the error is happening Oct 01 22:54:39 romainguy: Yes I was about to say that it was Xalan that tracked it down to Oct 01 22:54:46 ah yes, Xalan Oct 01 22:54:50 always get these two mixed up Oct 01 22:55:13 umdk1d3: well, my advice is to side-step the lib and try a simpler test of just binding to the interface yourself Oct 01 22:55:25 just to make sure your assumptions are correct :) Oct 01 22:55:38 by the way, what are you doing? :P i'm curious about all this trickery Oct 01 22:55:57 sounds to me like maybe VoIP? :) Oct 01 22:56:13 lol Oct 01 22:57:35 zhobbs: It could be native objects like bitmaps Oct 01 23:03:54 umdk1d3: .....? :) Oct 01 23:07:21 no im not doing voip :P Oct 01 23:08:26 through eclipse, how am I supposed to make my .aidl file so that it actually works? Oct 01 23:08:39 I just create a file and name it myinterface.aidl and that doesn't seem to work Oct 01 23:08:45 and I have the current eclipse plugin Oct 01 23:09:08 *android plguin Oct 01 23:09:11 *plugin Oct 01 23:10:46 I just keep getting an error on the first line of "bad type" Oct 01 23:11:44 but if I run aidl.exe manually, it creates the interface Oct 01 23:16:51 nevermind, I got it to work, it seems to be really sketchy though Oct 01 23:17:06 I had to move the aidl out into another folder and package and then move it back in Oct 01 23:30:00 down with rapidshare Oct 01 23:39:34 where is the source for the api demos? Oct 01 23:39:48 e.g. where do i find example code for a table layout? Oct 01 23:40:45 illuminum: $SDK_FOLDER/Samples Oct 01 23:42:44 thanks Oct 01 23:45:48 romainguy: how do I get the animation cache for a View? Oct 01 23:46:53 getDrawingCache Oct 01 23:47:03 or use HierarchyViewer and double-click the view Oct 01 23:47:18 and is setAnimationCacheEnabled() only relevant for Layout Animations? Cause I'm just doing View.startAnimation() Oct 01 23:47:40 setAnimationCacheEnabled is relevant to all animations Oct 01 23:47:43 it's on by default Oct 01 23:47:47 and you really should keep it on by default Oct 02 00:29:32 couple of random questions, for any googlers still awake... why the {} is google doing healthcare docs? (i admit, i signed up, but i've had a rough year) and why doesn't https://google.com have it's own cert? Oct 02 00:29:43 * Disconnect specializes in off-topic after hours :) Oct 02 00:30:53 i hate stupid jargon buzzwords Oct 02 00:30:56 "the cloud" Oct 02 00:31:03 == illuminum Oct 02 00:31:05 fuck the cloud it's teh intarweb Oct 02 00:31:56 i think jargon is the only language business executives speak Oct 02 00:31:57 the internet is a jargon buzzword too. Oct 02 00:32:03 it used to be called "a network". Oct 02 00:32:10 because they're too stupid to understand anything else Oct 02 00:32:28 the cloud is the thinking internet. i agree tho, until it goes self-assembling its not "the cloud" Oct 02 00:32:47 the "web" is probably the *worst* buzzword ever, but now even geeks use it. Oct 02 00:33:03 hey if berner's calls it the web so should we Oct 02 00:33:06 because web implies something far more general than it is, and yet, it is more general than even it is defined. Oct 02 00:33:09 *berners Oct 02 00:33:33 ' != "OMG there is an S on the way !" :) Oct 02 00:34:10 we could create a new term and call it the ubernet Oct 02 00:34:45 illuminum: reeks of 'undernet' way back when Oct 02 00:34:49 honestly illuminum, i used to have that attitude about buzzwords but i eventually realized it was just my frustrated feeling of being "let behind" manifesting itself :) Oct 02 00:34:53 left* Oct 02 00:35:16 lol @ jasta being "left behind" Oct 02 00:35:30 a competent developer for a cutting edge mobile platform is certainly not "left behind" Oct 02 00:35:43 that's because i did something about taht feeing Oct 02 00:35:44 feeling* Oct 02 00:35:51 heh Oct 02 00:36:04 unix_infidel: shh, it'll go straight to his head Oct 02 00:36:30 but really, just a few short years ago i would have thought i would be way too stubborn to learn some new-fangled language like Java. Oct 02 00:36:34 i resent stupidity more then anything else. i'm in an accounting/business program and my peers speak ignorantly of these subjects but sprinkle buzzwords in their language to make themselves appear knowledgable to the other ignorant peers Oct 02 00:36:37 on that topic, any recommendations for resources getting back into "real" programming and back into java now that its past 1.0? (yah well.. i like being a sysadmin. but android is screaming for some filler "core apps" until real devs come along and replace them) Oct 02 00:37:10 real devs? lol. Oct 02 00:37:13 just read a tutorial and struggle with an API Oct 02 00:37:44 Disconnect: I recommend anything O'Reilly. get a challenging, highly technical but general book on the language and its libraries. Oct 02 00:38:06 * Disconnect last did java work in 1999, and it was unpleasant. Oct 02 00:38:19 do not go for one of those ridiculous "marketable" books that tries to be witty or "easy". Oct 02 00:38:19 i don't recommend such a thing, in my experience its really hard to reference a paper book when you're on a computer Oct 02 00:38:25 jasta: thats what i was planning actually :) Oct 02 00:38:47 illuminum: nonsense. paper books are not for reference, they are for reading and digesting. Oct 02 00:38:51 just pick an API you went to develop for, read a tutorial for hello world, and fight against the API until you climb the learning curve past the inflection point Oct 02 00:38:52 and they are very, very important. Oct 02 00:38:59 I use paper books for reference all the time Oct 02 00:39:22 illuminum: strangely enough, thats what i'm doing with android. but programming methodology (and OOP in general) has changed a -lot- in 10 years. Oct 02 00:39:25 does android provide a scalar sqlite function Oct 02 00:39:26 illuminum: is that how you learned PHP? Oct 02 00:39:28 *jab* Oct 02 00:39:30 lol Oct 02 00:39:40 well i'm probably just retarded, i can't stare downwards i'm so used to looking straight ahead at the monitor Oct 02 00:40:04 get a book stand or something Oct 02 00:40:11 yeah that's how i learned php and every other language Oct 02 00:40:12 i've been down the path of just struggling "on my own" to learn things Oct 02 00:40:12 books are portable. you can go to a bar, get rejected by a blonde and learn about scalar functions... Oct 02 00:40:18 all at the same time! Oct 02 00:40:28 more so than most developers, i'd say, and i'm here to tell you that it is not an effective strategy. Oct 02 00:40:47 * Disconnect has yet to learn a language from a book.. but a good book provides an amazing intro to the -methodology- of a language Oct 02 00:40:53 unix_infidel: lol Oct 02 00:41:00 it's an agonizing waste of time. getting a good, thorough technical book and *reading it* is one of the better ways to learn complex topics. Oct 02 00:41:21 * Disconnect tends to leap up from books mid-paragraph and go try stuff. Oct 02 00:41:21 yeah, the key part is to find a *good* book Oct 02 00:41:26 sometimes it catches fire. thats always neat. Oct 02 00:41:29 have you taken a basic cs course? Oct 02 00:41:30 there are not that many good technical books out there :) Oct 02 00:41:40 illuminum: me? Oct 02 00:41:44 no, disconnect Oct 02 00:41:46 * Disconnect was pretty sure he'd bricked his dtivo at one point Oct 02 00:41:52 I find a lot of technical books are wordy. Oct 02 00:42:06 and perhaps their content merits that Oct 02 00:42:07 no fire in that one, but still. if it won't boot and you might have broken the bootloader..... Oct 02 00:42:08 yeah i feel the same way unix, i feel like i'm wasting my time Oct 02 00:42:12 or just drag on with the most basic stuff Oct 02 00:42:17 I was reading a book about Flex Oct 02 00:42:19 having an objective helps me ask the right questions Oct 02 00:42:29 it spent the first 4 or 5 chapters explaining variables and for loops Oct 02 00:42:29 and having the internet helps me get the right answers Oct 02 00:42:42 * Disconnect did brick some old ipaqs. back when compaq made them -and- (left-hand/right-hand) sponsored a group that hacked linux/etc on them Oct 02 00:42:56 romainguy: which is why I prefer buying from authors who split up concepts into 3 100page volumes. Oct 02 00:43:01 as long as you've taken basic cs and know about object-oriented principles you're fine Oct 02 00:43:10 romainguy: clearly that was an "intro to programming with flex" book instead of an "intro to flex for programmers" book :) Oct 02 00:43:28 Disconnect: unfortunately yes, even though the book wasn't presented as such :)) Oct 02 00:43:34 heh Oct 02 00:43:55 * Disconnect learned OOP from oreilly, and java too, so.. prolly need to get updated books now tho Oct 02 00:43:55 unix_infidel: agreed, that's also why I prefer focused books (like O'Reilly series, for instance Java I/O, Java Threads, etc.) Oct 02 00:44:24 i've got a subscription to safari which i rarely use :/ Oct 02 00:44:24 and here's your random weird crap from another channel: http://farm3.static.flickr.com/2371/2203785937_fc2d5d7097_o.jpg (via #linpeople) Oct 02 00:44:32 romainguy: those are fairly advanced topics for me :-) Oct 02 00:44:47 * Disconnect will wander over to borders tomorrow and see what presents itself Oct 02 00:45:03 Disconnect: go buy my book :) Oct 02 00:45:11 which one? Oct 02 00:45:16 the royalties have been pretty disappointing lately ^^ Oct 02 00:45:26 "ListView for Dummies" ? Oct 02 00:45:29 I'm disappointed at how the level of conversation in this channel has degraded to small talk :( Oct 02 00:45:32 Filthy Rich Clients Oct 02 00:45:46 yakischloba: that unfortunately happens a lot with human beings Oct 02 00:46:00 esp in the evening, when nobody is proposing on-topic discussion topics Oct 02 00:46:02 romainguy: it was kept up for a long time Oct 02 00:46:05 fadden: that's a good idea, "Taming ListView" Oct 02 00:46:07 its called "social bonding" Oct 02 00:46:23 romainguy: you aren't the apress android author are you? Oct 02 00:46:29 no I'm not Oct 02 00:46:44 I work on the Android team, along with fadden for instance Oct 02 00:46:52 romainguy: I'm disappointed that I haven't been able to contribute with relevant conversation but I certainly enjoyed and learned a lot from the higher level discussion while it lasted Oct 02 00:46:56 ah ok. Oct 02 00:47:22 fwiw all day its been way more on-topic than most channels manage. Oct 02 00:47:57 yeah, but 99% of channels usually aren't even worth looking at so that its not saying much. Oct 02 00:48:07 Before September 23rd this chan was fairly inactive. Oct 02 00:48:14 and happily so Oct 02 00:48:15 ;) Oct 02 00:48:47 I could count on that I would probably learn something every time I looked at what had been said Oct 02 00:48:57 * Disconnect looked around - #linpeople is random (standard), #tivo is dead (standardish), #handhelds is mostly dead (std), #maemo is on battery selection - liion vs etc).. we're not doing bad to be close to the topic at hand. Oct 02 00:49:04 instead of seeing people asking if they can run their SNES roms on the g1 and stupid shit Oct 02 00:49:15 lol Oct 02 00:49:36 You *can* run your SNES ROMs. You just need this special cable. Oct 02 00:49:44 I'll sell it to you for US$500K. Oct 02 00:49:48 fadden: does it have a plug at one end for 220V? Oct 02 00:49:56 cuz thats the best kind of special cable Oct 02 00:50:09 It has a plug at one end for a SNES. Oct 02 00:50:48 If you're really nice I'll throw in an XBAND. :-) Oct 02 00:51:35 oh and #puppet is on-topic 100% Oct 02 00:51:45 * Disconnect missed the other window hiding in the corner Oct 02 00:52:01 * unix_infidel hopes for a decent reader (pdf, doc, odf, etc) Oct 02 00:53:07 i'm actually expecting someone to go the mobipocket route (with drm) .. it might take a while but there is some money to be made there Oct 02 00:53:33 what's mobipocket Oct 02 00:54:12 hey what does google do if opensource apps that purposefully bypass drm get on market and rate highly among users Oct 02 00:54:24 in short, the most popular ebook format out there. (literally 100,000s of actual in-copyright modern books) Oct 02 00:54:28 i imagine that could be a pandoras box that dooms android to failure the moment google caves and takes action Oct 02 00:54:49 * Disconnect has an eink ebook reader Oct 02 00:56:09 some (smarter) publishers (ahem baen) are going drm-free (including straight pdf format) but a lot still want some basic drm. to get the algo you need to contract, and once you do that you get each device an ID (already got an IMEI->id algo) and the download server crypts the book to that id (and up to - iirc - 4 others) Oct 02 00:56:21 what package/class should i be looking at for consuming xml feeds Oct 02 00:56:26 it does allow for time-limited lending libraries too, which is kinda neat Oct 02 00:56:41 drm isn't neat its stupid Oct 02 00:56:55 it's just backwards technology that does the opposite of adding value Oct 02 00:57:33 so explain an ebook lending (LENDING) library to me that doesn't use drm... Oct 02 00:58:52 no such thing imo, once the data has manifested itself on the users device it has essentially created a clone of itself. it's not like a physical object that exists in one place at one time. Oct 02 00:59:12 ...right. so drm in this case gives you -more- capabilities (loaning) Oct 02 00:59:16 the fundamentals are different and until the powers that be realize that and come up with appropriate business models they'll just inevitably fail Oct 02 01:00:06 ....cuz the dvd manufacturers are hurting so much right now. (or even ebooks - baen sales went -up- when they comitted to releasing most of their catalog in electronic formats) Oct 02 01:00:11 anyone know what package/class I should look to for consuming feeds or sending http requests e.g. REST? Oct 02 01:00:22 drm is bad Oct 02 01:00:45 pdf is a shitty format for ebooks tho Oct 02 01:01:04 i like utf8, thats the best ebook format :) Oct 02 01:01:13 * Disconnect is not surprised to find the authors here silent on the topic Oct 02 01:01:15 mobipocket is bad ugh Oct 02 01:01:30 i bought a mobipocket book for palm Oct 02 01:01:36 wastrel: DRM isn't always bad Oct 02 01:01:39 go to work and tell them to keep your paycheck, you'll work for donations.. then talk about drm being nothing but evil Oct 02 01:01:41 no, it's always bad Oct 02 01:01:54 wastrel: so, let's say I've got a part design drawn up in Autocad Oct 02 01:02:16 disconnect while we're at it let's tell them to stifle innovation and keep the proprietary software hoarders in business because we don't want to disrupt coders jobs Oct 02 01:02:17 wastrel: and I want to send that design to be manufactured, but I don't want the manufacturer to be able to inadvertently give the design to my competitor Oct 02 01:02:20 wastrel: what do I do? Oct 02 01:02:40 that's crap. the industry needs to change to fit IT. IT doesn't need to change to fit deprecated business models. Oct 02 01:02:45 and IT won't change. Oct 02 01:02:48 it's a matter of fact Oct 02 01:02:51 back :) Oct 02 01:02:52 face reality Oct 02 01:03:07 gdsx: well the easy way out would've been to say if DRM increases accesibility of the content (with viable competitors in the marketplace) then it's not such a bad thing. Oct 02 01:03:12 he's so cute. i remember being in school too... Oct 02 01:03:33 hehe Oct 02 01:03:33 i dunno what do you do? Oct 02 01:03:42 wastrel: rights management Oct 02 01:03:48 back to hacking on Five Oct 02 01:03:49 i bought a mobipocket book - based on rave reviews of the title Oct 02 01:03:55 and had to install their shitty reader Oct 02 01:04:04 hoping to push out some more proof of concept code tonight for testing on real devices ;0 Oct 02 01:04:06 which is slow, user unfriendly and eats battery Oct 02 01:04:10 wastrel: I'm not saying that it's always good. Far from it. It's just not always bad Oct 02 01:04:19 jasta: can you push me a real device? i'm a good betatester :) Oct 02 01:04:21 and the publisher had locked the justification setting on - overrriding user preferences Oct 02 01:04:32 so the words were spaced out really weird Oct 02 01:04:33 Disconnect: i don't have one, it's just that googlers seem to have been given the green light to be helpful :) Oct 02 01:04:38 on the pda screen Oct 02 01:04:40 lol Oct 02 01:04:40 also, the ADC winners have them Oct 02 01:04:46 it was a shitty product Oct 02 01:04:48 so the cats outta the bag Oct 02 01:04:56 push me a google job offer? :) Oct 02 01:05:03 so i downloaded the drm-free version from a fileserver Oct 02 01:05:16 Disconnect: participate in the second ADC then. Oct 02 01:05:16 Disconnect: send your resume :p Oct 02 01:05:19 the pirates provide a better product Oct 02 01:05:26 wastrel: if you're trying to convince me of something, you're preaching to the choir Oct 02 01:05:33 wastrel: well I've seen the contrary Oct 02 01:05:33 it's no mystery that google hires right out of these challenges that they do Oct 02 01:05:37 that's specifically about mobipocket :] Oct 02 01:05:39 for instance with my Sony ebook reader Oct 02 01:05:40 romainguy: unfortunately i'm a fan of washdc Oct 02 01:05:45 its where all my stuff is, for one Oct 02 01:05:48 web services web services can someone link me or tell me what package or class to use--this is android related Oct 02 01:05:50 the windows tool is annoying to me because I use a mac Oct 02 01:06:09 but the non-official tools suck :) Oct 02 01:06:13 Google Summer of Code, for instance, is an impressively smart HR tactic :) Oct 02 01:06:14 * Disconnect bought a cybook rather than sony cuz .. ummm.. the sony kinda sucked :) Oct 02 01:06:35 Disconnect: depends what you're looking for :) Oct 02 01:06:39 windows tools, -severely- limited formats, etc. Oct 02 01:06:52 cybook even had the newer eink revision Oct 02 01:06:55 bah :) Oct 02 01:06:58 i can turn pages in under 5 seconds :) Oct 02 01:07:18 * Disconnect messed with a sony reader - cybook can't read while charging (sighhhh) but otherwise.. Oct 02 01:07:33 again depends what you're looking for Oct 02 01:07:44 I don't give a shit about the format it can read Oct 02 01:07:56 i literally could not get a solid page-flip out of the sony, even on the user's guide. it would hang up long enough that i'd hit it again, then it'd flip (eventually) 2 pages or more. or it'd not read the push and i'd just sit there, looking bored. Oct 02 01:07:58 but I care about the device being small and light ^^ Oct 02 01:08:13 Disconnect: weird, I didn't have this issue on mine Oct 02 01:08:16 ...go compare cybook to sony. its -way- thinner and lighter actually :) Oct 02 01:08:21 but I have the second version Oct 02 01:08:34 ('long enough' might have been anywhere from 1-2 seconds) Oct 02 01:08:57 thinner? Oct 02 01:09:55 yep Oct 02 01:10:07 errr Oct 02 01:10:10 * Disconnect found a great side by side comparison but its an expired/camped domain :( Oct 02 01:10:48 13mm thick vs 8.5 Oct 02 01:10:52 its thinner Oct 02 01:10:54 (cybook is) Oct 02 01:10:57 http://bookeen.com/specs/ebook-hardware.aspx Oct 02 01:11:02 ebook readers are still too small Oct 02 01:11:17 Disconnect: are you comparing with the first reader? Oct 02 01:11:23 i read novels on my palm pda - i want something bigger for technical docs and pdf Oct 02 01:11:27 because mine is 0.3" thick Oct 02 01:11:31 exactly the same as the cybook Oct 02 01:11:46 oooh might be, looking at the url Oct 02 01:11:52 505 is newer? Oct 02 01:11:57 yes Oct 02 01:12:07 the cybook is a tad lighter though Oct 02 01:12:11 ok sony is 1mm thinner Oct 02 01:12:14 although I doubt I could feel the difference Oct 02 01:12:20 anyway Oct 02 01:12:30 the cybook looks like a book reader I would have bought too :) Oct 02 01:12:37 cybook feels like a plastic prop :) but eink screens (on all readers) are too fragile still :( Oct 02 01:12:59 I would love to have the Kindle's features in my Sony :) Oct 02 01:13:52 i'm a fan of being able to read books that don't come off the sony management approved list ;) Oct 02 01:14:16 as long as I can get enough novels to keep me busy, I couldn't care less :)) Oct 02 01:14:49 im unusually old fashioned on books. i guess i just like conceptually having a real book :) Oct 02 01:14:51 i -really- wanted to like the kindle.. but omg.. handle one sometime, its a fischer-price disaster.. Oct 02 01:15:00 jasta: I actually prefer real books by far Oct 02 01:15:03 jasta: i tend to do both for books i -really- like Oct 02 01:15:18 jasta: *but* they're annoying on a 14 hours plane ride to France for instance :) Oct 02 01:15:21 but the cybook (or sony :) ..) is way way more useful on metro, for example Oct 02 01:15:22 heh Oct 02 01:15:30 I actually happily mix ebooks, audiobooks and real books Oct 02 01:15:43 romainguy: i nearly lost it on my flight to Ireland :) Oct 02 01:15:50 i don't handle confined spaces like that well Oct 02 01:15:54 * Disconnect is annoyed - 3" anthology only came in ebook twice. Oct 02 01:15:58 for instance one of my biggest frustrations is that I left my 1000+ books collection in France )) Oct 02 01:16:00 nintendo ds and mario Oct 02 01:16:01 i start really losing it about the last 2 hours or so Oct 02 01:16:10 or lots of booze and coffee Oct 02 01:16:40 i was surprised to find that Delta's in-seat entertainment thing had good music on it though Oct 02 01:16:53 * Disconnect was a smoker on an 8.5 hour flight to hawaii a few years back, that sucked. at least it was first class (not my fault, back when twa existed i was consulting on changable tickets.. if you kept the original flight you got upgraded) Oct 02 01:17:04 Flogging Molly, Arctic Monkeys, Cold War Kids, Arcade Fire...who'd have known? Oct 02 01:17:09 nice Oct 02 01:17:53 and they had an episode of The Office Oct 02 01:18:14 jasta: you know something's wrong when content is cheaper than booze. Oct 02 01:18:15 jasta: Air France and Virgin are honestly the best to go to Europe Oct 02 01:18:15 the only reason i don't just completely melt down is that i have my gf with me tho Oct 02 01:18:27 romainguy: the Delta flight we had was operated by Air France Oct 02 01:18:42 here you go :) Oct 02 01:18:46 unix_infidel: on Alaskan Airlines (which i use often for short flights) you get free beer Oct 02 01:19:00 and they are really generous with it. you can sometimes get full bottles Oct 02 01:19:13 but you have to flirt a little :) Oct 02 01:19:18 (read: just be nice) Oct 02 01:20:12 and it's good beer too. they have microbrews from WA, OR, and CA. Oct 02 01:20:31 which are of course the 3 best states for microbrews in all of the US :) Oct 02 01:25:08 jasta: dem is fightin words. Oct 02 01:27:11 bring it on :) Oct 02 01:27:30 the pacific northwest in particular is very good at Amber beers, which i love. Oct 02 01:27:50 i couldn't even stomach beer until i had Mac & Jack's, and even still i really don't like that much variety Oct 02 01:27:55 but ambers are delicious ;) Oct 02 01:31:40 what the hell is the AndroidHttpClient? Oct 02 01:34:39 it's undocumented...hmmm Oct 02 01:37:26 pawalls: yo, you gonna be around later tonight? Oct 02 01:44:33 ive been running through tutorials and searching the samples, and as im building my dream app i have one question... lets say i have a list of "Item 1, Item 2, Item3" i am at the point of then wanting to call on different activities after those items are clicked, such as clicking on Item 1 will then go to a ListActivity to list out contacts.... how would this be done? Oct 02 01:48:19 jasta: 1 word: duclaw.com Oct 02 01:48:42 huxu: through startActivity and Intents. Oct 02 01:48:52 Intents are a very powerful general concept in Android, go read about them before proceeding :) Oct 02 01:49:24 ok i did look at them a little bit, but i dont understand how i would do an intent to an activity i create Oct 02 01:49:54 well, youc an hardcode a particular class to load, although that's not always the best approach Oct 02 01:50:09 for your simple app, sure, just acll new Intent(this, Foo.class) Oct 02 01:50:25 but if you get time, return to intent filters and learn about how it all works Oct 02 01:50:30 jasta: Well, it's better to hardcode it within an app, for speed. Oct 02 01:50:46 sometimes it's more appropriate, and sometimes it isn't. Oct 02 01:52:05 thank you!! Oct 02 01:52:32 huxu IntentReceiver is BroadcastReceiver now...beware some of the doco on the net is out of date Oct 02 01:53:06 o ok thanks! Oct 02 01:56:13 what are the return values of position? in onListItemClick? Oct 02 01:57:06 is it simple 0, 1, 2 for Item 1, Item 2, Item 3 going from top to bottom? Oct 02 01:57:19 yeah Oct 02 01:57:22 position from top Oct 02 01:57:26 they refer to the adapter's position. Oct 02 01:57:50 well, right Oct 02 01:57:55 gotta think in abstract terms :) Oct 02 01:58:04 yes, and you really should. Oct 02 01:58:32 huxu: Lists are enormously complex in Android because of two huge optimizations Android does for you. So it's important to understand the general abstractions that android is forcing you to use. Oct 02 01:58:56 ok Oct 02 01:59:05 most notably, the concept of an adapter to the list. the list is an inherent UI component and does not observe your data's paradigms. the adapter does, however. Oct 02 01:59:21 so it's important to think of your data always in terms of the adapter and never in terms of the listview Oct 02 02:00:36 those two huge optimizatins i mentioned are that ListView's "recycle" views so that it is not allocating new views when scrolling around, and also that it does not operate on the entire list, merely the portion of which that can be displayed on screen Oct 02 02:01:34 the ViewHolder concept! i love it. Oct 02 02:01:37 the adapter is a way to adapt your list data to this model, so everything ultimately relates back to it. Oct 02 02:02:32 ok, so if im doing this Cursor c = (Cursor) mAdapter.getItem(position) what will c be?! Oct 02 02:02:51 uhh. Oct 02 02:03:23 why would your list items be cursors? Oct 02 02:04:19 i dunno... i was trying to follow the youtube video where Dan Morrill shows how to build a calling application but trying to modify it with other code Oct 02 02:04:40 don't follow that video, it's way too old Oct 02 02:04:52 ok Oct 02 02:04:54 look at the ApiDemos to get an idea, but really just pay attention to this concept of the adapter Oct 02 02:05:01 it will burn you bad if you ignore the complexity here Oct 02 02:05:09 ok Oct 02 02:05:57 but to answer your question more succinctly, the position given in onItemClick is the adapter's position, such that adapter.getItem(n) will yield your nth list item's data. Oct 02 02:06:39 starting from 1 or 0 Oct 02 02:06:47 starting from 0 of course Oct 02 02:06:54 just checkiin Oct 02 02:08:41 jdbc starts at 1, everything else in java.util is 0-offset iirc Oct 02 02:28:34 SanMehat: /me just built a 4G RAID0 out of 4 1G USB sticks. Oct 02 02:30:23 oh no Oct 02 02:30:26 you got that deal from woot? Oct 02 02:30:54 ttuttle: you should hang out with nn. he's doing crazy crap like that too, on creepy crippled embedded platforms Oct 02 02:31:05 f00f-: Nah, VMware was giving them out at an info session. Oct 02 02:31:55 ooh 4gb ssd-like raid0 Oct 02 02:31:57 ttuttle: can your USB controller run all the ports at full speed ? Oct 02 02:32:17 SanMehat: Not sure, but likely they can't all 4 saturate it anyway. Oct 02 02:32:20 ttuttle: crazyass :) Oct 02 02:32:23 SanMehat: I'll test the bandwidth later. Oct 02 02:36:38 ttuttle: wow, one drive offline and you lose everything Oct 02 02:37:01 BBHoss: I'm only storing my Portage tree on it, so it's just an rsync away if it breaks. Oct 02 02:37:08 heh, ok then Oct 02 02:37:29 i just setup a raid-3 software with Freebsd for my friend to store video on Oct 02 02:37:36 RAID-*3*? Oct 02 02:37:37 3 750GB Oct 02 02:37:42 Oh. Oct 02 02:37:47 RAID-n does not mean RAID with n disks. Oct 02 02:37:55 right Oct 02 02:38:23 2 drives store data and are striped, while the third drive stores parity for rebuilding Oct 02 02:38:41 that's RAID5 Oct 02 02:38:43 RAID-5 Oct 02 02:39:03 BBHoss: the raid levels do not indicate how many disks are involved. Oct 02 02:39:07 isn't RAID-10 just another parity drive? Oct 02 02:39:09 its different somehow, some minor detail Oct 02 02:39:12 or rather, they do not correspond to that :) Oct 02 02:39:12 compare to 5 Oct 02 02:39:21 maybe 3 is parity is spread across all three Oct 02 02:40:04 raid5 is distribted parity with raid 3 parity is stored on a single disk Oct 02 02:40:37 Nonono Oct 02 02:40:47 RAID-10 is RAID0 across RAID1 (or vice-versa, I forget). Oct 02 02:41:30 nested raid-0 inside of raid-1s basically Oct 02 02:46:15 the topic reminds me of the smashing pumpkin's song "Behold! The Nightmare" ;) Oct 02 02:47:16 ttuttle: is the portage /tmp used during emerges on those drives too? Oct 02 02:47:42 ive heard alot of ppl talk about mounting a ramdisk and redirecting portage tmp Oct 02 02:47:50 i keep /tmp in a ramdisk always Oct 02 02:47:52 on all my boxes Oct 02 02:47:57 :) Oct 02 02:48:00 you can also set gcc to use -pipe so no temp files Oct 02 02:48:29 would -pipe work with large compiles though? Oct 02 02:48:58 looks like it does Oct 02 02:49:02 its recommended in the gentoo guide Oct 02 02:49:32 oh lol i guess im already using it in my make.conf Oct 02 02:49:48 yes make.conf Oct 02 02:49:50 that's where i learned it Oct 02 02:49:54 umdk1d3: Nah, it's just disk. Oct 02 02:50:11 oh that was why Oct 02 02:50:24 the tmp that stores the unpacked tarball during compile Oct 02 02:50:24 I keep /tmp/ram in a ramdisk. Oct 02 02:50:46 I also have 2G RAM, so it may write to disk, but it doesn't usually need to read. Oct 02 02:51:21 ive had a nasty leak in my xorg for the past 3 months that takes about a week to use up my 2gb ram Oct 02 02:51:45 i think it was related to nvidia drivers **** ENDING LOGGING AT Thu Oct 02 02:59:57 2008