**** BEGIN LOGGING AT Sat Nov 22 02:59:56 2008 Nov 22 03:05:47 I'm looking for 1) Something that does a simple POST request to dump data to a server 2) something that does a simple multipart HTTP upload request to dump something to a server Nov 22 03:05:56 opensource code snippet or something Nov 22 03:06:51 obviously 1) and 2) do not need to be the same code snippet or even the same program; i just need *some example* of the above Nov 22 03:09:21 check out anddev.org Nov 22 03:09:40 multipart upload tutorial was added today Nov 22 03:09:45 POST has been up there for a while Nov 22 03:10:10 umdk1d3: you here? Nov 22 03:19:43 ismarc: are you sure that multipart tutorial was added today? Nov 22 03:19:48 it looks like it was posted on oct 04 Nov 22 03:22:54 hello. Nov 22 03:23:25 hi Nov 22 03:23:39 how's it goin? Nov 22 03:24:11 ouch... froze Nov 22 03:24:51 theCarpenter: maybe it was just updated today, I just saw it on "view posts since last visit" Nov 22 03:27:38 ismarc: gotcha Nov 22 04:15:14 hi! Nov 22 04:15:21 hello Nov 22 04:15:24 I'm booting android for the first time Nov 22 04:15:43 but I'm stuck Nov 22 04:15:46 http://pastebin.com/m43527a63 Nov 22 04:15:47 any idea Nov 22 04:15:49 ? Nov 22 04:16:33 youre booting it on what? Nov 22 04:16:48 it looks to me like /system and /data are not at all right. or /, even. Nov 22 04:17:06 i'm booting on a omap2 board Nov 22 04:17:23 well, it definitely looks like you've not set up /data or /system as it expects. Nov 22 04:18:19 I just copy /data and /system to the initramdisk Nov 22 04:18:35 the initramdisk just have /init Nov 22 04:18:50 and empty /dev plus other things Nov 22 04:18:57 everything was in /system Nov 22 04:21:49 here is what I got in those dirs: http://pastebin.com/m6b254b3 Nov 22 04:22:21 \/data is empty Nov 22 04:22:34 data shouldnt be empty... Nov 22 04:22:47 (i dont think *grin*) Nov 22 04:23:27 hmm, I just compiled the android src code, was busy all this week with the kernel Nov 22 04:23:37 and now that boots something is missing :) Nov 22 04:23:48 mornin fellas Nov 22 04:23:59 mornin Nov 22 04:24:03 jasta: what's up? Nov 22 04:24:06 solca: hi Nov 22 04:24:56 i'm thinking about a twitter like app for g1 Nov 22 04:25:11 muthu_: or say just an interface to twitter? Nov 22 04:25:25 theCarpenter: no not an interface to twitter Nov 22 04:25:25 id be surprised if it hasn't been done already Nov 22 04:25:43 take the twitter idea and apply to something useful ;) Nov 22 04:25:49 http://stuffthathappens.com/blog/2008/11/01/browsing-android-source-in-eclipse/ -- hmm, this is interesting Nov 22 04:25:53 though apparently doesn't work. hmm. Nov 22 04:26:02 Hrm... if only twitter had a way to send arbitrary text messages to phones. Now that would be a great idea! Wait... Nov 22 04:26:22 hello Nov 22 04:26:24 twitter can be channelised imo Nov 22 04:26:43 twitter is a glorified message passing system Nov 22 04:26:57 right, can we make use of it for business? Nov 22 04:26:57 i'm not quite sure what you want here Nov 22 04:27:09 muthu_: can you make use of >message passing> for business... Nov 22 04:27:23 here's what i'm thinking: Nov 22 04:27:25 muthukrishnan Nov 22 04:27:32 theCarpenter: heh Nov 22 04:27:38 muthuxxxxx Nov 22 04:27:57 i know ten academics with that last name =] Nov 22 04:28:03 lol Nov 22 04:28:32 and another ten corporate programmers and sysadmins with the same Nov 22 04:28:32 so back to twitter.. Nov 22 04:28:35 anyway continue :) Nov 22 04:28:47 muthu is the most common name in tamilnadu Nov 22 04:29:11 >back to twitter Nov 22 04:29:30 why can't we use twitter for jobs? Nov 22 04:29:48 you know connect the employer <==> employee.. Nov 22 04:29:52 that's my line of thinking Nov 22 04:29:55 because you dont want confidential information sitting in a cloud service Nov 22 04:29:59 the idea itself is fine Nov 22 04:30:06 but you want some internal message passing system with a good web interface Nov 22 04:30:11 ok, make it secure/private.. yada yada Nov 22 04:30:17 indeed! Nov 22 04:30:24 how does im work in g1? i dont own one yet Nov 22 04:30:31 that's what i was thinking.. secure private twitter Nov 22 04:30:36 to connect people Nov 22 04:30:36 itshould support different models - publish-subscribe, push-to-box, etc Nov 22 04:30:50 muthu_: It almost seems like you want a Simple Message Transfer Protocol Nov 22 04:30:57 lol Nov 22 04:31:01 :P Nov 22 04:31:04 does it keep a xmpp connection open at all times? Nov 22 04:31:11 meh.. smtp is so old school.. Nov 22 04:31:32 people like twitter Nov 22 04:31:45 twitter is just a new interface on an old idea Nov 22 04:31:54 twitter for jobs, movies, dining.. Nov 22 04:31:56 whatever Nov 22 04:31:56 just use SMTP and tack on a social interface and you're set Nov 22 04:32:07 you're discussing interfaces and use patterns Nov 22 04:32:17 that's an entirely different world than the underyling protocols/tech Nov 22 04:32:19 what do you think? Nov 22 04:32:26 * jasta checks out mobeegal *hehe* Nov 22 04:32:28 your idea is a good one, just be aware of exactly what you're trying to do Nov 22 04:32:28 yeah, forget about protocol/tech Nov 22 04:32:47 jasta: the new idea will replace mobeegal Nov 22 04:32:53 people try and reinvent wheels because they're convinced their idea is so awesome that noone could possibly have thought about it before Nov 22 04:32:54 i'm just poking fun Nov 22 04:33:02 haha.. i know Nov 22 04:33:10 anyway im off gentleman Nov 22 04:33:53 jasta: what you think of this twitter idea? Nov 22 04:35:31 i haven't been listening, but i'm sure in your usual fashion you are just firing at random hoping to get traction rather than thoughtfully working through real problems. Nov 22 04:35:50 very thoughtful Nov 22 04:36:08 there exists a real problem Nov 22 04:36:13 spare me Nov 22 04:36:18 heh Nov 22 04:36:28 its weekend jasta! Nov 22 04:37:36 jasta: what's a good whiskey to try? Nov 22 04:40:27 wow, repo sync went from 1.4 to 2.6.27 Nov 22 04:42:37 actually, 1.4 is the repo version, 2.6.27 is the linux version. Nov 22 04:42:44 oh ok Nov 22 04:42:51 lot of activity today Nov 22 04:43:26 someone went on a tag spree Nov 22 04:44:07 jbq: you have a lot of experience with HttpClient, right? I'm having a very strange issue that I can't figure out. Nov 22 04:44:54 jasta: I have a little bit of experience, yeah. Nov 22 04:45:52 it would seem that my aborted requests are not getting reabsorbed into the connection pool, causing the third and all subsequent requests to block in HttpClient#execute Nov 22 04:46:32 specifically they block in ConnPoolByRoute#getConnection, waiting for a connection to become available Nov 22 04:47:45 in my abort code, i merely call HttpMethod#abort(), then in the download thread i call the equivalent to HttpEntity#getEntity()#close Nov 22 04:47:59 err HttpEntity#close :) Nov 22 04:48:12 or something. no, it's getContent(). anyway... Nov 22 04:48:36 according to the HttpClient docs, that is all you should need but something clearly isn't working right Nov 22 04:48:55 i was hoping to debug it more aggressively but i can't figure out how to attach source to the Android eclipse plugin. Damn :) Nov 22 04:48:55 You might need to close() them as well, though I'm not sure. I don't think that my code tries to execute more than one request per client, so I don't run into those isses. Nov 22 04:49:00 s/isses/issues/ Nov 22 04:49:01 jbq meant: You might need to close() them as well, though I'm not sure. I don't think that my code tries to execute more than one request per client, so I don't run into those issues. Nov 22 04:49:45 jbq: and i wasn't running into it when i did the same. but according to the HttpClient devs, reusing the HttpClient instance is important for performance, and in my case it matters since i have the opportunity to reuse the connections Nov 22 04:50:09 close() what btw? I am definitely closing the InputStream returned by HttpEntity#getContent Nov 22 04:50:32 I don't remember, it's been many months since I did this. Nov 22 04:50:35 :( Nov 22 04:50:47 well, i think i could probably be more productive if i could interactively debug Nov 22 04:50:53 any idea how to attach the source to Eclipse? :) Nov 22 04:51:12 Nope, I've never used Eclipse. Nov 22 04:51:32 sigh, normally it's quite easy but the android plugin disables that functionality Nov 22 04:52:24 Jasta, I don't know how with Eclipse, however, I can get you pointed in the right direction Nov 22 04:52:32 ? Nov 22 04:52:36 jdb -sourcepath$WORKING/src -attach localhost: Nov 22 04:52:49 that'll attach the java debugger to the running package Nov 22 04:52:59 and with your sourcepath, voila Nov 22 04:53:17 hmm. Nov 22 04:53:33 i think it might be more productive to try to look at the android eclipse plugin, which apparently h as some support for this it's just totally undocumented Nov 22 04:54:59 hi guys, Im writing a basic app that reacts when the phone takes a picture Nov 22 04:55:23 b0nn: what it does? Nov 22 04:55:33 i want to know where i find info about when a phone takes a pic, ie. what signals are available Nov 22 04:56:14 muthu_: nothing fancy, it's a practice run to learn about android Nov 22 04:56:38 just for the moment I need to detect that a picture has indeed been taken Nov 22 04:57:44 b0nn, I'd start by looking at the Camera app source, but maybe I'm just a masochist :) Nov 22 04:58:42 are there no ways to interrogate the OS for events? Nov 22 04:58:49 or to be alerted of events? Nov 22 04:59:26 events are all done through broadcast listeners Nov 22 04:59:41 ok Nov 22 04:59:57 could you point me toward some quality documentation on those? Nov 22 05:00:14 the only documentation is android.com Nov 22 05:00:28 the api that comes with your sdk Nov 22 05:10:44 jasta: sigh, normally it's quite easy but the android plugin disables that functionality << I asked our SDK guys and apparently Eclipse doesn't make that easy and/or obvious to do Nov 22 05:10:53 it's not on purpose Nov 22 05:11:21 romainguy: well, there seems to be some feature here to make it work Nov 22 05:11:24 i just cant understand the magic Nov 22 05:11:33 IClasspathEntry classpathEntry = JavaCore.newLibraryEntry(android_lib, Nov 22 05:11:33 android_src, // source attachment path Nov 22 05:11:41 and i found this: Nov 22 05:11:43 http://stuffthathappens.com/blog/2008/11/01/browsing-android-source-in-eclipse/ Nov 22 05:11:47 but it doesn't work for me and i don't know why Nov 22 05:12:52 i think at that point it's just that eclipse expects me to do something i'm not doing. not sure how to work through that :) Nov 22 05:15:08 don't use Eclipse :) Nov 22 05:15:15 or don't use the plugin :p Nov 22 05:15:24 i'm gonna try to figure it out :) Nov 22 05:16:43 jasta: set a normal java project and debug Nov 22 05:23:33 If I want to have something constantly poll a resource (... tail a file, poll a webserver... etc) - and then pass a very simple update to the UI - I take it I should use a service, right? What's the lightest weight way to pass data from that service to the UI layer? a static variable? Nov 22 05:24:06 RyeBrye: you only need a service if you care that this operation lives longer than the activities would normally. Nov 22 05:24:19 jasta: something that may fix your HttpClient issue (I'm not sure, haven't used the connection pool stuff with httpclient at all yet) is to do an HttpClient.getConnectionManager().releaseConnection() for the one you want to abort Nov 22 05:24:43 ismarc: yeah im aware of that method, but i had thought (and httpclient's documentation *seems* to confirm) that it is unnecessary now. Nov 22 05:25:12 that just calling close() on the InputStream rturned from HttpEntity#getContent was equivalent now Nov 22 05:27:07 jasta - so if I don't need a service (since I don't care if it runs in the background longer than the activity) - should I just use a timertask or something to do the polling? Nov 22 05:27:32 i'd just use a worker thread that is doing a sleep. Nov 22 05:27:43 Ok, sounds simple enough. Nov 22 05:27:55 jasta: or use an alarm Nov 22 05:27:58 but do realize that if the CPU falls asleep, your sleep isnt going to return until it wakes back up again. Nov 22 05:28:09 yeah, this wont be too crucial Nov 22 05:28:14 romainguy: well, they're not interchangable. you use one for one sort of task and the other for another. Nov 22 05:28:17 not for this basic app I'm toying with at least Nov 22 05:28:29 jasta: if you need to do something periodically an alarm is as good as it gets Nov 22 05:29:04 romainguy: as i said, they solve different problems. alarms wake the cpu, sleeps and waits do not. it isn't a good idea to just use alarms without thinking about what you want. Nov 22 05:29:30 in his case, if the cpu sleeps, he probably doesnt want to wake it to poll a file to update a screen the user isn't looking at Nov 22 05:30:07 so if that's true, a non-realtime timer (as with Thread#sleep) would be much better. Nov 22 05:30:29 I'm realizing now how woefully un-savvy I am with threads :) Nov 22 05:31:25 does an handler wake up the cpu? Nov 22 05:31:30 jasta: I agree, I just didn't look at what was needed :) Nov 22 05:32:08 * RyeBrye wonders if some apps on his phone are using alarms improperly... because his cpu seems to never sleep Nov 22 05:32:24 RyeBrye: you can check the cpu sleep time in the phone info screen Nov 22 05:32:52 i thought the apm sucked on the g1? Nov 22 05:33:08 romainguy: Right now my asleep time is 340917:10:45.... I'm not quite sure that is correct Nov 22 05:33:10 muthu_: no, handlers use non-realtime timers (wait, in particular) Nov 22 05:33:20 ok, thx Nov 22 05:33:33 My uptime is 340925:33:20 :) Nov 22 05:33:35 RyeBrye: what is the awake time percentage? Nov 22 05:33:55 muthu_: to my knowledge, the only realtime timer in android is with the AlarmManager service. so, everything else you should assume does not wake the cpu. Nov 22 05:34:01 romainguy - well... since the awake time seems to be the only one being listed properly it is 0% since it's got 8:23:02 awake time Nov 22 05:34:20 I'm talking about what's reported in Settings > About Phone > Status Nov 22 05:34:24 jasta: ok Nov 22 05:34:28 Oh, I'm in device info Nov 22 05:35:13 peoples, anyone care to give some tips of changing G1 startup logo (not android logo)??? Nov 22 05:35:34 muthu_: generally, that's a good thing. and something you ought not concern yourself with. Nov 22 05:36:40 only in special circimustances would you actually want to use an AlarmManager instead of another simpler timing mechanism. for instance, if you were implementing a connection keep-alive, you would need an AlarmManager because you really mean to run your code in x minutes, not whenever the phone feels like it. Nov 22 05:37:22 similarly if you wanted to retry failed downloads in the background. you would need an alarmmanager Nov 22 05:37:34 romainguy - this is the screenshot of my device info: http://www.ryebrye.com/images/strange_uptime.png but don't think too much of whatever is causing that strange error... It's probably something unique to my phone Nov 22 05:37:40 speaking of which, we're thinking of changing AlarmManager to gather several alarms together Nov 22 05:37:59 It's unlikely that I have had my phone on for 38 years Nov 22 05:38:06 (as my uptime seems to think) Nov 22 05:38:11 for instance you would just say that you need an alarm every day, or every hour and the manager would try to wake all apps at the same time Nov 22 05:38:37 romainguy: while you're at it, make a keep-alive alarm :) Nov 22 05:38:38 RyeBrye: what does the other screen say? the Status screen? Nov 22 05:38:46 so i can wake my app up at the same time GTalk does ;) Nov 22 05:38:52 lazy :p Nov 22 05:39:12 romainguy - same thing Nov 22 05:39:41 I'm thinking somehow my phone thinks it was booted at 0, because it's been 38 years since 1970, right? Nov 22 05:39:45 RyeBrye: since you rooted and played with the firmware I blame you :)) Nov 22 05:39:57 Yeah, It's almost definitely my fault :) Nov 22 05:40:14 I'll go back to stock stuff later Nov 22 05:41:27 jasta - worker threads look really easy, thanks for the direction Nov 22 05:41:49 i didn't actually imply any particular class by hte way. Nov 22 05:41:53 i just meant a thread which does work :) Nov 22 05:42:19 a thread that possibly all your activities can share in some way. Nov 22 05:42:21 Yeah, I know :) but I just realized I can do it all with an inner class very easily Nov 22 05:42:24 or maybe not, depends on your design i suppose Nov 22 05:42:35 RyeBrye: btw, i have implemented tail :) Nov 22 05:42:47 RyeBrye: btw, if you need a worker thread that talks to the UI, I suggest you to look at the UserTask in Photostream's source code Nov 22 05:42:48 Jasta - where is tail implemented? Nov 22 05:42:59 romainguy - sounds good, I'll go check that out Nov 22 05:43:03 (part of a future version of Android, under the name AsyncTask) Nov 22 05:43:04 http://code.google.com/p/five/source/browse/trunk/five-music/src/org/devtcg/five/music/util/streaming/TailStream.java Nov 22 05:44:06 this class is particular to Five, of course, but i'm sure you could learn something from it Nov 22 05:44:19 Yes, that is helpful Nov 22 05:44:22 thanks Nov 22 05:44:52 i encapsulate it as an InputStream so that i can just do blocking reads from it elsewhere. i expect your usage will want to be a bit different Nov 22 05:45:05 in particular, you'd probably want a handler to communicate with the activity that some new data is available Nov 22 05:45:10 or something. it's up to you :) Nov 22 05:48:06 romainguy: lol, i feel so stupid. my issue attaching the source was that i just didn't hit refresh on the library after i followed that guys howto... Nov 22 05:48:12 lol Nov 22 05:48:22 i restarted eclipse, which is what i assumed to be sufficient Nov 22 05:48:53 * RyeBrye has been bit by the eclipse refresh thing more than once Nov 22 05:49:08 well this is pretty convenient now. i get android source code in eclipse :) Nov 22 05:54:34 jasta: what's the status on your email changes btw? Nov 22 05:54:37 romainguy - so if I'm doing something that will just post strings out of a file using userTask - but will do it indefinitely, it'd just be setting up a Usertask right? Nov 22 05:55:10 yes Nov 22 05:55:14 you use the progress values Nov 22 05:55:19 except the types are Void not void Nov 22 05:55:35 ok Nov 22 05:55:48 yeah, that UserTask looks pretty slick Nov 22 05:55:51 you should get a raise Nov 22 05:55:52 ;) Nov 22 05:56:47 romainguy: currently working, but not yet finished. i need to fix 2 more known bugs and finish merging everything into a separate process Nov 22 05:57:41 i have been talking with someone who has more experience with IMAP than I and has given me a few useful suggestions to handling the connection failure case though. i think i might integrate his suggestions this weekend to fix 1 of those known bugs. Nov 22 05:58:15 splitting the process will be a big pain though, and i'm not sure it's wise to do yet. stadlero (sp?) has cautioned me about pretty big upcoming changes being merged in Nov 22 05:58:28 sp? Nov 22 05:58:32 spelling Nov 22 05:58:39 ah yes Nov 22 05:58:41 Andy Stadler Nov 22 05:58:54 we are working hard to get our mainline onto git Nov 22 05:59:02 we finally have a perforce branch with the git layout Nov 22 05:59:21 it's pretty damn annoying to juggle between the old p4 layout, the new p4 layout and git :) Nov 22 05:59:35 yeah, so i'm thinking i might put all the functional changes i need together and wait for that big dump to come. then work on splitting the processes. Nov 22 06:00:14 the latter issue isn't really hard to do it's just that the diff is going to be nightmarish. just copying code around mostly. Nov 22 06:00:29 yeah tell me about it Nov 22 06:00:53 I have two branches with big changes in Home that make each merge a real pain in the ass Nov 22 06:01:11 my gf is going to be gone for 3 weeks in December for her work, so i bet all of these things will get done then :) Nov 22 06:01:37 jasta: we need to send your gf on vacation, to make your productive :)) Nov 22 06:02:40 romainguy: the design of IMAP is somewhat unfortunate when combined with android's wifi behaviour Nov 22 06:02:52 we should fix the IMAP RFC then ^^ Nov 22 06:02:56 in particular, each time the idling connection is broken and restored, i need to perform part of a full sync. Nov 22 06:03:17 with wifi on, this means each time the phone sleeps and wakes back up this will happen Nov 22 06:03:17 I know there are changes that are going on with WiFi, I don't know if that's gonna help you though Nov 22 06:03:59 i think what i will do is implement some sort of throttling feature. so that it will only do the partial resync so many times per hour Nov 22 06:04:27 if you can make a push that doesn't suck the battery out I'm sold Nov 22 06:04:34 or maybe ill just say "if you use wifi, your battery life will be sucky." :) Nov 22 06:04:35 I had to disable push email on my iPhone Nov 22 06:04:46 it was just awful Nov 22 06:04:54 it would drain the battery on EDGE in half a day Nov 22 06:05:10 romainguy: it's a really hard problem to solve, but it can be done. it works best, of course, if you dont get emails that frequently Nov 22 06:05:19 true Nov 22 06:05:33 but I'm talking about an account that didn't get that many emails per day Nov 22 06:05:37 20 to 50 Nov 22 06:05:43 hence the suck Nov 22 06:05:47 the best thing you can do is just optimize the hell out of the case when idle wakes you up Nov 22 06:05:57 yep Nov 22 06:06:22 well i get about 20 to 50 a day and i can say my code at least beats your experience with the iphone :) Nov 22 06:06:33 I certainly hope so Nov 22 06:06:37 the iphone probably lazily is performing a partial resync each time its woken up Nov 22 06:06:42 because I get in the hundreds a day on my gmail account Nov 22 06:07:34 one thing that can be done is to avoid waking yourself up until some short period after you are tickled Nov 22 06:07:55 that is, when you are alerted to a new message, wait a minute, then react. this helps for the case when you get flooded with lots of messages all at once. Nov 22 06:08:19 i can tell the gmail app on android does this. either that or its really slow ;) Nov 22 06:08:27 you can see it get tickled and then like a minute later say something about it Nov 22 06:09:05 waiting for a minute (or more) seems like a sensible approach Nov 22 06:09:11 it's not like you need this to be true realtime Nov 22 06:09:26 anyway, decent battery life with push e-mail is a possibility. i will do my best ;) Nov 22 06:09:29 and with high frequency mail account like the ones we have at google, that must help a lot Nov 22 06:09:49 however, the _best_ possible battery utilization would happen only if GTalk and my/other apps could share the CPU :) Nov 22 06:10:07 *hint hint* Nov 22 06:10:09 if its's high frequency, wouldn't pull email on a regular schedule work ok? Nov 22 06:10:53 RyeBrye: that's up to the user to decide. personally i would find that on a high volume inbox i'd rather not have my phone use push. i would find it pretty annoying :) Nov 22 06:13:03 it is annoying :) Nov 22 06:13:21 actually I have to admit I don't find push email that useful Nov 22 06:13:32 a 30 minutes/1 hour pull frequency works great for my use Nov 22 06:13:43 guys, in android mtd2 image there is a file logo.rle, anyone know what that file is??? is it the first boot G1 logo???? Nov 22 06:13:56 romainguy: really, you guys should consider offering a way for apps to hook into a reasonable alarm to avoid connection resets. Nov 22 06:14:05 file a feature request Nov 22 06:14:14 I do pixels and widgets :) Nov 22 06:14:23 this way the platform could abstract network-specific details which developers are unlikely to ever acquire Nov 22 06:14:27 :) Nov 22 06:14:27 hehe Nov 22 06:17:55 bbl, back to fixing my busted HttpClient usage :) Nov 22 06:22:45 ohhhh, interesting :) Nov 22 06:23:27 source code sure did help a lot on that one. stumbled upon a comment while stepping that tells me exactly why my usage is wrong Nov 22 06:24:01 if you call HttpMethod#abort from a separate thread in order to unblock the I/O, you still must also call the same method on the same object in the downloading thread Nov 22 06:24:27 you mean you need to call abort() from both threads? Nov 22 06:24:29 the method behaves differently depending on which thread its called from. only in the connection thread will it release the connection. Nov 22 06:24:56 romainguy: yes, abort() from a separate thread will merely unjam the blocking thread. called from the jammed thread, it will release the connection. Nov 22 06:25:22 it will throw an IOException, which you are required to respond to with method.abort() Nov 22 06:25:40 I have to admit HttpClient is powerful Nov 22 06:25:44 but I don't like the APIs Nov 22 06:25:48 i thought i was being clever by saying if isAborted == false, abort Nov 22 06:28:17 hah, market comments got disabled? Nov 22 06:30:36 * jasta tests... Nov 22 07:04:10 romainguy: as it turns out, i think you are are actually not supposed to call HttpMethod#abort again, but rather in the case that you shutdown from a separate thread you must work out your own way to call releaseConnection Nov 22 07:04:38 which is pretty bizarre to me, but whatever Nov 22 07:05:11 normally they provide a handler ofr IOException, calling checkAbort which will abort and release your connection Nov 22 07:05:40 it checks if the connection has already been aborted and does nothing if it has. your separate thread sets this flag, so the only thread that could handle releasing the connection won't do it. Nov 22 07:05:59 very odd Nov 22 07:06:13 i realize now that their example is not like mine, because their example is single threaded Nov 22 07:32:27 romainguy: i give up, im calling this a bug in HttpClient :\ Nov 22 07:32:45 im gonna just detect this case specially (abort) and tear down the whole HttpClient instance. Nov 22 07:53:27 hi there. i'm not sure if there'll be some guide on hacking android's source Nov 22 07:53:29 ?? Nov 22 08:12:57 romainguy - that UserTask is really sweet Nov 22 08:13:13 romainguy - thanks :) I think it does exactly what I was looking for :) Nov 22 08:13:46 glad you like it Nov 22 08:15:02 It's perfect for those of us who are thread-retards :) Nov 22 08:15:26 to me it was useful mostly to avoid having Handlers all over the place Nov 22 08:16:20 Yeah, that's nice about it too Nov 22 08:16:48 I'm just doing a basic throw-away app now to get my feet wet, but I'll definitely use that more when I start doing real apps Nov 22 08:17:57 I need to finish my app @!# Nov 22 08:18:09 Which app? Nov 22 08:19:18 http://progx.org/users/Gfx/shelves.mp4 Nov 22 08:19:53 (this version had drawing bugs) Nov 22 08:29:41 yes, you do Nov 22 08:29:54 :) Nov 22 09:09:28 <[ShadowGhost]> yoooo Nov 22 10:06:37 romainguy: you there? Nov 22 10:07:14 * RyeBrye finished making a drawing app that will track two fingers... (kind of) and is off to bed Nov 22 10:07:36 i hate multitouch actually :) Nov 22 10:07:50 I want it for zoom, and that's about it Nov 22 10:07:54 i played with it just yesterday on an iphone and i think it is awkward Nov 22 10:08:01 oh, and 2-player air hockey Nov 22 10:08:37 Yeah, it's not the pinnacle of human existence or anything, but it's nice to have in some situations Nov 22 10:09:12 I hate those damn zoom buttons on the browser... I frequently have to interact wth stuff that they cover up so I have to scoot the page over just to hit a submit button or something Nov 22 10:09:18 jasta: yup? Nov 22 10:09:28 I don't like multitouch either Nov 22 10:09:29 romainguy: i'm curious for your opinion on something Nov 22 10:09:34 it's nice when you try it Nov 22 10:09:39 then never use it again :) Nov 22 10:09:47 the only multitouch I like is two fingers to scroll with a trackpad Nov 22 10:09:52 jasta: sure, shoot Nov 22 10:10:11 i've been thinking about downloading thumbnails during ifve's initial sync (instead of the full sized versions), and downloading the full-sized versions async when it needs to display album art Nov 22 10:10:20 sounds good Nov 22 10:10:31 except the problem is that five of course might be also trying to stream the music you chose Nov 22 10:10:40 so you certainly wouldnt want to steal bandwidth away from that Nov 22 10:10:52 what size of thumbnail were you thinking about? Nov 22 10:10:59 1920 x 1080? Nov 22 10:11:01 ;) Nov 22 10:11:04 * RyeBrye runs off to bed Nov 22 10:11:13 romainguy: the thumbnails are 64x64, full-sized are 300x300 Nov 22 10:11:13 because a 64x64 jpg should use little bandwidth Nov 22 10:11:31 especially if you use high levels of compression Nov 22 10:11:32 but the full-sized ones would be the ones that need to be downloaded on demand, as with potentially the music itself. Nov 22 10:12:23 what if you use a low priority thread? Nov 22 10:12:34 it will take time to download the art, but that's not the most important thing Nov 22 10:12:35 would that mean anything? Nov 22 10:13:03 without knowing anything about your scheduler, i would be surprised to find that it could impact low speed download performance Nov 22 10:13:21 we do use priorities in mainly places Nov 22 10:13:22 the issue is forcing the radio to compete between downloading album artwork (not important) and streaming music (very important) Nov 22 10:13:33 I know a lot of work went into the scheduler to give us better control on the threads Nov 22 10:14:24 hmm. i would be surprised if that could do anything meaningful generically Nov 22 10:15:06 could you cook a quick test? Nov 22 10:15:18 possibly. i might have to do that. Nov 22 10:15:57 the initial sync still has to download something like 25MB worth of artwork for my collection (70GB of music). which is a lot :) Nov 22 10:16:12 on 3G it's not that much Nov 22 10:16:27 the total throughput ends up being about 32MB with database. Nov 22 10:16:49 but i suppose t-mobile's 3g is about 700-900kbps, so that would be... Nov 22 10:17:07 well I regularly download 50 MB podcasts in the shuttle in the morning Nov 22 10:17:13 and listen to them in the shuttle when the download is over Nov 22 10:17:25 and that's on a shuttle driving on the highway Nov 22 10:18:10 hmm. how long does that take usually? i just calculated my case to be about 6 minutes... Nov 22 10:18:29 hmm in my case, because it switches to edge from time to time, it takes about 20 minutes Nov 22 10:18:38 which I would find tolerable for a first time sync Nov 22 10:18:47 depends on what you want the user experience to be Nov 22 10:19:00 I personally wouldn't mind doing the first sync over WiFi for instance Nov 22 10:19:09 yeah i suppose Nov 22 10:19:11 anyway, time to go to bed Nov 22 10:19:14 good luck :) Nov 22 10:19:15 night Nov 22 12:05:10 HI Nov 22 12:36:36 hi Nov 22 13:07:04 chillen Nov 22 13:54:35 ? Nov 22 13:57:51 what Nov 22 13:58:44 in connectbot, how do i detach a screen? (ctrl-a d) Nov 22 13:58:52 are there any IRC clients for android? Nov 22 13:59:12 eldenz: I remembered seeing that as the Picture key Nov 22 13:59:33 "picture key" = ? :) Nov 22 14:00:35 ah figured it out :) Nov 22 14:00:44 trackball == ctrl Nov 22 14:00:46 was it the trac Nov 22 14:00:47 yea Nov 22 14:01:00 thx Nov 22 14:02:18 for my question, I suppose there's irssi Nov 22 14:02:41 yeah.. i think the only way is connectbot+ssh+irssi Nov 22 14:08:56 http://www.blackberryforums.com/1178272-post50.html Nov 22 14:08:59 weak. Nov 22 14:12:17 comments disabled in the Market? Nov 22 14:15:38 any musthave apps besides connectbot? ;> Nov 22 14:19:03 "must have" is relative. I find the Countdown Alarm++ to be very handy. Nov 22 14:19:21 I use it a number of times a day Nov 22 14:19:38 The pricing comparison apps are also handy Nov 22 14:19:53 or at least have been for me Nov 22 14:20:30 if you use imap email, get jasta's mail client with impap idle Nov 22 14:20:37 *imap Nov 22 14:20:52 languish Nov 22 14:20:58 sup Dialekt Nov 22 14:20:58 how you holding up so far with android? Nov 22 14:21:02 I failed Nov 22 14:21:04 with the STORM Nov 22 14:21:05 :( Nov 22 14:21:12 I'm enjoying the ride, but it's a rollercoaster for sure Nov 22 14:21:38 i bet less of a roller coaster than the STORM Nov 22 14:21:46 seems like it was more mature out of the box Nov 22 14:21:50 just based on general feedback Nov 22 14:22:05 right now I just consider it a "fun" device with a few useful features, but I don't feel it's a reteail-ready device. Nov 22 14:22:11 the G1 anyway Nov 22 14:22:53 yeah, I've seen some negative reviews of the storm. I'm pretty suprised Nov 22 14:23:41 *surprised Nov 22 14:24:07 yeah..i have it right here Nov 22 14:24:13 kinda sad about it but whatever.. Nov 22 14:24:17 i need to try 2 more devices. Nov 22 14:24:23 g1 and nokia 5800 Nov 22 14:24:31 what exactly about is has disappointed you? Nov 22 14:24:32 I'm surprised too. It looks like a very nice device, and RIM has come a long their their software. Nov 22 14:24:41 besides the touch screen not being accurate enough Nov 22 14:25:13 (which I find is an issue on the G1 too, but that's more dependant on UI right now) Nov 22 14:25:29 buttons/selectable items need to be large enough Nov 22 14:25:57 some devs make them too small for fingers.. need a stylus, which the G1 isn't really intented to use Nov 22 14:26:10 *intended Nov 22 14:28:36 did u read? Nov 22 14:28:50 the post i posted? Nov 22 14:28:55 or u on your device? Nov 22 14:29:07 is the v1.2 update any slower/faster Nov 22 14:29:32 ah that was your post, noted Nov 22 14:29:44 languish: is that specifically about applications that come with the phone, or 3rd-party applications that you downloaded from market or other places? Nov 22 14:30:00 (I mean, the controls that are too small) Nov 22 14:30:29 jbq currently, mostly 3rd party apps. offhand I don't remember finding it to be an issue with the included apps or interface Nov 22 14:30:48 jbq, have you taken a look at the netwalk game in the Market? Nov 22 14:30:52 That's a good example. Nov 22 14:31:27 languish: I haven't seen that specific one. The core reason is that a mouse on a 100dpi screen (typical computer) is a lot more accurate than a finger on a 160dpi screen. Nov 22 14:31:38 Yes, I know :) Nov 22 14:32:16 it'd be nice if the emulator had an option to shrink the screen by 1.6x and use a fat 1/2" cursor (possibly with a bit of jitter in the click detection) Nov 22 14:32:16 This specific issue would be resolved with a stylus. (I know I can get a capacitive friendly one) or better UI design Nov 22 14:33:30 nod Nov 22 14:33:44 the real problem comes up in apps with small grids Nov 22 14:35:09 I've helped a couple of devs also along the way that had buttons that were too small. even with nothing else selectable around the button, if it were too small, it just wasn't being recognized every time when pressed Nov 22 14:36:19 regardless that the finger would cover the whole button. (the fact the figer likely was touching non-selectable space round the button due to its size, was likely why it wasn't being selected) Nov 22 14:37:05 but you'd know more about it than me. they just had to increase the button size and tweak their layout a bit and the problem was fixed Nov 22 14:37:53 languish, aye @ price comparison... Nov 22 14:38:05 eldenz :) Nov 22 14:38:12 what was the name again of that okay oneclick videoconverter? Nov 22 14:38:25 one click? Nov 22 14:38:27 dunno Nov 22 14:38:30 I use Super Nov 22 14:38:55 thanks Nov 22 14:38:59 no prob Nov 22 14:39:29 eldenz, http://forums.tmonews.com/index.php?topic=3261.0 Nov 22 14:40:07 at least until super ads a selectable profile for the G1. Which it may have already, I haven't checked for updates in a while Nov 22 14:40:22 that webpage of super is beyond horrible... :f Nov 22 14:40:33 yes, but the app does the job Nov 22 14:40:38 : ) Nov 22 14:41:00 everywhere underlined text but you have to click 10links to get to the download button Nov 22 14:41:02 I think the dev makes the page that way on purpose, as a test to filter out the complete idiots Nov 22 14:41:43 anyone that doesn't find or take the time to find the download link, he doesn't want using the app and bitching about it is my guess Nov 22 14:42:18 : ) Nov 22 14:42:26 fast download... 16kB/s Nov 22 14:42:32 heh Nov 22 14:42:49 there are other download locations for it i believe Nov 22 14:42:58 but ya always good to get from the source Nov 22 14:43:02 now i only need a way to enable vibrate automatically when it's in silent mode and disable otherwise Nov 22 14:43:20 is this possible / an app doing it already available? Nov 22 14:43:30 there is a vibrate on silent I believe Nov 22 14:45:15 oh.. if you turn down ringer volume [-] it goes to vibrate eventually (w/o silent mode) Nov 22 14:45:42 yes :) Nov 22 14:46:28 : D Nov 22 14:51:42 nice, deal website rss reader Nov 22 14:51:46 i like this Nov 22 14:51:56 "DealsDroid" Nov 22 14:53:14 jbq, are devs able to disable comments for their own apps? Nov 22 14:53:19 in the market.. Nov 22 14:53:35 languish: I don't know. I've never uploaded anything on the market. Nov 22 14:53:40 nod Nov 22 14:54:01 there's a game, that doesn't have the comments option, but does have the rating option. Nov 22 14:54:25 just found it interesting Nov 22 15:17:13 if I have version 1 of an application and version 2 is published to the Market, can I just go back to the market page and upgrade? Nov 22 15:17:23 I haven't used this from an end-user enough :() Nov 22 15:17:35 whoa, that's a freaky-looking face Nov 22 15:55:50 anyone droiding it up with no issues on the g1? Nov 22 16:16:45 lol, compareAnywhere will identify Camel Lights, but not a T-Mobile G1 Nov 22 16:17:25 anyone know of a tool that allows the calender from a PalmOS to sync w/ the G1 calender? Nov 22 16:18:07 i would look for a tool that allows a PalmOS calendar to sync with a Google calendar Nov 22 16:18:15 then the G1 will get the updates automatically Nov 22 16:24:45 lol, camel lights Nov 22 16:26:08 does anyone know why this breaks: NetworkInfo info = cm.getActiveNetworkInfo(); Nov 22 16:29:20 infobot logs Nov 22 16:29:21 All conversations are logged to http://ibot.rikers.org/channel, where "channel" is replaced by the URL-encoded channel name, such as %23freenode for #freenode. Lines starting with spaces are not logged. Nov 22 16:29:37 mpardo: what's the error? Nov 22 16:29:42 yo Nov 22 16:29:46 oy Nov 22 16:29:52 well.. i can't see one Nov 22 16:29:58 i'll debug again real quick Nov 22 16:30:13 i just got an 8 gig sd card.do i need to copy the old folders from the old sd card into my new one? or can i just put the new one in? Nov 22 16:33:18 security exception Nov 22 16:33:19 i think Nov 22 16:33:57 what permission does ConnectivityManager require? Nov 22 16:36:35 nevermind found it Nov 22 16:36:37 thx Nov 22 16:37:03 ACCESS_NETWORK_STATE Nov 22 16:49:52 KNY, it depends on the app. it's best to uninstall an app from the market, then install the updated version. apps have been known to leave behind crap, though usually, you can just install over the old app. I'm not sure what makes the difference. Nov 22 16:50:16 languish, does it give a button to "upgrade" though? Nov 22 16:50:31 I don't have any installed apps with known updates published, so it's hard to verify Nov 22 16:50:39 but all mine just have "Open" and "Uninstall" Nov 22 16:50:52 the market itself. no. some apps have "upgrade" options, but so far, they all just take you to a webpage to download the new .apk afaik Nov 22 16:51:10 but the upgrade option is in the app, not the market Nov 22 16:56:17 is there a way to check if you are on 3g or edge using the connectivity manager? Nov 22 16:56:39 or am i way off base Nov 22 16:59:42 EGL11 mEgl = (EGL11) EGLContext.getEGL(); <- any idea why this would give class cast exception? if i read the docs right should not be any different from casting to EGL10 ~~ Nov 22 17:01:20 i figured it out... getReason() will return a string if in 2g and null if in 3g Nov 22 17:02:27 eris: maybe the result is an EGL10 not an EGL11? Nov 22 17:03:06 says the result is static EGL Nov 22 17:04:47 yeah Nov 22 17:04:52 EGL is the base class of EGL10 Nov 22 17:04:59 which is the base class of EGL11 if i'm reading this right Nov 22 17:05:25 so it should cast right? Nov 22 17:05:28 depends Nov 22 17:05:46 if getEGL() actually returns an EGL10, you'll be able to cast it to EGL10 but not to EGL11 Nov 22 17:06:06 if it returns an EGL11, you should be able to cast it to both Nov 22 17:06:09 why not check the return value?: Nov 22 17:07:07 EGL ret = EGLContext.getEGL(); Nov 22 17:07:28 then check ret.getClass().getName() Nov 22 17:08:09 or check the EGLContext source to determine which one it's returning Nov 22 17:09:03 hmm Nov 22 17:10:14 really not sure how to do that, am very new to java, comming from C... testing classes for type is, odd u.u Nov 22 17:11:40 yeah Nov 22 17:11:50 but it should be that simple Nov 22 17:12:10 EGLContext.getEGL().getClass().getName() should give you a string that states the actual name of the class Nov 22 17:14:35 also im sorta confused what to do if it is the wrong type, seems i need to get an EGL somehow Nov 22 17:15:51 why do you need to cast it at all? Nov 22 17:16:22 usually you'd use instanceof Nov 22 17:16:48 eris: note the documentation for EGL Nov 22 17:16:50 An EGL object is obtained by calling EGLContext.getEGL(). The returned object may implement the EGL10 interface only (if the underlying EGL implementation only supports EGL 1.0), or it may additionally implement the EGL11 interface (if the underlying implementation supports EGL 1.1). Nov 22 17:17:09 all of the examples i see do it like i pasted, and the examples with the sdk use EGL10 otherwise its the same cast Nov 22 17:17:29 ah okay Nov 22 17:17:32 yeah Nov 22 17:17:35 just cast it to EGL10 Nov 22 17:17:56 android probably doesn't implement EGL 1.1 Nov 22 17:18:12 it should work just as well unless your examples use functionality that's exclusively in 1.1 Nov 22 17:18:39 well, egl10 is lacking some basic functions Nov 22 17:19:00 uh oh Nov 22 17:19:03 i just froze my phone Nov 22 17:19:11 trying to play a 2 gig .mp4 Nov 22 17:19:12 points dont seem to scale for distance, nor can you adjust the fade to alpha Nov 22 17:19:29 I asked about egl11 on android previously, the response was basically "some of it works, some of it works sorta, and some of it doesn't" Nov 22 17:20:05 well this seems to be none of it works u_u Nov 22 17:20:10 :( Nov 22 17:20:30 just doesnt seem right, like im probably missing something Nov 22 17:20:41 Lieutenant: poorly written video player, maybe? Nov 22 17:21:16 get on that qualcomm mailing list the Advanced Content group guys are on and bug 'em how they got egl11 fx to work in their demo on android Nov 22 17:23:11 jt, you know much about the opelgl-ES stuff on android? Nov 22 17:23:16 *opengl Nov 22 17:23:59 probably Nov 22 17:24:09 i tried using "video player" and "cinema" Nov 22 17:24:19 both work fine for me Nov 22 17:24:33 maybe the video was just too large? Nov 22 17:24:37 actually Nov 22 17:24:40 i didn't even convert it Nov 22 17:24:47 but it was still .mp4 Nov 22 17:24:52 i mean i didn't encode it Nov 22 17:24:57 it has to be within a certain bitrate Nov 22 17:25:02 oh i see. Nov 22 17:25:09 yeah, then it most likely wasn't haha. Nov 22 17:25:10 oh well Nov 22 17:25:15 just wanted to test it out Nov 22 17:25:27 mod.. http://forums.tmonews.com/index.php?topic=3261.0 Nov 22 17:25:33 err *nod Nov 22 17:25:34 languish: you talking to me? sorry not paying attention Nov 22 17:25:41 jt yeah :) hi Nov 22 17:25:54 hey ;) Nov 22 17:26:09 don't know much sorry, will be looking into it come new year thought for games Nov 22 17:26:13 Was just wondering if you know much about the opengl-ES stuff on android, or who the go-to person around here would be Nov 22 17:26:16 *though Nov 22 17:26:17 nod Nov 22 17:26:43 i'd start with the demo included in the sdk Nov 22 17:27:30 yeah.. I know 3 devs that have gone through it, and then when trying to impliment some other basics have gotten exceptionally frustrated Nov 22 17:27:47 hmm Nov 22 17:28:00 eris is going through the same thing they did now Nov 22 17:28:18 but part of it may be lack of familiarity with java, they all came from other langs Nov 22 17:28:54 the example in the sdk is GL10 Nov 22 17:29:36 which i'd tolorate except it doesnt want to scale points for distance Nov 22 17:29:37 yeah.. she's trying to get some of the basic 1.1 functions going.. Nov 22 17:30:08 which seems possible, as it was demo'd in the neocore benchmark Nov 22 17:30:29 sounds like a good candidate to include with the apps-for-android project Nov 22 17:30:32 also doesnt to do other effects but mainly am grrring that all the points in my particle fountain are the same size no matter how far Nov 22 17:31:19 yeah. she needs help with distance scaling Nov 22 17:31:38 * languish doesn't have sufficient clue Nov 22 17:39:24 Has anyone had luck viewing exchange emails in the g1 ? Nov 22 17:43:09 com.google.android.jsr239.EGLImpl <-- result of ret.getClass().getName() Nov 22 17:45:08 cool :) Nov 22 17:45:36 Hello, im doing long running operations at the moment in the ui thread, which is wrong... im now refactoring the application (Its about PMix, which is an mpd client) Nov 22 17:45:55 now, i would like to make a thread, which does all the comunication with the mpd server... Nov 22 17:46:52 How should i communicate with the thread? Which the androids messages right? How can i implement my own thread, which receives such messages? Any samples? Nov 22 17:47:06 s/Which/With Nov 22 18:12:15 Can anybody help me how I can use this Handler class? Nov 22 18:16:23 hello. where is the source code to the userspace radio software in g1? Nov 22 18:17:00 http://android.git.kernel.org/?p=platform/hardware/ril.git;a=commit;h=dbbb392e15b5ace6f19e76c49c80ea14292e8a4d is this what's used on the g1? Nov 22 18:17:33 I wonder because in reference-ril.c it says #define PPP_TTY_PATH "/dev/omap_csmi_tty1" Nov 22 18:23:21 userspace radio software? Nov 22 18:23:25 falstaff_ - check out the UserTask in the Photostream or whatever Nov 22 18:23:32 swetland, the ril code Nov 22 18:23:39 hardware/ril Nov 22 18:23:50 ah, on g1 Nov 22 18:24:03 yea I wonder about that line above Nov 22 18:24:05 falstaff_ - romainguy pointed it to me last night, it's a really sweet utility class that you can just use quite easily to make little worker threads that work with the UI layer Nov 22 18:24:05 rild and libril are used but the guts of it is provided by htc Nov 22 18:24:19 and libhrc_ril.so is binary only (we don't have sources) Nov 22 18:24:31 swetland - you want source to that? Nov 22 18:24:33 I see Nov 22 18:24:33 * RyeBrye jokes Nov 22 18:24:37 the omap_csmi_tty1 stuff dates back to an early prototype based on omap850 Nov 22 18:24:45 rye: nope Nov 22 18:25:00 swetland, but all of the code in the ril.git is used on the g1 ? Nov 22 18:25:17 dcordes: no. the reference-ril is not used Nov 22 18:25:41 so in case of g1, this is replaced by the bin only libhrc_ril.so ? Nov 22 18:25:51 the other bits are: rild and libril (which provide the wrapper code for the daemon and the handling for the wire transport) Nov 22 18:26:17 yeah. rild dlopens the ril library for the platform which has the guts of the modem interface, which is libhtc_ril.so on g1 Nov 22 18:26:19 basically I wonder about the AT communication on G1 Nov 22 18:26:51 /dev/smd0 is the AT channel to the baseband Nov 22 18:27:23 yes I know. and it's also easy to capture it. but I would like the tx/rx code :) Nov 22 18:27:28 but htc has customized it (the AT commands provided by the modem firmware) a bunch, adding their own goodies, and their ril uses these extensions Nov 22 18:27:51 RyeBrye: i looked at the class, its not exactly what i need... What this class is doing is working many little tasks in single threads... What i want to do is many different tasks on the same thread.... Nov 22 18:27:52 ok. I guess rmnet also requires such modifications ? Nov 22 18:28:05 rmnet/qmi is stock qualcomm interfaces Nov 22 18:28:26 well the transports are. the drivers on the linux side are my fault. Nov 22 18:28:26 Therefor i want to implement a thread with a message handler, which does this tasks... Nov 22 18:29:01 so for the whole rmnet aperatus no extra AT commands are required? Nov 22 18:29:05 I asked the htc ril guys to use rmnet because sending ppp over another serial channel struck me as totally absurd Nov 22 18:29:41 yea you told me about your grief with the serial channels once :) Nov 22 18:29:47 hey is there a way to delete pics from the picture list on the G1 phone? Nov 22 18:29:50 you need to have the modem approrpriately configured, but qmi is then used to request data connection start/termination and rmnet carries the packets Nov 22 18:30:19 the htc ril does all of that (chatters with the modem via the at channel, uses qmi to initiate/teardown data connections, etc) Nov 22 18:31:31 sad enough we don't have rmnet in the new htcs Nov 22 18:31:56 basically the AT chattering code was all I was looking for Nov 22 18:32:44 rmnet is nice because it's really really low overhead. Nov 22 18:32:52 just shovel "ethernet" packets in and out Nov 22 18:33:08 (the ethernet headers are pretty much ignored by both sides, just ending up as framing noise for the IP packets) Nov 22 18:33:42 no need to hdlc encode/decode/escape the IP stream, fewer copies, etc Nov 22 18:34:01 sounds sensible Nov 22 18:35:10 swetland, do you have a hint where I can find some documentation on the AT communication with g1 and similar? Nov 22 18:35:35 there's a standard for gsm/gprs at control channels Nov 22 18:35:43 for any htc extensions, not sure Nov 22 18:35:49 all the htc propietary commands from the wince atdbg logs are creepy Nov 22 18:36:11 TS 27.007 I think Nov 22 18:36:41 swetland: what do you know about how far they delved into multitouch? Nov 22 18:37:02 did they just add support for more fingers, or did they start doing some actual work on gestures Nov 22 18:37:19 I can use my ts no hands Nov 22 18:37:25 lol Nov 22 18:37:37 http://www.3gpp.org/ftp/Specs/html-info/0707.htm Nov 22 18:38:18 I've never dealt with the userspace/framework input code. whatever is there is what we've got Nov 22 18:38:43 interesting table Nov 22 18:39:05 I'm not a modem guy, but I think that's the document that ril.h refers to in various places Nov 22 18:49:25 swetland, $ grep -i 3gpp ril/include/telephony/ril.h Nov 22 18:49:25 * The SAT/USAT features refer to 3GPP TS 11.14 and 3GPP TS 31.111 Nov 22 18:49:25 * The SAT/USAT envelope command refers to 3GPP TS 11.14 and 3GPP TS 31.111 Nov 22 18:49:37 not that much reference Nov 22 18:51:12 look for refs to TS 27.007 Nov 22 18:51:18 there are quite a few Nov 22 18:51:29 oh I see Nov 22 18:51:30 well TS 27.xxx Nov 22 18:54:34 so, i got my G1 Nov 22 18:54:44 if it uses HSDPA, does it say 3G? or should i see an H? Nov 22 18:55:10 3G. Nov 22 18:55:10 infernix, nice. can you dump some AT chats? :) Nov 22 18:55:20 on Edge you'll see an E. Nov 22 18:55:26 unfortunately its RC30 Nov 22 18:55:35 ? Nov 22 18:55:41 no root Nov 22 18:56:31 oh they sell devices with broken user accounts ? :) Nov 22 18:57:06 i'm only getting 113kb down, 16kb up. i need a better speed test Nov 22 18:57:38 infernix, you got it on ebay, right? what did you pay? Nov 22 18:57:47 380usd Nov 22 18:57:51 430 with shipping Nov 22 18:58:02 and customs? Nov 22 18:58:27 $0 Nov 22 18:58:38 that's ok Nov 22 18:59:26 I heard people can boot their own kernel on the g1 now. can you confirm? Nov 22 18:59:38 infernix: where are you located? Nov 22 18:59:47 netherlands Nov 22 18:59:57 sspeed test app does 1600kbit down, 100kbit up Nov 22 19:00:10 I posted a quick-and-dirty multitouch proof of concept for anyone who cares... http://www.ryebrye.com/blog/2008/11/22/g1-multitouch-proof-of-concept-video/ Nov 22 19:00:11 seems much worse than my tytn 2 Nov 22 19:00:33 good old kaiser Nov 22 19:01:30 *cough* gotta be the rmnet *cough* Nov 22 19:01:37 m33p m33p Nov 22 19:01:48 what speeds are others getting in the speedtest app? Nov 22 19:01:57 bbl Nov 22 19:02:47 infernix: good deal... I think about ordering one from the US too, since the ones I can get locally are vastly overpriced Nov 22 19:03:02 like, I saw an offer on ebay.de a few days ago for 590 euros Nov 22 19:07:24 infernix, whatever edge gives Nov 22 19:12:41 dcordes: i can confirm the custom kernel thign Nov 22 19:12:44 ive seen a few ppl do it Nov 22 19:13:08 including RyeBrye who just used a custom kernel to play with multitouch stuff (about 10 lines up) Nov 22 19:13:43 he booted the other kernel or only loaded modules? Nov 22 19:14:05 other kernel Nov 22 19:14:19 is the procedure of doing that documented somehwere? Nov 22 19:17:00 i dont know about that part Nov 22 19:19:36 RyeBrye, can you help there or outline how you boot your own kernel? Nov 22 19:20:28 so whats the latest and greatest in the android world Nov 22 19:20:43 its the end of the semester so im swamped in school stuff Nov 22 20:39:36 Dark Nov 22 20:39:39 DarkriftX: Nov 22 20:39:45 hola Nov 22 20:40:04 got a g1 yet Nov 22 20:40:06 ? Nov 22 20:40:15 nope Nov 22 20:40:34 whats the best irc app for the g1? Nov 22 20:40:35 :o Nov 22 20:40:41 i just bought one thursday Nov 22 20:40:45 cant wait for it to come Nov 22 20:40:49 they say by dec 8t Nov 22 20:40:50 :| Nov 22 20:40:51 ouch. Nov 22 20:41:01 I would love to check the g1 out Nov 22 20:41:09 i don't think i can do it though Nov 22 20:41:16 ill have to wait till android comes to at&t Nov 22 20:41:18 o.O Nov 22 20:41:23 oh Nov 22 20:41:25 contract? Nov 22 20:41:45 i put the phone under my moms name Nov 22 20:41:47 yeah but just in general. Nov 22 20:41:49 cause she was a avon rep Nov 22 20:41:50 and i got Nov 22 20:41:54 i love at&t service thus far. Nov 22 20:42:03 $40 off the phone, no activation, and 12% off the bill. Nov 22 20:42:06 Anyone know if it's possible to make Circuit Switched Data connections from Android? Nov 22 20:42:11 I've only had metropcs in the past. Nov 22 20:42:12 lol Nov 22 20:42:17 first contract :P Nov 22 20:42:20 i think my work might offer tmo discounts Nov 22 20:42:22 ill have to check Nov 22 20:42:23 g1 seems like its worth it to me Nov 22 20:42:39 i was going to get the g1 in store. Nov 22 20:42:48 but they said i can only get the 12% off the bill for the avon discount. Nov 22 20:42:49 Or rather, isn't that what iSkoot does, and how did they do it? Nov 22 20:42:55 not the $40 off and no activation fee. Nov 22 20:42:55 =[ Nov 22 20:43:05 so i rather wait to save the $75. Nov 22 21:02:48 Any developers know of a class/best-practice for scrolling an oversized (larger than a view's layout) bitmap on both X/Y axis (like maps and WebView do)? Nov 22 21:04:23 like say a bitmap as big as the map of the planet? Nov 22 21:10:59 dont think so small Nov 22 21:11:06 hey what ear is it gay to have an earring on if u only get one? Nov 22 21:11:26 ... Nov 22 21:11:38 don't ... me Nov 22 21:11:45 heh, the left i thought Nov 22 21:11:49 i hella did Nov 22 21:44:44 can Maps not do multiple destinations, like maps.google.com can Nov 22 21:44:44 ? Nov 22 21:49:34 is anyone getting upload speeds >100kbit on the android with speedtest? Nov 22 21:55:03 what network? Nov 22 21:55:05 edge or 3g? Nov 22 22:03:24 hsdpa Nov 22 22:03:29 e.g. 3G Nov 22 22:45:29 im thinking about waxing my screen haha Nov 22 22:45:49 my phone starts feeling rough when it gets dirty and i whipe it off Nov 22 22:48:52 How can i implement a message handler thread? is there a good guide? Nov 22 22:51:03 hi Nov 22 22:54:19 high Nov 22 22:54:23 wow starmap is really cool Nov 23 00:27:55 wordup Nov 23 00:28:59 <`vip> slow in here today Nov 23 00:29:01 <`vip> sup nyt Nov 23 00:29:35 boreded Nov 23 00:29:56 ircin it up, waitin for the wifeys show to start Nov 23 00:32:40 gets really slow in here during weekends oddly Nov 23 00:45:52 does mythtv work with android? Nov 23 00:46:20 dcordes: has anyone tried rmnet on kaiser? Nov 23 00:47:18 (assuming the standard on amss part is right, but there is probably some other qmi channel in that case) Nov 23 00:48:10 den0ts|G1: the protocol is pretty open, isn't it? just mysql commands and some kind of tcp transport? Nov 23 00:48:36 no idea Nov 23 00:49:08 den0ts|G1: there is also a gstreamer based implmentation, but gstreamer would need to be made to work under zygote somehow, maybe with a gl surface? Nov 23 01:42:26 Wow Nov 23 01:42:32 disks are under $10 per 100G Nov 23 01:50:36 ah, crap, python-pam is to call pam from python, not be a python module Nov 23 01:54:21 ok so if a filetype, say a pdf, can't be opened in android, i can't download it? not even to attach and forward in mail, or store on sd card? Nov 23 01:55:25 currently yes (I think) Nov 23 01:55:34 but if you rename it to .foo I think it works Nov 23 01:58:02 <`vip> possible to backup txt msgs ? Nov 23 02:30:41 hey guys did you know some apps to use irc on G1? Nov 23 02:34:46 yeah Nov 23 02:35:09 http://countercultured.net/ircbeta.apk im writing it Nov 23 02:35:25 and using it now Nov 23 02:38:00 i wonder if my mom would give me her %20 discount on black friday for a g1 Nov 23 02:38:11 $150 minus $30 would be nice Nov 23 02:44:18 let me try nyt Nov 23 02:52:22 is there no ssh client on the phone?!? Nov 23 02:52:58 connectbot Nov 23 02:53:23 id be surprised if it didnt come up in the market if you search for "ssh" Nov 23 02:53:29 doesn't Nov 23 02:54:04 nor does connectbot Nov 23 02:54:13 i have a link to it on my site Nov 23 02:54:15 somewhere :S Nov 23 02:54:59 googled it, thanks Nov 23 02:55:02 np Nov 23 02:58:20 So I'm in my next billing period but I don't see the bill _or_ usage from my first month?.. Nov 23 02:58:38 yakischloba: don't you have unlimited data? Nov 23 02:58:48 yes Nov 23 02:58:57 Is my first month free or something? **** ENDING LOGGING AT Sun Nov 23 02:59:57 2008