**** BEGIN LOGGING AT Tue Sep 02 02:59:56 2008 Sep 02 03:03:00 do we know who the guy behind the coffee machine is? Sep 02 03:03:37 http://groups.google.com/group/android-developers/browse_thread/thread/f60eae7146dd51e5?hl=en Sep 02 03:03:40 lol Sep 02 03:04:05 the google dog will be a great mascot for android :) Sep 02 03:08:15 I hate this dog Sep 02 03:08:18 it looks like a rat Sep 02 03:08:19 e@!# Sep 02 03:12:13 haha Sep 02 03:12:30 the dog is everywhere Sep 02 03:16:28 s/dog/rat Sep 02 03:16:31 hehe Sep 02 03:57:11 Cursor c = getContentResolver().query(Telephony.Sms.Inbox.CONTENT_URI, null, null, null, null); Sep 02 03:59:17 no Sep 02 03:59:26 Cursor c = getContentResolver().query(Telephony.Sms.Outbox.CONTENT_URI, null, null, null, null); Sep 02 03:59:31 returns an empty cursor Sep 02 03:59:36 even having sent some messages Sep 02 04:00:02 plusminus_: check adb logcat and look for the exact query that was executed. Sep 02 04:00:08 should give you some insight into why there was a syntax error Sep 02 04:00:22 a null cursor doesn't mean an empty set, but rather an error executing it. Sep 02 04:00:31 executing the query* Sep 02 04:05:52 cursor is not null, but contaisn zero results Sep 02 04:06:01 Columns are correct, I assume: [_id, thread_id, address, person, date, protocol, read, status, type, reply_path_present, subject, body, service_center] Sep 02 04:06:08 oh sorry, i misread. Sep 02 04:06:36 outbox indicates to me that it is messages which are pending delivery, not post delivery. Sep 02 04:07:19 Argh, hti me Sep 02 04:07:32 I'm an idiot :D Sep 02 04:10:50 I always mix that up... Sep 02 04:11:40 plusminus_: so, what do you think of the images of the HTC Dream/G1 phone? Sep 02 04:26:56 I like it :) but i am no t-mobile customer Sep 02 04:27:10 so it will take me more time to get it Sep 02 04:35:54 you have to be a t-mobile customer? Sep 02 04:36:07 i was thinking of purchasing one while i was in the usa.. and bringing it back to australia Sep 02 04:36:23 dont tell me this isnt going to be possible? :P Sep 02 04:50:43 tmobile will keep it locked Sep 02 04:53:21 i thought the whole point of android was that it was supposed to be unlocked and fair for everybody? Sep 02 04:53:43 we dont have tmobile in australia (that im aware of) Sep 02 04:53:57 it should work with any 3g provider :( Sep 02 04:54:02 the rest of the world will be different Sep 02 04:54:13 it will boil down to the local carriers Sep 02 04:54:25 in india, mostly its unlocked Sep 02 04:54:27 as long as theres a hack for it to unlock it ;) Sep 02 04:54:34 yeah sure Sep 02 05:00:57 god damnit Sep 02 05:01:05 my new roommate is really lame Sep 02 05:01:15 what happened? Sep 02 05:01:20 damn you craig's list Sep 02 05:01:52 haha, you should've asked for an android programmer Sep 02 05:08:39 re Sep 02 05:56:59 hey romainguy Sep 02 05:57:25 i know you've been advocating against custom ui design.. any reasons for that? Sep 02 05:57:48 in terms of styles and themes Sep 02 05:58:44 I'm not advocating against it Sep 02 05:58:48 do it if it's worth it Sep 02 05:58:58 but don't do it if you are redesigning all the widgets Sep 02 05:59:07 just because you don't like the standard ones Sep 02 05:59:17 otherwise your app will look different from other ones Sep 02 05:59:24 and won't work on phones with different themes Sep 02 05:59:37 but in the end, it's up to you :) Sep 02 06:00:12 i'm putting this new app together Sep 02 06:00:32 am going to stick with the default ones Sep 02 06:00:41 since i'm not a designer by any means Sep 02 06:01:27 can the icons bundled with android be used in commercial apps? Sep 02 06:02:11 I think so Sep 02 06:02:17 gr88 Sep 02 06:02:20 they should be licensed under the Apache 2.0 license Sep 02 06:02:26 but double-check with the advocates Sep 02 06:02:34 ok Sep 02 06:03:06 i looked at your photostream.. do you always document like that ;) Sep 02 06:03:18 usually yes Sep 02 06:03:20 why? Sep 02 06:03:25 pretty impressive Sep 02 06:03:37 since javadoc is the last thing in my mind always Sep 02 06:03:51 it helps when you have time for it :) Sep 02 06:04:08 right, i can see the effort in it. thanks :) Sep 02 06:04:24 your UserTask can be part of android sdk, i guess Sep 02 06:04:43 we'll probably have it or something similar in the next version Sep 02 06:04:45 i usually spend the effort to document things which are generalized. Sep 02 06:05:00 yeah Sep 02 06:05:22 but not for specialized classes. i can see the obvious argument in favor of the opposite, but i just don't do it :) Sep 02 06:05:23 i document only when others ask for it.. lol Sep 02 06:05:58 i always document when i intend for someone to learn from what i've done, as well. Sep 02 06:06:12 jasta: i've checked out five Sep 02 06:06:18 but not yet peeped into it Sep 02 06:06:34 well, the current SVN is in non-working order as five-music is radically redesigned. Sep 02 06:07:31 the service package is finishing up now, with just the local server hack and thorough testing left to go Sep 02 06:07:48 then its into the activities which are now all broken because the service they depend on was scrapped and rebuilt Sep 02 06:07:56 did the instrumentation work? Sep 02 06:08:12 also, i plan to redo all the UI as i always considered it to be temporary leading up to the challenge anyway Sep 02 06:08:33 you had a nice ui Sep 02 06:08:47 no, as it turns out, services in the Android framework are very poorly tested :) Sep 02 06:09:05 the visual appeal of the UI will remain in most cases, however the real mechanics of it will be changed a lot. Sep 02 06:09:19 i'm not sure if the android developers are doing any kind of testing Sep 02 06:09:27 the artist/album screens for example will not really change visually, but the way it all comes together will Sep 02 06:09:48 diggin was impressive Sep 02 06:09:52 unit testing is somewhat common throughout Android, however it's very inconsistent. Sep 02 06:10:03 their test coverage is probably very low. Sep 02 06:10:22 i liked diggin's UI a lot, although it did raise a few critical questions Sep 02 06:10:55 like, it seems that the UI caters to users with very small music collections. scrolling through your music visually in that way would be very difficult if you had more than even 20 albums or so Sep 02 06:11:17 and lots of users have singles littered throughout, so there would be tons of "empty" albums, which diggin's UI seems to exaggerate. Sep 02 06:11:59 yeah Sep 02 06:12:00 also, i found out that their streaming media support is such a huge hack that it will probably be removed from the 1.0 build unless Google fixes their crap Sep 02 06:12:10 (i talked to him about it; he used the same hack Five did, which doesn't work at all) Sep 02 06:12:38 hmm Sep 02 06:12:53 there's a lot of rough edges left in android Sep 02 06:12:54 what he does is stores the stream to disk himself and points the mediaplayer at it. Sep 02 06:13:05 right Sep 02 06:13:11 which means that he has to "swap out" the mediaplayer reading the local content, which will cause stutters periodically for users. Sep 02 06:13:19 on the order of even just a few minutes of playback Sep 02 06:13:32 which he felt was acceptable as a demonstration, as did i for five, but will not fly for end users. Sep 02 06:13:42 yup Sep 02 06:13:43 as of 0.9r1, the MediaPlayer remains too broken to make it work correctly. Sep 02 06:14:47 but all-in-all i am curious about Diggin's UI, though i don't know that there are any elements i can really draw from for my project. Sep 02 06:15:00 i just don't know that i agree with the fundamental approach he has. it would be unruly for large collections. Sep 02 06:15:04 even with the ability to search the music Sep 02 06:15:06 I bet you could find an open source java mp3 decoder out there Sep 02 06:15:36 gambler: i thought the same thing, but then you'd need to do some major hacking to get access to the audio hardware. Sep 02 06:15:44 none of google's public classes offer you that. Sep 02 06:16:05 once source is released, i suspect you could figure it out pretty easily, but it's entirely possible that the Java layer doesn't even have that access. only the native layer. Sep 02 06:16:19 if that's the case, then you'd need to develop a native component yourself which is likely not easy to distribute with an APK Sep 02 06:16:44 so suddenly your app becomes very difficult for users to load, and all just to work around a couple of trivial limitations in a poorly thought out library Sep 02 06:17:02 so you cant write to the speaker...hmmm Sep 02 06:17:34 the MediaPlayer's issues really seemed like show stoppers to me in M5. i am surprised that Google did not agree. Sep 02 06:17:45 I guess the android security model (which I havent looked at) probably isnt yet mature enough to handle that. Sep 02 06:17:53 i understand the "we're busy" argument, but still there is some functionality that you just can't afford to screw up, and taht's one of them. Sep 02 06:20:38 jasta: there are tons of features that we can't afford to screw up, and this was not in the top priority list Sep 02 06:20:44 (unfortunately so, but that's the way it is) Sep 02 06:21:38 well it's just that...it's unusable. Sep 02 06:21:57 for what? Sep 02 06:22:02 for streaming/caching stuff? Sep 02 06:22:11 for anything other than playing static local content Sep 02 06:22:54 it can't even stream. regardless of my streaming and caching requirement. the local http server hack that google now officially recommends also won't work. Sep 02 06:23:12 (i posted a bug, if you're curious to know why) Sep 02 06:23:53 romainguy, I think the eclipse plugin site is down. Im trying to reinstall it and its not working Sep 02 06:23:55 morrildl alerted the team, but i am not in the loop as to how this is being prioritized. Sep 02 06:24:09 won't happen for 1.0 Sep 02 06:24:20 romainguy: how do you know? Sep 02 06:24:30 because I do Sep 02 06:24:39 uhh, ok. Sep 02 06:24:52 well, then that means no streaming UI is possible :) Sep 02 06:25:14 unless the bug has already been fixed ^^ Sep 02 06:25:20 it hasn't. Sep 02 06:25:45 (i talked to some folks who relayed some questions to the team) Sep 02 06:26:37 the problem is that you get no data useful to display to the user what the buffer progress is, or when audio output has stopped or anything. Sep 02 06:27:19 so if the user clicks something that requires buffering, you can't actually report to the user some reasonable information about when audio output will start. likewise, you can't notify them when audio output stops. Sep 02 06:27:27 hehe.. i dont want to see this, dont tell me i cant stream media for 1.0 ;) Sep 02 06:27:42 snadge: well you can if your users don't mind having no idea what your application is doing :) Sep 02 06:28:12 thats kind of how audacious et all.. already do it Sep 02 06:28:23 you can't control or observe the buffering heuristics. you only get one shot to know when playback begins (and you get no progress indicator leading up to it) Sep 02 06:28:29 you see it load the initial buffer.. it starts playing.. and thats it Sep 02 06:28:32 just shows a counter Sep 02 06:28:42 snadge: my point is you can't see it load the initial buffer. Sep 02 06:29:04 right and you can also see if it needs to rebuffer Sep 02 06:29:11 from the devs perspective, you merely start a stream and you get notified when playback begins. from then, you get no other status indications other than a fatal error that halts entirely. Sep 02 06:29:28 snadge: but you can't see that either. in fact, you never know when audio stops or resumes from after the initial startup. Sep 02 06:30:19 well i agree, that does kind of suck, not sure i would describe it as a show stopper though Sep 02 06:30:31 an iphone cant even send an mms message Sep 02 06:30:50 i couldn't believe that when i first heard it Sep 02 06:30:51 yeah, i guess maybe smartphones have low standards ;) Sep 02 06:31:32 well even if things like this have to be fixed with a 1.1 update Sep 02 06:31:50 its still a better scenario than from other vendors.. the update will no doubt be a free one Sep 02 06:31:57 well, forgive my bias, but the app i spent the last 10 months working on is a streaming media player :) Sep 02 06:32:59 well get on these guys asses about fixing it ;) Sep 02 06:33:09 such a stupid reason it won't work too. it really ought not be a difficult thing to implement the MediaPlayer as documented. Sep 02 06:33:19 snadge, that sounds a little gay...could you rephrase it Sep 02 06:33:53 well you've reported the problem, what more can you do.. apart from try and fix it yourself Sep 02 06:39:53 grr this new RatingBar is /huge/ and i cant figure out how to make it smaller :/ its not listening to android:progressBarStyle Sep 02 06:40:49 whatever you do, please make sure there is either a pause button or a stop button. Not both. Sep 02 06:40:55 MCE ships with both and I cant understand why, since no media centres take VCR tapes. Sep 02 06:41:09 umdk1d3: er... look at the Api Demos :)) Sep 02 06:41:39 umdk1d3: the default size is the right size for a 160dpi touch screen btw Sep 02 06:42:02 what? pause and stop have different meanings Sep 02 06:42:05 ahah thats why /me grepped and found i should be setting regular "style" attribute Sep 02 06:42:20 stop means pause, and seek to the beginning of the currently playing track Sep 02 06:43:08 oh wow :( small really is small lol Sep 02 06:43:38 i hate shared pause/stop buttons ;) Sep 02 06:46:42 I dont know if I believe that they have different meanings. The distinction arose from a technical issue surrounding VCR mechanics Sep 02 06:47:42 cassette also has this in a tape deck Sep 02 06:47:59 but then interfaces like media player and winamp replicate this also Sep 02 06:48:27 its something we all grew up with.. pause signals your intention to want to resume from where you paused it Sep 02 06:48:39 stop means exactly that Sep 02 06:48:55 my other pet peeve with my current nokia based mp3 player is that it has no fast fwd or rewind. which makes it hard to listen to e-books Sep 02 06:49:07 well thats just stupid Sep 02 06:49:13 but then again, i hate nokias Sep 02 06:49:32 i've always owned an ericsson ;) Sep 02 06:50:04 whenever i've used someone elses nokia.. it tends to make me violent Sep 02 06:50:48 amazing that people like so many different phone OS....we are so used to a mono culture in the desktop world Sep 02 06:51:25 I for one love nokia, and would happily code for the platform if it was open source... Sep 02 06:52:20 Ive written some J2ME before though and its painful, you cant do anything. Sep 02 06:53:07 Thats why Im interested in freerunner on debian-arm etc...you can do anything. To me android is the successor to the J2ME philosophy Sep 02 06:56:37 nokia's dev platform is not that good Sep 02 07:04:01 maybe they will update it with maemo Sep 02 07:04:24 gambler: did you decide on ioc? Sep 02 07:05:12 I really wanted to get AspectJ working but it introduces a runtime dependency and a number of other problems Sep 02 07:05:34 try spring Sep 02 07:06:27 yeah, ill look again at some of those things you mentioned yesterday. I really like the AspectJ approach because it suits a formalism I am trying to introduce into my code Sep 02 07:07:11 what you building? Sep 02 07:10:22 Ive designed a language for specifying and testing network protocols that generates java code. Im hoping it will save me time later Sep 02 07:11:59 ok Sep 02 07:15:57 there is a funny quote by terence parr thats something like: "Why write in one month what you could spend the rest of your life automating?" :p Sep 02 07:17:22 ah, it's "why program by hand in five days what you can spend the five years of your life automating?" Sep 02 07:17:43 he is a better programmer then me Sep 02 07:19:05 you can get too carried away with automating :) Sep 02 07:33:11 yah totally. when i see the state of language tools it makes me want to cry Sep 02 07:34:37 http://androidguys.com/2008/09/01/from-dream-to-prototype/ <- I like that article. It is the same thing I asking me while looking at the G1 Sep 02 07:34:44 I'm asking.. Sep 02 07:38:55 there's no doubt goog is rushing to meet Q4 date Sep 02 07:39:08 anno^da_: yeah, i had the same thoughts Sep 02 07:39:42 i think getting a device out there Q4 is the right strategy Sep 02 07:40:31 true open source style.. rush to release something thats half baked Sep 02 07:40:45 its not half baked Sep 02 07:40:46 why would anyone expect anything different? ;) Sep 02 07:41:00 yeah but its not a kitchen sink 1.0 Sep 02 07:41:02 iphone is half baked Sep 02 07:41:23 muthu: The thing is you have to import the device in Q4. From what the HTC guys said at the IFA the G1 will only be released in the US in Q4. Sep 02 07:41:28 no bluetooth api.. no chat api.. no big deal.. but no streaming media ? yikes ;) Sep 02 07:41:36 anno^da_: yeah, sad Sep 02 07:42:01 i will be in the usa in november so im not worried.. i will buy one and take it back to australia, to find out i cant use it Sep 02 07:42:35 :) Sep 02 07:43:17 One thing is pretty clear to me. With the G1 you wont get the "big bang" entering the market. Sep 02 07:43:43 G1 will sell well Sep 02 07:43:59 mayyyybe Sep 02 07:44:03 l ll lll Sep 02 07:44:06 We'll see. really really hope so. :) Sep 02 07:44:41 theres more chance of that, than apple releasing an iphone that doesnt suck... and microsoft releasing a version of winmo that doesnt suck ;) Sep 02 07:45:00 altho im relatively curious as to what v7 will bring Sep 02 07:45:59 G7 will be fantastic Sep 02 07:46:58 Well at the moment I think that we will see a more polished G1 in October. Sep 02 07:47:09 muthu: i think hes talking about winmo v7 ;) Sep 02 07:47:19 It will have the size that we know but much more polished. Sep 02 07:47:43 Since the only official thing we know are the FCC sketches. Sep 02 07:48:05 And romainguy could tell us if we are wrong or right. :-) Sep 02 07:48:09 umdk1d3: ha, was getting ahead ;) Sep 02 07:48:29 anno^da_: yes, it will be polished and nice Sep 02 07:49:52 will winmo7 have eye candy? Sep 02 07:50:03 or is that something microsoft.. has never been, and never will be able to get right ;) Sep 02 07:50:18 i think the issue is that they cant reinvent their platform overnight Sep 02 07:50:20 There are two hearts beating in my chest at the moment. On the one hand I dont believe that we get a prototype looking phone. On the other hand I know that a lot of leaked pictures in the past (from different products) emerged to be true in the end. Sep 02 07:50:57 msft adding an app store is another last-ditch effort to keep people interested Sep 02 07:51:08 i just dont see why its difficult for microsoft to have sliding, bouncing buttons etc Sep 02 07:51:12 they arent doing a major overhaul of their platform (like with .net for the desktop) Sep 02 07:51:14 like the iphone does.. thats the only reason people like the iphone Sep 02 07:51:19 because its "pretty" Sep 02 07:51:53 whereas windows mobile is like windows 3.1 trapped inside a tiny screen Sep 02 07:52:47 asides from that (and my hatred of microsoft) .. i'd rate winmo above iphone Sep 02 08:01:22 snadge: i actually don't find the iphone that "pretty". i just think the app store has some pretty decent apps. Sep 02 08:01:52 no other phone right now has the functionality it has. Sep 02 08:05:04 it has a few gimmicks.. but the way i see it, it lacks functionality Sep 02 08:05:30 iphone pretty but limiting.. winmo ugly but less limiting Sep 02 08:05:34 and no gimmicks Sep 02 08:08:48 have you seen that: http://books.google.com/books?id=8UsqHohwwVYC&printsec=frontcover#PPA15,M1 Sep 02 08:13:51 wow... Sep 02 08:13:54 I wish I had the artistic skills to write a comic just to make a point Sep 02 08:17:05 this is alot longer than I thought Sep 02 08:30:35 It's interesting to see how much architectural cross-over there is between Android and Chrome. Sep 02 08:30:52 tomgibara: yea they even mentioned android in the cartoon Sep 02 08:31:15 and they have gears in both platforms now Sep 02 08:35:33 I wonder if V8 will be appropriate for Android Sep 02 08:36:07 Or even if there could be an even richer crossover between Android and Chrome Sep 02 08:44:48 hi, how can i send sms between 2 emulators ? Sep 02 08:51:19 zenob: you might try the emulator port numbers Sep 02 08:51:24 i know that works for phone calls Sep 02 08:51:31 the port number should be in the title bar of the emulator Sep 02 09:01:04 http://www.engadget.com/2008/09/01/multitouch-oy-demos-cell-multitouch-display/ Sep 02 09:01:27 the fist multi touch display being really smooth Sep 02 09:01:39 while using Sep 02 09:02:12 why android doesn't support MT, no one knows Sep 02 09:02:49 well I think the loveley patent issues Sep 02 09:03:07 hmm Sep 02 09:05:55 with MT you can lift and drop :) Sep 02 09:13:48 the android team has done a great job Sep 02 09:13:58 with the APIDemos Sep 02 09:14:06 anything you want, its there Sep 02 09:38:57 google starts its own browser? Sep 02 09:39:12 oh my god, next browser someone has to support for his webapp Sep 02 10:27:00 hi, i'm trying to send sms from emulator but SmsManager.getDefault().sendTextMessage(address.getText().toString(), null, message.getText().toString(), null, null) throws some parcel exception :/ Sep 02 10:27:23 anobody know why ? Sep 02 10:31:41 http://www.youtube.com/watch?v=1GDl2r0RxpE Sep 02 10:31:45 this looks awesome Sep 02 10:31:46 :) Sep 02 10:31:51 *blingbling* Sep 02 10:35:54 something like this I would have expected :) Sep 02 10:39:36 guerilla marketing i like it Sep 02 11:27:02 is chrome or opera in Android? Sep 02 11:43:00 DJTachyon, neither Sep 02 11:43:11 just uses webit Sep 02 11:43:13 webkit Sep 02 12:06:32 chrome is awesome :P Sep 02 12:07:13 i wonder if it will be able to run flash :/ Sep 02 12:08:00 sure it will, it can run plugins Sep 02 12:08:23 so i can give firefox 3.0.1 the boot on my linux boxes? :P Sep 02 12:08:28 its been crashing a bit lately Sep 02 12:09:10 if you dont custimize it much then what does it matter what you use Sep 02 12:09:17 i think its flash related.. but it takes out the entire browser, which is really annoying.. sometimes i have one of those moments where you click the opposite to what you meant to click, and end up with a blank browser window and no tabs.. doh ;) Sep 02 12:10:13 i like this process isolation idea Sep 02 12:11:35 Well I dont think that chrome can compete with FF 3 including all my add ons Sep 02 12:11:52 thats not the point of it tho Sep 02 12:12:06 to raise the bar, and get its ideas across Sep 02 12:12:08 i dont use that many add ons.. and it is open source, so presumably these people could make chrome plugins Sep 02 12:12:29 if its faster than firefox 3.. and doesnt crash.. im converted already ;) Sep 02 12:12:35 well they could :) But how long did it take since all the plugins for FF existed. Sep 02 12:13:00 Well FF hasnt crashed for 20 days now so I can't argue about that. :) Sep 02 12:13:05 well they're both open source .. it becomes a question of, are these plugins really worth it Sep 02 12:13:30 Well some are. For example Tab Mix Plus. I cant live without it. Sep 02 12:13:30 ff has an addon interface, chrome does not, just plugins Sep 02 12:13:31 it has generally been excellent for me.. but firefox 3.0.1 and flash has a known issue (i think) Sep 02 12:13:37 or no info about that anyway Sep 02 12:13:53 It gives me all the tab possibilities other "new" browser claim to have. Sep 02 12:14:43 i look forward to checking it out anyway Sep 02 12:14:49 So we will see what happens in the future. Sep 02 12:14:56 absolutely Sep 02 12:15:50 what toolkit does chrome use? will there be a linux release tomorrow? Sep 02 12:16:18 As long as chrome doesnt have a valuable feed reader integrated I wont change the browser. :) I got used to it having the feed reader inside the browser. Sep 02 12:16:27 no linux release. Sep 02 12:16:53 It is windows only at the moment. Sep 02 12:33:18 doh fail @ no linux chrome Sep 02 13:03:17 what is webkit and how does it relate to chrome? Sep 02 13:03:31 seeing as webkit's website is b0rked Sep 02 13:04:03 webkit is a rendering engine, like gecko Sep 02 13:04:07 oh Sep 02 13:04:17 so chrome and the android browser both use it? Sep 02 13:04:23 yep Sep 02 13:04:30 oh wikkid Sep 02 13:04:31 webkit was originally written for safari Sep 02 13:04:35 by apple, then opensourced Sep 02 13:04:37 o_O .. really? Sep 02 13:04:56 doesn't iphone use safari .. or did safari fork from webkit? Sep 02 13:05:14 -or Sep 02 13:05:15 its not necessarily a fork Sep 02 13:05:39 webkit is the rendering engine under the hood--iphone, android, safari, chrome all use it, almost like a library Sep 02 13:06:03 firefox uses gecko under its hood Sep 02 13:06:10 Actually Apple started with kHTML (the KDE browser engine) for Safari Sep 02 13:06:22 oh cool i didnt know that Sep 02 13:06:33 They released WebKit as open source, and Nokia got it running on the S60 phone. Sep 02 13:06:41 i remember khtml being a pretty decent engine for its time Sep 02 13:06:49 And now Google is using it for android and Chrome Sep 02 13:07:26 well good .. at least there is some consensus ... Sep 02 13:08:03 I was surprised that Apple was so nonchalant about Android, but if they are all using the same code, then I'm not surprised. Sep 02 13:08:14 android and Chrome are similar in the sense that they both use processes to keep one bad app (android) or web page or plugin (Chrome) from crashing the whole thing. Sep 02 13:08:47 cool :) Sep 02 13:11:38 lol incognito mode ... Sep 02 13:12:11 DJTachyon, "porn mode" Sep 02 13:12:13 ;) Sep 02 13:12:25 anyone tried IE 8? Sep 02 13:12:31 baaa Sep 02 13:12:41 does it run on linux? :P Sep 02 13:12:44 so no option Sep 02 13:12:45 indeed ... Sep 02 13:12:45 for me Sep 02 13:13:18 me too.. the last one i ran is IE 5 Sep 02 13:21:33 all IE's suck. Sep 02 13:21:33 lol Sep 02 13:56:59 can a view be built in a separate thread and then merged back to main thread when done? Sep 02 15:00:59 woo, i am super tired Sep 02 15:42:43 is chrome out yet? Sep 02 15:43:14 that's it.. msft is done! Sep 02 15:47:43 are you predicting the demise of Microsoft based on competition in a segment where they are giving away their product for free? Sep 02 15:48:05 yes Sep 02 15:48:26 my follow-up question is then, are you an idiot? Sep 02 15:48:43 lol Sep 02 15:49:18 only idiots ask other such a thing ;) Sep 02 15:55:53 hope chrome comes out with a linux version Sep 02 15:57:37 you will be quite disappointed methinks, google chrome wont change the world and its not revolutionary Sep 02 15:57:55 I've never heard of it Sep 02 15:58:12 we need to wait and see Sep 02 16:00:26 judging by android standards.. chrome would be fantastic! Sep 02 16:00:36 because android standards are low? Sep 02 16:00:56 jasta: why is the android standard low? Sep 02 16:01:12 its the best mobile development platform available as of today Sep 02 16:01:21 well, the way you phrased that made no sense Sep 02 16:01:53 if you say judging by , will be great! you are implying that has a low bar set, so will easily beat it. otherwise, you wouldn't make the comparison. Sep 02 16:02:17 ha, again you picking on the grammar Sep 02 16:02:21 that's not i meant Sep 02 16:02:27 Jeez Jasta, can you chill out? Sep 02 16:02:28 this isn't grammar, actually, it's just how you think Sep 02 16:03:18 Cedric2: chill out? i'm not really wound up. Sep 02 16:03:25 I took it as muthu intended it, android is fantastic, so you can assume that chrome will be Sep 02 16:03:33 yup Sep 02 16:03:46 jasta is weird and crazy Sep 02 16:04:01 I know, but there is no need to be so confrontational with everyone Sep 02 16:04:03 attack of the fanbois Sep 02 16:04:10 haha Sep 02 16:04:29 sztanphet: i'm anything but a fanboy. Sep 02 16:04:46 yes, i didnt mean you Sep 02 16:05:00 jasta: he meant the attack is on you Sep 02 16:05:15 from us fanbois :)) Sep 02 16:05:35 ahh yes, well in that case you certainly are. Sep 02 16:07:55 hey muthu, do they still have the caste system in India? i mean, is it still a strong social force? Sep 02 16:08:20 the caste system is still there.. yes Sep 02 16:08:36 and which were you born into? Sep 02 16:08:37 however things are changing slowly Sep 02 16:09:47 there's religion.. then caste.. then subcaste.. then groups within them.. then subgroups Sep 02 16:09:53 and so on and on and on.. Sep 02 16:10:18 well, i'm curious where you fit into it. Sep 02 16:10:31 just like the many languages and dialects Sep 02 16:10:52 jasta: what do you know about the caste system? Sep 02 16:10:56 Is there any plan to have Android move to kernel 2.6.26? Sep 02 16:11:06 muthu: hardly anything, really, but i am curious about it. Sep 02 16:11:38 i'm not sure i trust wikipedia to give me a complete picture of it, either :) Sep 02 16:11:45 anyone using the sdk with kde? I can't get sound to work in the emulator if arts is around Sep 02 16:12:14 zhobbs: me too Sep 02 16:12:31 but anyways i'm planning to get rid of kde Sep 02 16:12:36 just stick to gnome Sep 02 16:12:42 esd with kde seems to work, just was a pain to setup last time Sep 02 16:13:53 jasta: as an example, this was my last tweet: Sep 02 16:14:34 TAMILNADU: A youth and family in Tirunelveli district have been ostracised by a village adminstrative committee for marrying a Dalit girl. Sep 02 16:15:00 http://twitter.com/intellibitz Sep 02 16:39:47 is mark murphy here? Sep 02 16:50:26 sigh, i left my personal laptop on my desk at work and someone decided to pile a bunch of boxes and shit on top of it Sep 02 16:50:31 scratched the hell out of the surface Sep 02 17:32:11 jasta: you were wanting to be able to pass in an InputStream to MediaPlayer right? guess there is no way right? Sep 02 17:42:47 zhobbs: basically, yes. the local HTTP server workaround will not work except in very special cases. Sep 02 17:43:24 basically it can only work for computed audio streams, not for anything based on the network Sep 02 17:44:17 I'm trying to figure out how to parse out shoutcast meta data and just pass the mp3 data to media player: http://www.smackfu.com/stuff/programming/shoutcast.html Sep 02 17:44:20 actually, that's not accurate. it can only work when buffering is unnecessary, so the audio can be provided in real time Sep 02 17:44:40 zhobbs: Diggin did that, but of course the hack is just as broken as Five's. Sep 02 17:44:48 he strips it out and write to disk, then points the mediaplayer at that file Sep 02 17:44:56 yeah, that's what I was thinking about doing Sep 02 17:44:58 then rotates them every X bytes Sep 02 17:45:11 but it's totally pointless to waste your time on this. the user will be furious. Sep 02 17:45:14 then you gotta pay attention to the buffering status and stuff Sep 02 17:45:29 jasta: what do you mean? Sep 02 17:45:29 the audio will stutter. Sep 02 17:45:52 the audio stutters with diggin's implementation? Sep 02 17:45:58 yes. Sep 02 17:46:04 why? Sep 02 17:46:11 think about it, you don't have unlimited storage on disk, you have to rotate out those temporary files Sep 02 17:46:19 ohhh...I see Sep 02 17:46:22 ouch... Sep 02 17:46:28 when you do, the MediaPlayer will need to tear down and reinitialize on a new file. this isn't a realtime OS, so it won't b seamless. Sep 02 17:46:35 yeah, that's bad Sep 02 17:46:41 also, if the stream chokes (playback stops because the buffer is empty), you will have no way to tell the user "uhh, sorry, buffering." Sep 02 17:46:48 because the mediaplayer is just SIMPLY TOO FUCKING BROKEN Sep 02 17:47:03 yeah, need to be able to just pass an input stream Sep 02 17:47:27 yes, and also the buffering strategy needs to either be moved to the user's control in this case, or it needs to be much better documented and implemented correctly Sep 02 17:47:41 the buffering strategy right now is a big part of the problem. its why the local HTTP server hack won't even work. Sep 02 17:47:57 of course, the local HTTP server hack is a terrible mess anyway and shouldn't be the recommended strategy in the first place Sep 02 17:48:27 another thing to think about, the MediaPlayer when streaming from HTTP caches its own content to disk, so that it can actually buffer ahead of playback Sep 02 17:48:44 hmmm, so for shoutcast sounds like just don't fetch the meta data Sep 02 17:48:59 so you get simultaneous writes to disk in my case (and in other similar ones), which will destroy performance Sep 02 17:49:12 jasta: exactly, I was wondering if there was a way to buffer to disk somehow without having to rotate files Sep 02 17:49:28 they are doing it somehow Sep 02 17:49:29 zhobbs: save your sanity, wait for 1.1 Sep 02 17:49:58 If you really want to pursue it, you can talk to the Diggin author but it is clear to me from my conversations with him that he is using the same hack Five used. Sep 02 17:50:08 which i tore out because the user can detect the problems with it Sep 02 17:51:49 hmm, might just not deal with the meta data for now Sep 02 17:52:14 my plan is to just reduce granularity of buffering progress from 0 to 100 (nothing in between), and fail to detect choking. Sep 02 17:52:24 but also not release Five officially. Sep 02 17:52:44 i'm unwilling to support a program that is designed this way Sep 02 17:52:53 so, when source is out, i will just fucking fix it myself Sep 02 17:53:01 and hopefully Google will accept these patches Sep 02 17:54:09 yeah, that's a pain.... Sep 02 17:55:12 i'm also designing my local HTTP server in such a way that it can be torn out once the MediaPlayer works as expected Sep 02 17:55:22 i'm encapsulating most of its logic in an InputStream Sep 02 17:55:39 but seriously, stay the hell away from streaming audio :) Sep 02 17:55:48 hehe Sep 02 17:56:14 *maybe* they will fix the buffering update problem for 1.0, in which case the local http server approach becomes somewhat workable, albeit inefficient Sep 02 17:56:29 but there's simply no way we're going to see anything in the way of a better API for 1.0 Sep 02 17:57:27 jasta: how big does the diggin player let that file get? Sep 02 18:00:21 zhobbs: i don't know, probably quite large so that he can hide this fact from the judges Sep 02 18:01:33 morning Sep 02 18:13:02 2 days jasta Sep 02 18:14:27 ugh, yeah Sep 02 18:14:55 i'm really disappointed though. one of my friends didn't get his passport in time, so he isn't coming Sep 02 18:15:10 now it's just my girl and i, and my roommate. so it's kind of a weird third wheel type thing Sep 02 18:16:38 heh Sep 02 18:16:44 and your roommate is moving out soon too right? Sep 02 18:16:48 doh, that happened to me last time I was in vegas Sep 02 18:17:58 Dougie187: no, nothing about him moving out Sep 02 18:18:22 i'm just so irritated that Devon waited until the last f'n minute to deal with something like his passport Sep 02 18:18:32 that does kinda suck Sep 02 18:18:32 fuck, that's the thing he should have dealt with in January when we bought tickets Sep 02 18:18:37 you should slap him. Sep 02 18:18:45 at least you don't have to give him back money? Sep 02 18:19:01 no, of course not Sep 02 18:19:11 he bought all his own tickets and stuff so he's just go to find some way to reuse them if he wants to Sep 02 18:19:18 if not, he just blew $1500 Sep 02 18:19:18 cool Sep 02 18:19:32 but now he's probably going to go alone Sep 02 18:19:39 lol Sep 02 18:19:41 thats too bad for him. Sep 02 18:19:49 have you read much about chrome yet? Sep 02 18:20:26 press conf is on now Sep 02 18:20:40 theres a stream too Sep 02 18:20:46 Dougie187: i looked at the lame little comic they put together Sep 02 18:20:57 im reading through the comic. Sep 02 18:20:57 Dougie187: sure, it sounds like an improvement, but nothing revolutionary Sep 02 18:21:13 but it sounds like it would be resource heavy. Sep 02 18:21:34 a separate process for every tab, with its own memory and data? Sep 02 18:21:54 big deal Sep 02 18:26:23 Dougie187: above all, i don't understand why they produced a comic strip to demonstrate this. google is losing it :) Sep 02 18:26:40 omg what is the xml to get two buttons next to each other in linearlayout? Sep 02 18:26:45 and the comic strip is retardedly long. Sep 02 18:26:57 i don't want to read a 37 page comic about a web browser. Sep 02 18:27:01 DJTachyon: make a linearlayout with orientation=horizontal and put them in it Sep 02 18:27:36 do they have like a demo of it or something? Sep 02 18:27:45 who knows Sep 02 18:27:50 probably doesn't even work or exist. Sep 02 18:28:31 well i want like textview (i use gravity center) then next line: 2 buttons, next line: 2 buttons, next line: 2 buttons Sep 02 18:29:34 DJTachyon: ok, so make a bunch of linearlayouts. Sep 02 18:29:48 views are composable, DJTachyon. you next them. Sep 02 18:29:50 nest* Sep 02 18:30:57 ohh interesting Sep 02 18:50:52 when is it that the verizon android phone is supposed to go on sale? Sep 02 18:50:59 sept 9th? Sep 02 18:51:05 lol Sep 02 18:51:06 verizon? Sep 02 18:51:14 noone has even mentioned a verizon one. Sep 02 18:51:16 feb 31 I thought? Sep 02 18:51:17 t-mobile Sep 02 18:51:21 I guess Sep 02 18:51:33 yeah, t-mobile supposed to in a couple weeks right? Sep 02 18:51:35 and chrome is out btw Sep 02 18:51:52 i don't think there is a release date for the t-mobile phone yet. Sep 02 18:51:53 but ionno Sep 02 18:52:35 Dougie187: T-Mobile employees are hearing rumors of Oct 13th Sep 02 18:52:41 ohh Sep 02 18:52:44 thats pretty cool Sep 02 18:52:48 too bad im not with t-mobile Sep 02 18:52:57 but again, those are rumors. Sep 02 18:52:58 release date or date that it goes on sale? Sep 02 18:53:13 tethridge: what's the difference for a carrier? Sep 02 18:53:28 no difference for me. I meant to say t-mobile Sep 02 18:53:39 I get t-mobile and verizon mixed up Sep 02 18:53:43 both services I don't have Sep 02 18:54:20 i wanna know sprints release date Sep 02 18:54:26 jasta, is that the rumored date it will go on sale? Sep 02 18:54:32 tethridge: yes. Sep 02 18:54:59 currently, i'm not considering switching to T-Mobile. Sep 02 18:55:09 i'm just hoping that the phone is a world phone and i can toss an AT&T sim in it. Sep 02 18:55:16 i really don't care if that breaks the Android market, either. Sep 02 18:56:10 you guys been able to download chrome yet? Sep 02 18:56:34 the server must be getting hammered because I click the accept and install button and it disables and nothing happens Sep 02 18:58:12 I will try later on Sep 02 18:58:21 perhaps there will be some torrents up Sep 02 18:58:32 all mass media site informed about that new release Sep 02 18:59:12 even the biggest TV stations informed about it Sep 02 19:19:00 hmm, interesting Sep 02 19:19:07 http://androidguys.com/2008/09/01/from-dream-to-prototype/ Sep 02 19:19:12 read the 3rd comment from SciFoo Camp Invitee Sep 02 19:19:19 god i hope that's tru e:) Sep 02 19:19:48 I really really want to believe that Sep 02 19:20:24 me too, and the source at least doesn't seem ridiculous Sep 02 19:20:33 Just my experience in the leak of other hardware products in front of the release makes it hard to believe that. Sep 02 19:20:39 he at least gives us reasonable evidence ;) Sep 02 19:21:10 Yeah well Sep 02 19:21:25 it is a comment so it is not more evidence then the rest on this site Sep 02 19:25:13 But jasta it has to be true. :-) Sep 02 19:25:22 How was Ireland ? Sep 02 19:27:00 wait, what are you hoping is true? Sep 02 19:28:24 read the 3rd comment from the above mentioned news entry by the android guys Sep 02 19:30:16 just hoping that the final G1 is cleaner than the ones we've seen? Sep 02 19:38:54 why can't i add xml elements anymore? wtf Sep 02 20:12:53 zhobbs: Yeah thats the point. Sep 02 20:13:27 Because we only know some sketches but havent seen real pictures. Except the leaked ones from which we dont know the source. Sep 02 21:07:34 does anyone here know if there will be push e-mail support with activesync for android? Sep 02 21:13:51 km-: highly unlikely. Sep 02 21:14:14 they could do it a number of different ways, but given that they shaved off so many luxury items already, i really doubt they did this. Sep 02 21:14:28 highly likely, just might be done by a third party Sep 02 21:14:32 for now Sep 02 21:14:32 I'm a blackberry addict Sep 02 21:14:45 I'm thinking of preordering the G1 because I have faith in android as an awesome platform Sep 02 21:15:00 but I still want to be able to do what I do with my existing smartphone, like have enterprise class e-mail that "just works" Sep 02 21:15:46 there will be an imap email client Sep 02 21:15:55 shipped with the unit or as an addon? Sep 02 21:16:23 I think there's gotta be one on the handset out of the gate Sep 02 21:16:26 or rather I should say, one authored/QA'd by google Sep 02 21:16:42 I'm sure people will write George's IMAP Client v.0000004 or whatever Sep 02 21:16:53 and the fun will begin with debugging that ;) Sep 02 21:17:33 I'm wondering, has anyone had a handle on the HTC Dream or G1 and tried typing on it? Is that side thing really awkward to type over? Sep 02 21:17:46 km-: ActiveSync is a publicly documented protocol now, and open soruce devs can implement it free of patent enforcement. Sep 02 21:18:00 but that will require that someone do that. that said, it is impossible to tell if someone cares enough to do it. Sep 02 21:18:08 or if google will take the project on themselves and pay the license fees Sep 02 21:18:37 interesting project to hack on Sep 02 21:20:21 it would be a very difficult project to hack on, subject to Google's good design as well. Sep 02 21:20:26 are there any other devices available that can run android? I'm assuming the software isn't necessarily limited to cell phones. Sep 02 21:20:37 km-: it is officially. Sep 02 21:20:42 ahh Sep 02 21:20:51 the platform is very immature right now, so don't get too excited. Sep 02 21:21:24 hopefully it's at least feature complete for 1.0 at this point, since phones will be available in a month with it Sep 02 21:21:42 well, it's feature complete for certain definitions of feature and complete. Sep 02 21:21:49 hahaha Sep 02 21:21:50 i'm sure it will work as a phone :) Sep 02 21:21:57 maybe it'll make a pispoor smartphone, though :) Sep 02 21:22:39 that would be pretty damning for them Sep 02 21:23:04 it's being marketed as a smartphone, right? Sep 02 21:23:25 yes, but please just realize that we know hardly anything at this point. the most concrete information available is the SD Kitself, at 0.9 right now. Sep 02 21:23:38 so downloda that, experiment, and if you have any questions you can direct them to /dev/null since nobody knows anything :) Sep 02 21:23:39 km-: it'll be better than jasta is making it out.... Sep 02 21:24:07 i'm not making it out to be anything. Sep 02 21:24:25 km-: you can download the SDK and run the emulator if you want to play around with a stripped down version Sep 02 21:24:26 none of us know, *at all* what it will be like. so we might as well say that. Sep 02 21:24:46 yeah, I tried installing some apps off code.google for it and they said that the .apk was for a different version of android or something Sep 02 21:25:07 my guess is the one on the site was for 0.5 and not recompiled since or something. Sep 02 21:25:19 was downloading eclipse at home so I could just recompile it and try again Sep 02 21:25:25 yeah...I haven't even started with the porting to 0.9 yet.... Sep 02 21:25:41 I was happy just to see someone writing an ssh app Sep 02 21:26:14 km-: just wait until it comes out. don't preorder it or anything. Sep 02 21:26:25 go play with it for yourself when it lands in a t-mobile store or wherever. Sep 02 21:27:14 definitely interested in seeing whether the keyboard is comfy Sep 02 21:28:13 anyone talk at all about multitouch on android? Sep 02 21:28:21 also, as for the apps, browse through the top 50 winners. those are definitely going to be the most mature apps initially (other than google's, of course) Sep 02 21:28:22 cant really attempt to try that in the emulator Sep 02 21:28:38 and I doubt the G1 has it since I only see people single-touching the screen in the youtube vids Sep 02 21:28:41 km-: nope, we don't know if there is multitouch on android. Sep 02 21:28:54 it seems there is not Sep 02 21:29:04 yeah, I was kinda bummed GoCart won so much money Sep 02 21:29:18 I've been juggling that idea for the past couple years Sep 02 21:29:22 it coulda been me! Sep 02 21:30:00 many of those apps have already been done, as evidenced by the numerous patents they violate :) Sep 02 21:30:19 but none of them have had any public manifestations, so this is still good news :) Sep 02 21:30:23 violate patents? Sep 02 21:30:40 jasta always looks on the 'bright-side' of things Sep 02 21:30:50 I'm curious where you are hearing that writing an app like GoCart violates patents Sep 02 21:31:03 km-: GoCart violates none that I know of, but for example, Locale violates several :) Sep 02 21:31:13 ahh. Sep 02 21:31:23 owned by IBM, Nokia, and even M$ I believe (haven't verified the latter) Sep 02 21:31:50 zhobbs: i've been meaning to ask you again about the copyright infringement problems assoicated with TuneWiki as well. Sep 02 21:32:14 where do your lyrics come from and how do you ensure the right to distribute them? Sep 02 21:32:32 i can't figure out why this app won't be barred for distribution in the US. Sep 02 21:32:50 because zhobbs types in all the lyrics manually Sep 02 21:32:53 (kidding) Sep 02 21:32:55 haha Sep 02 21:33:05 zhobbs is feverishly transcribing Love of Polka 5 as we speak. Sep 02 21:33:25 Now That's What I Call Riverdance! Volume 27. Sep 02 21:33:29 lol Sep 02 21:34:18 I guess I should learn java and come up with a killer app Sep 02 21:34:49 any way to access audio data files directly, and change the playback speed? Sep 02 21:35:55 DJTachyon: Unlikely. The MediaPlayer is pretty much WYSIWYG. As far as I can tell there is no audio or codec subsystem directly exposed to Java programmers. Sep 02 21:36:02 I think android needs a cooler media player, if they're planning to go-to-market with the one in the emulator. Sep 02 21:36:19 km-: Well, TuneWiki is shaping up to be an excellent default. Sep 02 21:36:41 there would have to be an audio subsystem for games and stuff Sep 02 21:36:45 But as I said earlier, I don't see how it can be set for US distribution. Sep 02 21:36:49 tunewiki? they made their own media player? Sep 02 21:36:52 km-: No, it's all through the MediaPlayer. Sep 02 21:36:57 whaaa? Sep 02 21:37:06 the games use the media player to render sound? Sep 02 21:37:32 I find that extremely difficult to believe, why would that be the case? Sep 02 21:38:04 well maybe b/c the "media player" is for playing media .. not to be a huge mass of garbage code and features like windows media player Sep 02 21:38:14 so that is all it does ... Sep 02 21:38:17 ohhhh Sep 02 21:38:28 MediaPlayer class, not necessarily the full-blown Media Player Application. Sep 02 21:38:31 the thing in the emulator is just a front end to the emulator Sep 02 21:38:34 yeah Sep 02 21:39:11 i want to be able to load all the data from an mp3 into memory as raw audio and just around the data as i see fit Sep 02 21:39:11 can you extend MediaPlayer and do what you want? Sep 02 21:39:19 then just have your app use the extended mediaplayer? Sep 02 21:39:23 well there isnt much to do .. Sep 02 21:39:26 but yes Sep 02 21:39:31 http://code.google.com/android/toolbox/apis/media.html Sep 02 21:40:25 there is a code sample in the APIDemo sample Sep 02 21:40:32 yeah. Sep 02 21:40:41 is the android OS itself open-source? Sep 02 21:40:59 the API document does make it kinda simplistic. Sep 02 21:41:03 after 1.0/G1 release it is suppose to be Sep 02 21:42:06 Speeding up or slowing down samples would be relatively easy audio-wise in the code, but if you're stuck only working with what the API document is giving to you, you're kinda screwed I guess Sep 02 21:42:15 yeah .. Sep 02 21:42:20 im gonna explore the class some more Sep 02 21:43:13 time to implement your own audioplayer class :) Sep 02 21:43:46 hehe Sep 02 21:44:12 the date-field used for Sms-Storage is strange, it got values like: Sep 02 21:44:23 606136936 Sep 02 21:44:28 which is not a unix timestamp Sep 02 21:44:46 anyone knows what it is? Sep 02 21:45:40 I dont know if this issue exists in java, but are you looking at the value such that the program assumes it's an integer value when it should be a time value? Sep 02 21:45:52 yeah its a long field an I used int... Sep 02 21:46:12 i just thought about that when I typed the above ^^ Sep 02 21:46:32 cool, glad you figured it out Sep 02 21:46:42 ok, time for me to make the commute home, catch you guys later Sep 02 21:46:44 * km- & Sep 02 21:47:39 hmm i wonder how fast the media player is Sep 02 21:47:56 i could do crazy stuff with the seek function to try and get a pitch bend :P Sep 02 21:54:02 is there a msec wait function? Sep 02 21:54:29 DJTachyon: Thread.sleep()? Sep 02 21:54:50 probably .. need to put it in a for loop Sep 02 21:55:04 why do you need to sleep in a loop? Sep 02 21:55:16 There is a class called Timer you might want to check. Sep 02 21:55:38 or that Sep 02 21:55:41 timer is good too Sep 02 21:56:18 im a procedureal embedded C expert, I havent done OO in years.. Sep 02 21:56:28 -e Sep 02 22:00:00 sorry had to step away Sep 02 22:00:54 actually, you probably want to use Handler instead of a timer. Sep 02 22:01:18 a timer requires a thread, whereas Android's internal event loop can do crude timing in the same thread as it processes other events Sep 02 22:01:36 look at Handler#sendMessageDelayed Sep 02 22:07:32 man im so lost :P Sep 02 22:10:17 DJTachyon: let me explain at a high level... Sep 02 22:10:27 im editing the play local audio file demo to try an seek to say 10000msec into the file, then once every 2 msec seek to 10000+i .. where I increments every 2 msec Sep 02 22:10:39 Android applications have a "main" thread which can interact with the UI and process other Android events. Sep 02 22:11:00 This thread is constantly waiting in an event loop processing these events, as implemented by Looper.loop() though you need not worry about that. Sep 02 22:11:03 It was setup for you. Sep 02 22:11:32 alrighty Sep 02 22:11:37 You can inject and handle arbitrary events in that event loop by using a Handler (a way to both deliver and receive messages on the loop). Sep 02 22:11:57 when you create a handler with new Handler() it automatically associates with the event loop on the thread in which it was made. Sep 02 22:12:10 interesting Sep 02 22:12:24 a feature that you can use here of the Handler and the event loop is that you can send "timed" (delayed) messages. Sep 02 22:12:36 you can, for example, say "send my message in 50ms." Sep 02 22:12:37 Afer using Chrome I dont understand whats so special about it. (besides the fast JS Engine and the process for each tab) I cant open a new Tab while entering a new adress and pressing enter. So it fails for me. :) There is no possibility to setup any tab behaviour. Or am I just spoiled by TabMix Plus + FF :D Sep 02 22:12:53 and your handler will be woken up to deal with your message in that time, at least as granular as android's event loop can guarantee. Sep 02 22:13:16 well seeing as the seekto function is down to the msec, thats all i can hope for Sep 02 22:13:38 im not opposed to scheduling a thread if I can figure out Android implementation of Timer Sep 02 22:13:40 so, if you need to have timed events, you can abuse the main android event loop (with the Handler) and pass dleayed messages then handle them Sep 02 22:13:57 it will be far more efficient than creating a separate thread to wait and fire events like a timer. Sep 02 22:18:02 anno^da_: chrome fails for me without mouse gestures....we all use our browser so much that we are stuck in our ways Sep 02 22:21:55 zhobbs: true. I'm missing NoScript, Adblock, etc etc etc :-) Sep 02 22:22:36 the only thing I miss is adblock Sep 02 22:23:02 romainguy: Well it really depends on the things you use. Sep 02 22:23:20 I could mention 7 plugins in addition that I'm missing Sep 02 22:23:20 i don't get what the excitement is behind Chrome. is it really just a mild architectural improvement that is generating all this buzz? Sep 02 22:23:32 it is. Sep 02 22:24:05 anybody have any experience getting oprofile to work on android? Sep 02 22:24:29 chrome wont even run where I work, there is a conflict with Symantec Endpoint, and Chrome crashes over remote desktop when loading mendu options Sep 02 22:24:32 jasta: it's a "mild" architectural solution that is extremely overdue in browsers and a real bitch to implement, without breaking existing browser JavaScript conventions Sep 02 22:24:50 jasta: aside from that, you're more or less right :) Sep 02 22:25:03 :) Sep 02 22:25:15 jasta: FF 3.1 will have tracemonkey or Tamarin or whatever it's called today, so other browsers are definitely stepping up. Should be interesting Sep 02 22:25:33 Once IE is the slowest JS engine by an order of magnitude, it'll be interesting to see what MSFT does :) Sep 02 22:25:52 ...or perhaps they'll surprise us with a fast JS engine of their own, who knows Sep 02 22:25:54 Nothing, probably. The slower they move, the more it hurts companies like Google :) Sep 02 22:26:16 morrildl: But I dont think that the JS performance is the most important point if you look at a browser. (for me) Sep 02 22:26:39 if you look for Sep 02 22:36:12 android mplayer does not like what im trying to do :P Sep 02 22:37:05 DJTachyon: i will caution you that the MediaPlayer class really sucks ;) Sep 02 22:37:12 yeah it does .. Sep 02 22:37:15 i would say you are quite likely to encounter problems with it Sep 02 22:37:58 well I dont know if it is my code or media player not doing what I want .. I thought it was a pretty easy thing to try Sep 02 22:38:30 what are you trying to do? Sep 02 22:39:53 pitch bend a track by seeking .. wait a msec, seek forward two msec .. Sep 02 22:40:02 should play twice as fast .. Sep 02 22:40:21 if the mediaplayer is fast enough Sep 02 22:42:39 so i need to schedule the code to do a mMediaPlayer.seekTo(10000+i); where i increments by 2 every 1 msec Sep 02 22:43:25 well, there's a couple of problems here. Sep 02 22:43:30 im trying to do this in the MediaPlayerDemo_Audio.java file Sep 02 22:43:34 a) we don't know the precision of the MediaPlayer. Sep 02 22:43:46 b) we don't know the precision guaranteed by the emulator Sep 02 22:43:58 we know that Linux should give us precision at least as good as 1ms. Sep 02 22:44:03 yeah, its more of an academic excercise Sep 02 22:44:42 would the Java Timer be the best bet? or should I try making a handler message? Sep 02 22:44:44 to pitch bend you've either got to resample the audio .. or play it back at a faster/slower sampling rate Sep 02 22:44:49 so, in order to eliminate a and/or b without source, i'd try devising a simple test that seeks it forward very small increments in a tight loop, and then also try a repeating message loop Sep 02 22:44:57 DJTachyon: you should definitely use a Handler. Sep 02 22:45:00 and sendMessageDelayed Sep 02 22:45:05 i know snadge Sep 02 22:45:10 but we work with what we got ;) Sep 02 22:45:12 i'm failing to see how seeking forward by a millisecond will pitch bend ;) Sep 02 22:45:28 yeah i can't actually validate whether your alogirhtm is inherently workable :) Sep 02 22:45:33 time stretch maybe Sep 02 22:45:34 i can only speak to the timing issues you require :) Sep 02 22:45:39 well time stretch sure Sep 02 22:46:00 which is more what i want anyway Sep 02 22:46:24 could playing the same msec twice each time also not 1/2 the speed? Sep 02 22:46:35 i wouldnt mind preserving the pitch anyway Sep 02 22:46:46 er 2x the speed rather Sep 02 22:46:56 im confusing myself Sep 02 22:46:56 :P Sep 02 22:47:06 playing it twice would have the speed.. skipping 1ms every 1ms would double it Sep 02 22:47:11 have/halve Sep 02 22:47:17 right :P Sep 02 22:47:25 that what im trying to do Sep 02 22:47:44 and seeing as we dont have direct access to the decoded audio data Sep 02 22:47:58 its going to sound a bit dodgy though.. and dont ask me how you change the speed that way, in non multiples of 2 Sep 02 22:48:09 ;) Sep 02 22:48:14 that would probably involve resampling as well Sep 02 22:48:36 right Sep 02 22:48:45 im just doing this as an exercise Sep 02 22:49:02 i should go to work :( Sep 02 22:49:08 ;) Sep 02 22:49:11 i should leave work Sep 02 22:54:09 regardless, you can detect the timing of both Android's event loop and the MediaPlayer as i mentioned above. Sep 02 22:54:13 if you're stil curious Sep 02 23:03:01 hmm Sep 02 23:03:09 yeah handler doesnt seem to be working for me Sep 02 23:03:36 i load up 10000 events, each a ms apart, and the handler increments the msec by 2 Sep 02 23:03:41 and seeks there Sep 02 23:03:48 no luck tho Sep 02 23:04:36 i should play twice as fast for the first 10 sec Sep 02 23:04:39 it* Sep 02 23:05:06 meh done for today Sep 02 23:05:07 later all Sep 02 23:09:45 if you post sample code i can help Sep 02 23:12:18 ok, so when I include a jar file that was built into the apk, do I need to make sure it is compiled differently in some way? Sep 02 23:18:01 no Sep 02 23:18:22 just make sure it was compiled into a bytecode format dalvik can consume Sep 02 23:20:49 ok Sep 02 23:21:14 and if it is having issues validating certain classes, has anyone narrowed down the exact cause? Sep 02 23:21:18 or how to fix it Sep 02 23:24:47 anybody have any experience getting oprofile to work on android? Sep 03 00:25:12 yawn Sep 03 00:27:59 anyone seen morrildl? Sep 03 00:28:13 nope Sep 03 00:35:33 dang i promised i'd get something to him a couple of days ago and spaced it Sep 03 00:35:36 working on it now Sep 03 01:03:28 argh.. no linux chrome!! :X Sep 03 01:03:45 i want to inflict violence upon google ;) Sep 03 01:03:53 no i dont.. i like chrome, but windows!? come on Sep 03 01:04:19 why not make me happy for once and release linux first.. and delay the windows/mac release.. do something controversial/impressive like that Sep 03 01:04:34 because it doesn't make sense :) Sep 03 01:04:35 because it wont impress anyone Sep 03 01:04:38 its always the linux users that have to be upset.. never the windows users.. Sep 03 01:04:45 there's actually source code you can download and compile for linux Sep 03 01:04:59 snadge: Windows users are upset every day... for different reasons Sep 03 01:05:11 like for using firefox or ie Sep 03 01:05:18 well i ran chrome on windows xp in virtualbox.. on ubuntu Sep 03 01:05:22 and it runs like poo Sep 03 01:05:32 i really dont feel like actually using windows to see if its any better Sep 03 01:05:43 I have been wanting a webkit browser for ages in windows Sep 03 01:05:52 I know safari for windows is..but its not that great Sep 03 01:06:14 so i've given google my email address to email me when the linux version of chrome is available ;) Sep 03 01:06:28 when its out of beta :P:P Sep 03 01:06:45 well the website gives me the impression that developers are working hard on it as we speak Sep 03 01:06:53 i'll go with that fantasy Sep 03 01:07:20 i couldn't give a stuff about the mac version of course ;) Sep 03 01:07:23 or the windows version Sep 03 01:07:41 only poor people use non free software Sep 03 01:07:46 I think ill stick to safari on mac Sep 03 01:07:58 I use opera on my windows box Sep 03 01:08:03 will be switching to chrome i think Sep 03 01:08:15 i use firefox 3.0.1 on my ubuntu machines Sep 03 01:08:32 and its been a bit unstable lately Sep 03 01:08:36 I hate firefox now Sep 03 01:08:42 ever since 2.0 Sep 03 01:08:47 bloatware Sep 03 01:08:58 hate is a strong word.. gecko is kind of showing its age and bloatedness Sep 03 01:09:15 the XUL interface is innovative.. but overly complicated way to put buttons on a browser Sep 03 01:09:25 the plugin interface is easily the best feature of firefox Sep 03 01:09:37 and worst Sep 03 01:09:52 well you can do practically anything with a plugin is what i mean Sep 03 01:10:00 XUL = overcomplicated like you say Sep 03 01:10:02 and people have.. a lot of people wont let go of firefox that easily, because of that Sep 03 01:10:17 I get the impression it was a "cool idea" and someone implemented it for fun Sep 03 01:10:49 and from what i can see.. chrome doesnt allow for the same kind of plugin flexibility.. which you can either intepret as a limitation, or a feature Sep 03 01:10:58 depending on what you want/expect Sep 03 01:11:00 I think the comic said its coming Sep 03 01:11:22 the problem I have with plugins is they add bloat Sep 03 01:11:30 obviously its your choice to install them Sep 03 01:11:33 from comments, i can see that people want an ad blocker Sep 03 01:11:39 which may be contrary to what google wants Sep 03 01:11:47 but since its open source etc.. most likely will happen anyway Sep 03 01:11:47 well I highly doubt google will be making one Sep 03 01:12:17 but at the end of the day, the people who install ad block are probably not the kind who click the ads anyway Sep 03 01:12:26 I certainly do not click ads Sep 03 01:12:42 but someone obviously does Sep 03 01:14:10 yeah most people just dont even see them Sep 03 01:14:31 or not pay attention to them Sep 03 01:14:39 I dont think its most people Sep 03 01:54:48 what is your favourite firefox add-on? Mine is Scrapbook Sep 03 01:55:23 i use ie tab at work :) Sep 03 01:55:26 all the time Sep 03 01:55:47 but clearly web developer and firebug are the best Sep 03 01:55:59 ...obviously ;) Sep 03 01:58:12 Ill have to try those next time I redo my vanity website Sep 03 01:58:49 I used seamonkey last time Sep 03 02:01:00 do any of you guys use the svn plugin for eclipse? It's telling me it can't find the svn client. Is there some client somewhere I have to download for it? Sep 03 02:01:13 km-: i do, occassionally. i have it set up anyway. Sep 03 02:01:33 you need to install the SVNKit client adapter, not the other one (JavaHL or something) Sep 03 02:01:59 oh ok Sep 03 02:02:03 was wondering Sep 03 02:02:18 i use subclipse Sep 03 02:02:35 yeah, that's what I've got, I just hit the javahl and left svnkit off Sep 03 02:02:39 since it said it was experimeintal Sep 03 02:02:52 er, yeah. assume I spelled that right. Sep 03 02:03:07 :) Sep 03 02:04:00 awesome Sep 03 02:04:08 works now Sep 03 02:08:14 ooh Sep 03 02:08:32 this code mentions X11.. Sep 03 02:10:44 wow. Heh. I'm on ssh thru the android emulator. hot. Sep 03 02:11:15 ad Sep 03 02:11:25 hmm, can't send disconnect code for screen tho :) Sep 03 02:49:35 hmmmmmm Sep 03 02:49:38 this is really weird. Sep 03 02:49:46 i think i have a MUCH more serious bug here than i realized with my instrumentation stuff Sep 03 02:50:04 i coded up a simple demonstration and it worked just fine, so i started trying to analyze the difference between my real test and my dummy one Sep 03 02:50:13 and i noticed this: Sep 03 02:51:39 W/ActivityManager( 49): Crash of app org.devtcg.five running instrumentation ComponentInfo{org.devtcg.five.tests/android.test.InstrumentationTestRunner} Sep 03 02:51:42 D/ActivityManager( 49): Uninstalling process org.devtcg.five Sep 03 02:51:44 I/Process ( 49): Sending signal. PID: 600 SIG: 9 Sep 03 02:54:26 hey Sep 03 02:54:56 for some reason my emu doesn't have API tools Sep 03 02:55:07 i've tried redownloading several times Sep 03 02:55:18 squeakypants: yes, it does. Sep 03 02:55:27 jasta: what am I doing wrong? Sep 03 02:55:44 squeakypants: i can't say because you haven't told me what you are doing. Sep 03 02:55:55 i run tools/emulator.exe Sep 03 02:55:59 after it loads Sep 03 02:56:09 i click the button on the bottom to see my apps Sep 03 02:56:19 and there's 3 rows of apps, with the 3rd row only having 3 apps Sep 03 02:56:36 that sounds about right. Sep 03 02:56:38 what did you expect? Sep 03 02:57:11 isn't the 2nd app supposed to be "API Tools"? Sep 03 02:57:52 like this http://i37.tinypic.com/2s7ytd4.jpg Sep 03 02:57:56 API Demos is one such application, which you would have if you ran emulator -wipe-data Sep 03 02:57:59 sorry, API Demos Sep 03 02:58:10 aha Sep 03 02:58:13 thank you :) **** ENDING LOGGING AT Wed Sep 03 02:59:57 2008