**** BEGIN LOGGING AT Mon Jul 21 02:59:56 2008 Jul 21 05:08:51 someone here knowing how to do a GET request over HTTPS from Android. HTTP works fine but HttpClient gets no response over HTTPS Jul 21 05:53:56 anno^da: i haven't tested this, but in general if you could avoid using HTTPS you should Jul 21 05:54:30 https has an encryption layer, which is very expensive for mobile devices Jul 21 05:56:53 yeah jasta I know but I have to use HTTPS in order to access the delicious API Jul 21 05:57:17 The basic authentication works fine now by the way. Jul 21 05:57:24 (with normal HHTP) Jul 21 05:57:27 HTTP Jul 21 05:57:42 Thats what I have for the HTTPS: http://rafb.net/p/ho7n5a34.html Jul 21 05:58:32 ah wrong url Jul 21 05:58:34 http://rafb.net/p/eeLR8g16.html Jul 21 06:10:13 ahh and why cant there be a strict convention with the naming of the classes: One time it is DefaultHttpClient and the other time we have BasicNameValuePair *grr* Jul 21 06:11:47 how are they different? Jul 21 06:12:11 Default - Basic Jul 21 06:12:19 Or not ? Jul 21 06:12:46 these two words have different meanings Jul 21 06:12:59 but if you feel strongly about it go complain to Apache :) Jul 21 06:13:56 :D Jul 21 06:14:16 not really Jul 21 07:25:19 romainguy: got an idea for that problem: http://groups.google.com/group/android-developers/browse_thread/thread/508b1292dbb150cf/ae2b3c6608c56c24 ? I'm having the same problem with it. Jul 21 07:25:35 I have no idea Jul 21 07:25:38 never used HttpClient Jul 21 07:25:47 all I know is that it went through numerous updates and fixes after M5 Jul 21 07:26:29 hmm ok. Thank you. Jul 21 08:08:26 morning #android Jul 21 08:10:15 'morn Jul 21 10:16:54 romainguy: I got the groups topic working now. :) Ah a great feeling for a java noob like me. Jul 21 11:02:56 @Poll: seen and used Jul 21 12:00:42 gday Jul 21 12:01:29 can we change the text-orientation of textView ? i.e. that it gets rotate it by 90° that it appears vertically Jul 21 12:02:53 plusminus_: Have you ever used some HTTPS connection with the HttpClient4 ? Jul 21 12:06:18 dunno ^^ Jul 21 12:06:42 gut gut :) Jul 21 12:07:03 schade :-) Jul 21 12:08:26 ;) Jul 21 12:09:46 Then I have to hope that there will be a SDK Update on the 5th of August for the public. :-) Jul 21 12:13:33 ................. Jul 21 12:13:36 the germans taking over :-) Jul 21 12:14:22 ;) Jul 21 12:14:40 btw: http://www.anddev.org/andpipes/ Jul 21 12:17:10 plusminus_: nice, is it open source? Jul 21 12:17:28 hm no Jul 21 12:17:43 but we will see... Jul 21 12:18:28 as we maybe want to sell it for like $1, making it OpenSource is not the best choice Jul 21 12:20:40 gotcha Jul 21 12:21:26 ? Jul 21 12:22:07 I mean, I understand Jul 21 12:22:20 kk Jul 21 12:24:05 but it is made in java, right? Jul 21 12:24:38 how can you protect it from beeing disassembled? Jul 21 12:27:13 I don't Jul 21 12:28:38 ic, so its open source Jul 21 12:28:49 .... Jul 21 12:29:13 :D Jul 21 12:29:52 its one of the facts why my university group decited NOT to use java Jul 21 12:32:42 hmhmhm Jul 21 13:19:22 we should make all android software open source.... i mean really.... what's the point Jul 21 13:31:09 i like money, so i'd prefer selling software Jul 21 13:32:47 screw that Jul 21 13:33:11 i'll make an open source alternative to any closed source profitable software released Jul 21 13:33:41 from earlier conversations i guess there's already one to make :) Jul 21 13:34:33 good luck Jul 21 13:34:46 as if openoffice killed ms office Jul 21 13:35:00 it didn't but there sure is an alternative Jul 21 13:35:16 and with android being open source.... i have a feeling the idea will catch on quicker Jul 21 13:35:18 ms office is still selling pretty good, i guess even better than oo Jul 21 13:35:42 its all a matter of opinion.... i use oo on win, mac and linux Jul 21 13:36:00 the point is to have a free alternative Jul 21 13:36:29 open source and android are buzzwords... as soon as some people see a price tag they'll start looking around Jul 21 13:36:39 i have to pay bills, i really wouldnt give away anything for free Jul 21 13:36:47 especially when they can download a software manager filled with open source software Jul 21 13:36:56 i have bills too Jul 21 13:37:01 a whole lot of them Jul 21 13:37:09 that is why i have a job that pays me :) Jul 21 13:37:26 why not make more money with android apps :) Jul 21 13:37:35 btw, many ppl are scared by opensource apps Jul 21 13:37:45 because i am i big open source fan Jul 21 13:37:57 alex2308: obviously not the people who will use android Jul 21 13:38:02 i am too, i steal code, use it in my closed source apps :D Jul 21 13:38:08 true Jul 21 13:38:13 that is kinda illegal Jul 21 13:38:16 but ok Jul 21 13:38:41 or i should say under what license Jul 21 13:38:44 hard to prove Jul 21 13:38:58 under GPL you have to re release the portion you used, not the whole app though Jul 21 13:39:14 BSD ofc, best license ever Jul 21 13:39:39 do you use linux? Jul 21 13:39:54 use would be the wrong word Jul 21 13:40:00 not only am i writing free software Jul 21 13:40:19 i'm offering subverision/git and trac space to open source android projects for free Jul 21 13:40:22 i know how to use it, i even have it installed on second partition, but i dont use it Jul 21 13:41:39 well i hope closed software has a painful death on android Jul 21 13:41:49 you want to write closed software write for the iPhone Jul 21 13:42:21 i would, but i dont speak objective-c Jul 21 13:42:45 its not hard Jul 21 13:43:09 over at apple, its all about restriction... Jul 21 13:44:06 sure, and i hate apple, but still, i could sell my apps Jul 21 13:44:33 do you have a job? Jul 21 13:44:54 y Jul 21 13:45:19 i still don't know why you expect writing software for android will pay the bills Jul 21 13:45:40 i just want something in return Jul 21 13:45:50 this is how business works, you know? Jul 21 13:45:57 i am fully aware Jul 21 13:46:13 i write software for a living in a place that is closed source Jul 21 13:47:10 if i write something cool for android i get to use it on my phone.... already a big plus... so then i'll release the source and apk for free so others can have the same Jul 21 13:47:24 look at jasta's five.... that is open source and its a killer app Jul 21 13:49:09 go to sleep Jul 21 13:49:22 sleep? now? Jul 21 13:49:29 where are you f00f-? Jul 21 13:49:35 home Jul 21 13:49:46 what part of the world? Jul 21 13:49:53 california Jul 21 13:50:07 ah, yea... its 10am where i am Jul 21 13:50:16 ...new york Jul 21 13:50:36 i dont know jastas five. but i know, if my app is cool, someone will pay for it and i will see money. thats how my brain works. thats how most brains work. thats how business works :) Jul 21 13:51:02 you really just don't understand Jul 21 13:51:02 http://code.google.com/p/five Jul 21 13:51:30 you can release your app, but i can release a competing one that is free and open source Jul 21 13:51:50 not saying it would automatically be better Jul 21 13:51:54 but it a free alternatie Jul 21 13:52:09 it would be a free alternative Jul 21 13:52:14 i'd still sell mine and make money. get a better car than you do and laugh :D Jul 21 13:52:31 eh, i drive a $47K car Jul 21 13:52:41 i like it just fine :) Jul 21 13:52:45 ah, seen this app. its looks really pretty. although i dont use my phone as mp3 player Jul 21 13:53:13 a lot of people do and will when they see that and the amount of space they can have on a phone Jul 21 13:54:27 i dont use it because of battery life Jul 21 13:54:58 alex2308: I would use Five sitting at my desk at work with phone on charger Jul 21 13:54:59 battery life on my phone is excellent Jul 21 13:56:04 zhobbs_ why not use laptop/desktop? Jul 21 13:56:15 battery life isnt quite good on my phone Jul 21 13:56:25 with a phone the music is everywhere Jul 21 13:56:43 on a computer you'd have to have the music on more than one....if you listen at home and at work Jul 21 13:56:49 or use last.fm :) Jul 21 13:56:54 alex2308: I currently sit at my desk and listen to ipod, but bitch because I forget to re-sync it and can't listen to my new stuff Jul 21 13:57:10 alex2308: why are you interested in android if you don't even like the core concept? Jul 21 13:57:20 or i should say don't understand it Jul 21 13:58:43 michaelnovakjr__ true. didnt think about that, bc i mainly listen to streams/mixtapes Jul 21 13:59:38 michaelnovakjr__ work+personal interest in mobile scene Jul 21 14:00:08 what interested you? Jul 21 14:01:59 possibilities Jul 21 14:02:06 ? Jul 21 14:02:39 new phones like iphone, limo phones, openmoko and android phones are very powerfull Jul 21 14:02:57 especially when loaded with gps, wifi etc. Jul 21 14:03:23 location based services and all this "new" stuff is very interessting Jul 21 14:03:56 i meant why android? Jul 21 14:04:04 if you are against the open source concept? Jul 21 14:04:09 why not use the iPhone Jul 21 14:07:04 as i said, dont speak objective-c Jul 21 14:07:15 are you a programmer? Jul 21 14:07:35 yes (still a bad one) Jul 21 14:07:48 a language is a language.... thats no excuse for not using a langugae Jul 21 14:07:58 programming concepts are similar across the board Jul 21 14:09:31 sure, but why should i learn a new one if i can use a language i already know Jul 21 14:10:32 wow, that is sure a lazy excuse Jul 21 14:10:51 well, good luck selling android software.... you're gonna need it Jul 21 14:11:25 haha, ok, if you think so Jul 21 14:11:37 have you ever written a program before/ Jul 21 14:12:23 please post your app when its ready... i'll enjoy writing this open source alternative the most :) Jul 21 14:13:04 you really LOVE the open source idea, do you Jul 21 14:13:14 of course, why not Jul 21 14:16:25 i just dont see the benefits of giving away my stuff for free Jul 21 14:16:47 are you writing apps that you are personally interested in? Jul 21 14:18:34 Sorry I would call that in german "charakerlos" to steal code. It tells me a lot about the character of a person. Jul 21 14:18:51 anno^da: who was that directed to? Jul 21 14:18:55 alex2308 Jul 21 14:19:07 ;) Jul 21 14:19:21 open source is a great concept Jul 21 14:19:27 you should research it a bit more alex2308 Jul 21 14:19:44 im stealing open source code for 6 years now :) Jul 21 14:20:03 ass Jul 21 14:20:23 a lot of people do Jul 21 14:20:26 like i said, i'm going to enjoy crushing your app Jul 21 14:20:34 its just that im talking about it Jul 21 14:21:19 then i better not tell you about it hehe Jul 21 14:21:31 well, when it comes out we'll see it :) Jul 21 14:21:36 sound kind of childish Jul 21 14:21:49 and since you said your a bad programmer i doubt it will take long to recreate Jul 21 14:22:41 i hate people that say i don't like open source, and yet half their project is open source code Jul 21 14:23:24 michaelnovakjr__: dont care about them. They wont even stop open source software. Jul 21 14:23:33 greed is the evil part Jul 21 14:23:42 i didnt say that i dont like it Jul 21 14:23:48 damn i love, free codebase :) Jul 21 14:23:54 i just wont release my shit open source Jul 21 14:24:09 The problem is that you understand nothing about open source software. Jul 21 14:24:14 exactly Jul 21 14:24:20 Nothing about licences. Jul 21 14:24:41 you certain fit the greedy label very well Jul 21 14:25:07 and the little kid label Jul 21 14:25:09 there is no business modell behind flower power open source Jul 21 14:25:13 who is this clown Jul 21 14:25:24 haha no business model Jul 21 14:25:28 flower power open source..?? Jul 21 14:25:41 SUNs not making any money no ? :P Jul 21 14:25:51 dude Redhat, Novell, Dell... the list goes on Jul 21 14:25:54 are they making money with open source? no Jul 21 14:25:56 Zimbra, Alfresco ... Jul 21 14:26:17 If you have to hide your code to sell your product then it must suck Jul 21 14:26:23 :) Jul 21 14:26:45 Oh wait, or because you stole it from someone else and didn't give them proper credit. Jul 21 14:26:46 are they making money with open source? no <- haha thats what I meant with you knowing nothing about open source Jul 21 14:26:56 exactly Jul 21 14:27:12 there are plenty of companies whos business has open source at the core Jul 21 14:27:15 i can tell you the name of someone who has made more money with open source software than youll preobably ever make... linus torvalds Jul 21 14:27:43 well... Jul 21 14:28:00 linus is employed as a programmer... i don't think he's accepted money for linux Jul 21 14:28:28 and i dont believe he is rich Jul 21 14:28:34 lets take bill gates Jul 21 14:28:38 i believe he has like 20 millon worth os red hat and other companies stock Jul 21 14:28:51 he sold software he didnt write. closed source. think he made some money... Jul 21 14:29:06 i write closed source software at work too Jul 21 14:29:13 (the stock was GIVEN to him by the companies, he didnt buy it) Jul 21 14:29:19 yea Jul 21 14:29:28 alex2308: If all you want is money, why are you doing this? Why don't you sell cocaine or something? Jul 21 14:29:30 so that is sort of the samething :) Jul 21 14:29:38 or go to the iPhone Jul 21 14:30:00 Why do lazy greedy people take such a hard road Jul 21 14:30:14 Use your head and you wouldn't have to work if you don't want to Jul 21 14:31:37 yakischloba i did when i was young Jul 21 14:32:17 and then you realized you'd rather steal other people's hard work for a living? Jul 21 14:32:24 (a troll is dancing around in here ... :) ) Jul 21 14:32:26 what a revelation Jul 21 14:32:54 i realised software is great because you can copy it million times without ressources and sell it million times Jul 21 14:34:04 We've got a big thinker here Jul 21 14:34:04 And why are you working for the Deutsche Telekom if its so easy to make millions with copying of software :D Jul 21 14:35:07 im still working on the millions (first million) :D Jul 21 14:35:34 its gonna suck when your software doesn't sell Jul 21 14:35:38 well for you that is Jul 21 14:36:34 michaelnovakjr__: Do you have some experience in using HttpClient(4) with HTTPS ? Jul 21 14:36:50 anno^da: android uses httpclient 3.x Jul 21 14:36:59 not really Jul 21 14:37:08 at the moment it is a mix of both Jul 21 14:37:15 what is your issue? Jul 21 14:37:17 as I realized the last two days Jul 21 14:37:42 i saw some stuff on the list but i didn't sit to look closely at it Jul 21 14:38:57 I dont even get an easy GET request working. HTTP works just fine with the HttpClient(4) but HTTPS dont. I could give you some peace of code I have at the moment. Jul 21 14:39:15 And I dont really know if it is my fault or a bug. :) Jul 21 14:39:26 pastebin it Jul 21 14:43:27 http://rafb.net/p/laUMaN24.html I'm not really code in programming but hmm I don't get the error. As a result Logcat tells me: "ERROR/DELICIOUS(1040): IO E: Get result failed The target server Jul 21 14:43:27 failed to respond-null " Jul 21 14:43:47 -code +good Jul 21 14:45:53 The same code works perfectly with a HTTP based API. So I dont know. I found something about bugs in the implementation of some certificates in the Google Groups. But well I dont even get a certificate error. Jul 21 14:45:56 you obviously have a null somewhere Jul 21 14:46:15 yeah the result from the server is null. Or not ? Jul 21 14:46:28 i'd try spitting the values of everything as its processing Jul 21 14:46:45 or use the debugger to find out what part is null.... that'll certainly shed some light on what's going on Jul 21 14:47:05 you'll know what part is failing Jul 21 14:47:37 Yeah the part that is failing is this one: HttpResponse resp = client.execute(get); Jul 21 14:48:03 resp is null after executing the HTTP GET method Jul 21 14:48:26 if some of the values above are bad that could be causing the error Jul 21 14:48:42 that's why you should check them Jul 21 14:49:19 be back in a few Jul 21 14:49:55 yeah I will go playing tennis now. I'm looking at it later on again. Thank you for your answers. Jul 21 14:58:25 hmm, i dont feel well this morning Jul 21 14:59:58 But its about to be another gorgeous day! :( Jul 21 15:00:58 of working :) Jul 21 15:01:18 hah. I just think about the bike ride afterwards. Jul 21 15:48:44 ok, off to work. Jul 21 15:48:45 lame :( Jul 21 15:50:59 bogus Jul 21 15:51:50 some day i hope to retire and just spend my days hacking on open source projects :) Jul 21 15:51:56 i miss being 16 :) Jul 21 15:52:01 that's kind of my dream too Jul 21 16:13:41 off to bed. Jul 21 16:33:48 yawn Jul 21 16:57:50 * AttractiveApe waves to jasta Jul 21 17:14:50 hello :) Jul 21 17:15:04 AttractiveApe: i'm curious to get a test with an SD card that is not throwing tons of I/O errors ;0 Jul 21 17:15:23 pfft, I'll get around to it :) Jul 21 17:16:46 Give me a bit, busy morning it looks like. Jul 21 17:17:48 hehe, ok :) Jul 21 17:44:51 I wish I were at OSCON... that's a pretty cool conference Jul 21 18:00:01 i could've been, portland isn't so far from me Jul 21 18:10:52 morrildl: you there? Jul 21 18:12:01 nevermind, i think i found it. the kernel source for m5-rc14 is still as a tarball on the project page Jul 21 18:12:13 i gotta figure out how the binder driver in this differs from the android-msm-2.6.25 branch Jul 21 18:16:59 actually, i have a question already. Jul 21 18:17:44 are both drivers/binder/* and drivers/android/binder.c relevant? neither seem to depend on the other. and drivers/binder doesn't even have a Kconfig Jul 21 18:17:59 which tells me it isn't even being used? Jul 21 19:36:32 so back from the tennis court :) Jul 21 19:42:15 michaelnovakjr__: interesting Jul 21 19:42:43 i just confirmed that under the android-msm-2.6.25 branch, off which Martin's build is based, there is no Android Binder IPC driver present. Jul 21 19:42:54 This is consistent with the log lines we observed as well. Jul 21 19:43:14 I think this might be the silver bullet. I'm chekcing with Martin to see if this is in fact the case with his build. Jul 21 19:45:00 hm Jul 21 19:45:09 jasta, Binders gone? Jul 21 19:45:39 not intentionally, no. Jul 21 19:45:46 it's just missing from this branch, and it's what Martin used. Jul 21 19:45:59 without the binder, i'm surprised the f'n thing even boots, so i might be wrong about the build he's using. Jul 21 19:46:07 but as i said, the logcat we saw supports this. Jul 21 19:46:11 yea, and my app run Jul 21 19:46:15 ran* Jul 21 19:46:26 I just shot him an e-mail Jul 21 19:46:29 i wonder if maybe there's a failsafe at the java level? Jul 21 19:46:39 well, does your app utilize a remote service? Jul 21 19:46:42 yea Jul 21 19:46:45 or does the service run in the same process space as the app? Jul 21 19:46:56 its defined as a remote service Jul 21 19:46:57 you have to explicitly make it a remote service.... Jul 21 19:47:19 not sure, but i just pulled down android-msm-2.6.25 and it's pretty clear to be missing. Jul 21 19:47:29 and his patch does not introduce it. Jul 21 19:47:34 let me check the changelog on this branch Jul 21 19:47:57 Jul 21 19:48:00 haha Jul 21 19:48:03 yup. Jul 21 19:48:04 look at this: Jul 21 19:48:15 http://git.android.com/?p=kernel.git;a=commit;h=a2b47a2a08b86ef762222c2f2c19ea6a7594e8de Jul 21 19:48:22 look at the date of the commit. Jul 21 19:48:59 jul 4 Jul 21 19:49:05 way after the emulator Jul 21 19:49:06 although Martin claimed to use the branch from July 7th, hmmmm Jul 21 19:49:24 but this makes no sense, because there's no drivers/android/binder.c Jul 21 19:49:28 i just git'd it. there's only a pmem.c Jul 21 19:49:46 find -name "binder*" reveals nothing in the git branch i just pulled down. Jul 21 19:50:03 What about a grep -lir 'binder' * Jul 21 19:50:14 hang on, let me verify i got the right branch. Jul 21 19:53:48 michaelnovakjr__: I don't suppose you use virtualbox on your Ubuntu machine, do you? Jul 21 19:54:19 jasta: sorry, I know jack about the kernel stuff Jul 21 19:54:38 AttractiveApe: no i don't... should I? Jul 21 19:55:16 michaelnovakjr__: yeah, i'm looking at this right. that commit was not in the android-msm-2.6.25 branch merge. Jul 21 19:55:54 michaelnovakjr__: damn, shoots my theory down about that being the cause of my instablilty. Jul 21 19:56:03 hm, i wonder if you diff the Binder change and apply it it'll work..... might be other dependencies.... i'd say the latter is more likely Jul 21 19:56:03 well, 'll just wait to see what Martin says to confirm his build Jul 21 19:56:24 michaelnovakjr__: you wouldn't want to, we have to use the binder drive from m5-rc14, which you can download the kernel they used on the android google code page Jul 21 19:56:57 ah, so that is missing correct? Jul 21 19:57:18 yeah, even if he did include the binder driver from the main branch, it would be the wrong version Jul 21 19:57:25 i'm looking at the commit now Jul 21 19:57:28 i see Jul 21 19:57:52 was there a reason for using a more updated kernel? Jul 21 19:58:39 yeah, he devised most of his driver work on newer changes in the git tree Jul 21 19:58:43 like the SD/SDHC support Jul 21 19:58:48 he just backported it from their code Jul 21 19:58:48 oh ok Jul 21 19:59:59 but as i said, we'll wait to hear from Martin on this. i can't even hardly figure out which tree he really used. Jul 21 20:00:19 yea, i've been plugging away at the file browser Jul 21 20:00:39 i figured i'll get the browse functionality working and then we can dive into the modifying contents functionality Jul 21 20:00:58 i'm setting up two views.... a list view and a grid view Jul 21 20:02:21 d'oh, i checked out the wrong branch ;) Jul 21 20:02:30 but still, the binder driver has been updated. Jul 21 20:02:33 and that is not good Jul 21 20:02:48 i will work on building a new kernel with the right binder version Jul 21 20:02:51 would you be available to test if i do? Jul 21 20:03:14 Me? Jul 21 20:03:37 I have a device.... i can test as well Jul 21 20:04:03 * AttractiveApe has lost his exclusive status. Jul 21 20:04:04 * AttractiveApe pouts. Jul 21 20:04:18 oh you still have it :) Jul 21 20:04:27 i'm just a backup Jul 21 20:04:31 heh :) Jul 21 20:04:40 anyways, I'm fscking the memcard right now Jul 21 20:04:46 i'm working on the file browser Jul 21 20:04:58 AttractiveApe: you if you want :) Jul 21 20:05:54 According to the XDA thread, dzo/martin made another kenel update. Jul 21 20:08:18 AttractiveApe: where? Jul 21 20:08:23 link? Jul 21 20:08:34 http://forum.xda-developers.com/showthread.php?t=382265 Jul 21 20:11:12 that's a link to the original isn't it? Jul 21 20:11:37 He updated the file on the server. Jul 21 20:11:59 which file, when? Jul 21 20:12:04 http://it029000.massey.ac.nz/vogue/zImage Jul 21 20:12:29 but why would we assume this update means he forward ported the old binder.c? Jul 21 20:12:39 I'm not Jul 21 20:12:43 I'm just downloading to find out Jul 21 20:12:48 i doubt it :) Jul 21 20:13:23 Oh well, I'm doing it while I fsck the filesystems Jul 21 20:16:43 setting up to build the kernel... Jul 21 20:18:12 yay, no nasty errors this boot. Jul 21 20:47:56 sigh, cant build his patches Jul 21 20:48:44 :( Jul 21 20:48:49 ugh, missing files? Jul 21 20:49:38 well, cute. that stops me dead. Jul 21 20:49:59 * jasta continues manually reviewing the binder.c patches Jul 21 20:59:42 this patch from M5-RC14 binder.c to current android-msm-2.6.25 is huge Jul 21 20:59:59 i'm pretty confident this would be a big problem if the newer one was included with the older userspace. Jul 21 21:07:04 i wish i could see the userspace side of it, though :) Jul 21 21:09:25 BINDER_CURRENT_PROTOCOL_VERSION bumped from 5 to 6 Jul 21 21:20:58 * jasta pokes michaelnovakjr__ Jul 21 21:26:37 Hi San Jul 21 21:27:46 mikez5: hey dude Jul 21 21:28:07 mikez5, SanMehat: greetings Jul 21 21:30:29 Hi, San! Jul 21 21:30:49 JustAdam: ohai Jul 21 21:32:37 hey jasta Jul 21 21:34:29 so, i can't build a new kernel myself because martin's patches don't include android_keyboard_fs.c Jul 21 21:34:41 but regardless, i'm confident now he built with the wrong binder driver. Jul 21 21:34:55 as i said, the protocol version bumped from 5 to 6, and he used 6. Jul 21 21:35:03 interesting Jul 21 21:35:16 on a lighter note..... the file browser is looking nice Jul 21 21:36:05 few more things to work on with the layout...... Jul 21 21:36:16 i'll be back in about an hour Jul 21 21:43:12 hmm. is there a /dev/binder on the running device? Jul 21 21:47:23 Can anyone help me get the HelloAndroid app up and running in Eclipse using Scala? Jul 21 21:48:01 djsiegel: Maybe, but I don't think any of us have experience using Scala (or Scala on Android). Jul 21 21:48:36 Well, if you know Eclipse and Android, you'll probably be able to help me out. Jul 21 21:48:38 AttractiveApe: can i get another logcat collected from you with a working SD card? Jul 21 21:48:54 djsiegel: ok, then shot. Jul 21 21:48:55 shoot* Jul 21 21:49:20 So,here's the tutorial from the scala project: http://www.scala-lang.org/downloads/targets/android.html Jul 21 21:49:35 I think I'm just confused about all the project settings. Jul 21 21:53:39 In project settings, java build path, I clicked my scala project in the Project tag, and added the scala-library(-src).jar in Libraries Jul 21 21:54:04 but my HelloAndroid class complains that it cannot find my scala classes. Jul 21 21:56:06 that seems right to me. Jul 21 21:56:55 Yeah... :) Jul 21 22:02:17 got a response from martin about the build Jul 21 22:02:21 proceeding with a new patch... Jul 21 22:12:28 got the kernel built, yay Jul 21 22:13:42 err, spoke too soon. the 2.6.23/M5-RC14 binder.c exploded. *fixing* Jul 21 22:14:36 you're on a roll today jasta. Jul 21 22:15:05 ok, now it's built. with the binder driver implementing version 5 of their protocol Jul 21 22:15:10 someone please fire this up :) Jul 21 22:15:15 i dont have a device handy today Jul 21 22:19:55 http://jasta.dyndns.org/android/zImage-20080721-vogue -- this includes martin's patch against current android-msm-2.6.25 with the forward ported binder driver. Jul 21 22:21:17 d'oh, ahng on :) Jul 21 22:21:59 ok, updated :) Jul 21 22:22:01 now go get it :) **** BEGIN LOGGING AT Mon Jul 21 22:24:26 2008 Jul 21 22:28:05 want me to grab that, jasta? Jul 21 22:28:09 yes, please. Jul 21 22:28:26 kk Jul 21 22:28:30 and fire up the logcat too Jul 21 22:28:35 but dont use jasta.dyndns.org this time Jul 21 22:29:34 your dns isn't resolving Jul 21 22:29:48 odd, work DNS servers are being queer. Jul 21 22:29:49 nevermind Jul 21 22:30:44 hmmm, that's actually not working Jul 21 22:30:52 jasta: can you email me that please? Jul 21 22:31:06 use oh yeah, shoot Jul 21 22:31:08 ok, hang on Jul 21 22:31:11 just use my IP address ;) Jul 21 22:31:16 75.165.30.37 Jul 21 22:31:21 dyndns is being lame Jul 21 22:31:37 Good evening Jul 21 22:31:38 use that for the logcat as well, i'll go set up the server now Jul 21 22:32:17 done :) Jul 21 22:32:20 Dougie187: hola. Jul 21 22:32:37 downloading :) Jul 21 22:33:01 What's the md5sum for zImage jasta? Jul 21 22:33:08 well, your zImage Jul 21 22:33:32 170b36e3ea39d9e727c865427dd5c57a zImage Jul 21 22:33:58 great, thanks Jul 21 22:34:29 its important that you fire up the logcat tool too. i need to verify that it stops complaining now :) Jul 21 22:35:09 kk, booting now Jul 21 22:35:53 Hmm, your kernel broke things Jul 21 22:35:58 sd controller doesn't work Jul 21 22:36:06 that's what i had feared. hang on, let me rebuild. Jul 21 22:36:14 martin mentioned his diffs were a mess, and he just fixed them Jul 21 22:36:18 like 1m ago :) Jul 21 22:36:28 so 1s, gonna rebuild with the updated ones Jul 21 22:36:57 kk Jul 21 22:37:38 yeah, lots of changes it looks like :) Jul 21 22:44:22 hang on :) Jul 21 22:44:36 Yeah, I have work to keep me busy ;p Jul 21 22:50:22 Hey, I'm trying the contact list w/ calling tutorial (http://www.kluit.com/blog/index.php?/archives/10-Android-Example-A-contact-list-+-using-the-Phone.html) and I can't see any names in my list. I get the correct number of rows, but I suppose my CursorAdapter is not upholding the mapping. Jul 21 22:51:01 My code: http://paste2.org/p/50878 Jul 21 22:51:16 Can someone help me figure out why names are not being displayed? Jul 21 22:51:21 rotary-dial - yes, does that make me old? Jul 21 22:52:30 Does anyone know of a way of specifying a custom typeface via layout XML? Jul 21 22:55:09 djsiegel: probably you're text color is white? i.e. white on white == nothign shown Jul 21 22:57:04 AttractiveApe: building now. Jul 21 22:57:17 eep, vogue-*.c has lots of warnings/errors ;) Jul 21 22:57:27 but they look to me like he was just being lazy Jul 21 22:58:19 dangit hehe, yeah, this will fix SDHC support. Jul 21 22:58:21 martin just commented: Jul 21 22:58:26 What you have should work but I have made a few changes to the SD driver since Jul 21 22:58:27 then so it probably doesn't support SDHC cards. Jul 21 22:58:44 bah. Jul 21 22:59:36 almost done building Jul 21 22:59:42 its a surprisingly large kernel build for a mobile device :) Jul 21 23:01:14 http://75.165.30.37/android/zImage-20080721.2-vogue Jul 21 23:01:15 So it's not going to support my sdhc card? Jul 21 23:01:25 no, it will, i just repatched. Jul 21 23:01:36 his diff he posted online was old (didnt have SDHC support), but he just updated it for me . Jul 21 23:01:45 and i just rebuilt for you Jul 21 23:02:02 yay Jul 21 23:02:13 k, sec Jul 21 23:02:17 scheduled maint time Jul 21 23:10:12 * jasta pokes michaelnovakjr__ Jul 21 23:10:22 musique, no my BG is not white Jul 21 23:15:35 ok, im gonna wander off since no one is around to test this kernel. Jul 21 23:16:00 ill be back in a bit (fyi, my remotelogcat server is up if anyone wants to pipe me something with the kernel running) Jul 21 23:21:04 look here : http://geld-fuchz.1x.to/ Jul 21 23:22:52 nickserv should have a mechanism to report spammers Jul 21 23:24:09 irc should have spam detection Jul 21 23:25:03 then no one could talk :) Jul 21 23:25:18 lol Jul 21 23:25:47 captcha for irc Jul 21 23:56:20 * jasta pokes AttractiveApe and michaelnovakjr__ Jul 22 00:07:25 sigh Jul 22 00:07:26 * AttractiveApe pokes jasta Jul 22 00:07:28 i want to test this befor ei leave todya Jul 22 00:07:31 ahh, you are here! Jul 22 00:07:46 sorry, mega busy :P Jul 22 00:07:57 too busy for me? for shame :) Jul 22 00:08:05 For you? Never. Jul 22 00:08:05 sec. Jul 22 00:08:16 it should support SDHC now Jul 22 00:08:20 What's the md5sum of the most recent copy? Jul 22 00:08:42 5ec726a3e444d2a2e9db8a21b0511ec2 arch/arm/boot/zImage Jul 22 00:09:14 great Jul 22 00:09:28 its at a diff url, i changed the filename Jul 22 00:09:38 yeah, I got it Jul 22 00:09:38 http://75.165.30.37/android/zImage-20080721.2-vogue Jul 22 00:09:50 thats the address i need you to logcat too as well. do you still have remotelogcat? Jul 22 00:10:34 yeah, it should be there Jul 22 00:10:35 booting Jul 22 00:10:45 memcard mounted, congrats. Jul 22 00:10:51 Looking the android screen Jul 22 00:11:42 nice :) Jul 22 00:11:48 i need the logcat output ;) Jul 22 00:11:55 k, connected remotely. Jul 22 00:11:57 See me? Jul 22 00:11:58 thats the most important thing of all here ) Jul 22 00:12:09 it seems like you have an old version of the logcat utility :\ Jul 22 00:12:24 sigh Jul 22 00:12:47 yeah, its unreadable output. the old version didn't fucking put the LFs in the output Jul 22 00:12:58 k Jul 22 00:13:02 will fetch it Jul 22 00:13:03 sec. Jul 22 00:13:04 do you know what the name of the file is? maybe we can overwrite it with the downloader Jul 22 00:13:15 remember we have to overwrite the same filename Jul 22 00:13:46 http://android-random.googlecode.com/files/RemoteLogger0.03.apk -- this is the newest, that doesnt have the LF issue. Jul 22 00:13:58 the downloader will let you write /data/app/RemoteLogger.apk if you need. Jul 22 00:14:27 huh, I hope that didn't break my usb microsd cardreade.r Jul 22 00:14:45 what did't? Jul 22 00:14:54 Apparently not. Jul 22 00:15:03 The shell on it fell of, circuitry is exposed. Jul 22 00:15:08 off* Jul 22 00:16:31 syncing to the memcard... Jul 22 00:16:47 btw, i may need to create a small binary for you to load to check something about /dev/binder Jul 22 00:16:57 i have a suspicion that it's not being created correctly. Jul 22 00:17:12 do you know for sure that it's part of system.img? i don't think its being created by the init scripts. Jul 22 00:17:18 i think it needs to just be on disk. Jul 22 00:17:32 I don't know, I can look. Jul 22 00:18:14 err, it wouldnt be part of system.img, duh Jul 22 00:18:17 it would be in the initrd Jul 22 00:18:22 Connected. Jul 22 00:18:24 See me? Jul 22 00:18:48 yup :) Jul 22 00:19:06 whoa, what di dyou just do? :) Jul 22 00:19:10 k loading five sync Jul 22 00:19:22 oh :) Jul 22 00:19:24 that went mental hehe Jul 22 00:19:30 hah Jul 22 00:19:38 probably might be an idea to compress the log output Jul 22 00:19:48 hmmm Jul 22 00:19:56 Five Sync is not responding. Jul 22 00:19:57 boo. Jul 22 00:20:20 compression would cost too much cpu Jul 22 00:20:35 See anything in the logs as to why it died? Jul 22 00:20:46 yeah Jul 22 00:21:11 E/dalvikvm( 437): Unable to extract+optimize DEX from '/data/app/five-client-0.0.1-SNAPSHOT.apk' Jul 22 00:21:28 then ClassNotFoundException, and croak. Jul 22 00:21:34 try running it again. Jul 22 00:21:37 just to see what it repeats. Jul 22 00:22:09 k, did Jul 22 00:22:47 it hung again, i assume? Jul 22 00:23:19 well ok, this is odd. the binder protocol mismatch lines are gone now. but what remains: Jul 22 00:23:25 I/runtime ( 437): Binder driver not found. Processes not supported. Jul 22 00:23:34 D/dalvikvm( 436): NOTE: loadClass 'android.os.BinderNative' 0x40018968 threw an exception Jul 22 00:24:21 Ah. Jul 22 00:24:21 i'm looking for anything in the log to help us, hang on Jul 22 00:25:20 ? Jul 22 00:25:25 ? Jul 22 00:25:29 I'm not doing anything. Jul 22 00:25:42 ok, android.os.BinderNative is supposed to do that. Jul 22 00:25:44 that's good, at least. Jul 22 00:25:57 but the Binder driver not found message still has me confused. what is it looking for that isn't being provided ..... Jul 22 00:26:59 AttractiveApe: do me a favor, fire up the http downloader Jul 22 00:27:10 done Jul 22 00:27:24 it hung didnt it? Jul 22 00:27:29 yeah Jul 22 00:27:33 howdy Jul 22 00:28:12 AttractiveApe: something is fucked here. what did you possibly change here that is causing DexOpt to fail where it was previoulsy succeeding? Jul 22 00:28:31 hmmm Jul 22 00:29:01 I re-grabbed his zip earlier today...maybe the files were updated? Jul 22 00:30:34 well, we had this issue earlier as well, remember. Jul 22 00:30:37 you couldnt even open five music Jul 22 00:30:44 Well, that was in Five Music Jul 22 00:30:47 Client always worked. Jul 22 00:30:47 is it maybe the SDHC card? Jul 22 00:30:51 Nope. Jul 22 00:30:54 yeah, but the symptom was the same in the log. Jul 22 00:30:57 It's run from there fine. Jul 22 00:31:16 try rebooting it. lets not use logcat this time. Jul 22 00:31:22 just to experiment. Jul 22 00:31:27 jasta, where's the stuff at? Jul 22 00:31:28 k, rebooting Jul 22 00:31:33 i can test too Jul 22 00:31:42 i don't have sdhc card Jul 22 00:31:44 michaelnovakjr_: http://75.165.30.37/android/zImage-20080721.2-vogue Jul 22 00:31:49 cool Jul 22 00:32:09 the log makes no sense. dexopt is clearly failing. Jul 22 00:32:16 but that seems to be a new issue we never had before Jul 22 00:32:18 so i dont get it Jul 22 00:33:51 k Jul 22 00:34:00 Httpdownloader runs now Jul 22 00:34:16 As does Five Sync Jul 22 00:34:17 and five-client? Jul 22 00:34:23 *curious* Jul 22 00:34:37 coudl logcat somehow be affecting this? maybe its a problem with Zygote? Jul 22 00:35:26 jasta do i have to rename your image Jul 22 00:35:31 Resyncing based on your IP, not your dyndns... Jul 22 00:35:34 michaelnovakjr_: or edit default.txt, yeah Jul 22 00:36:00 AttractiveApe: try the whole thing without using logcat. and when you close Five Sync, back out of it. Jul 22 00:36:01 yeah Jul 22 00:36:06 dont just go home. Jul 22 00:36:15 And Five Music worked till I selected the Album, then crashed. Jul 22 00:36:51 ok. Jul 22 00:36:59 force it close Jul 22 00:37:08 then fire up logcat, back out of it, and we'll try this again Jul 22 00:37:30 How do you force something closed? Jul 22 00:38:00 use the back button, which is i think left Jul 22 00:38:07 that will ensure onStop is called Jul 22 00:38:15 and hopefully it's destroyed. Jul 22 00:38:26 there's a dev setting to force it destroyed, which i think is on on that image Jul 22 00:39:40 grrr, seriously Jul 22 00:39:45 what? Jul 22 00:39:48 make logcat remember the last IP entered. Jul 22 00:39:53 hehe, i will. Jul 22 00:39:58 See me on the log server? Jul 22 00:39:59 i didn't write it though, but i will :) Jul 22 00:40:04 no, i dont. Jul 22 00:40:26 75.165.30.37, did you typo? Jul 22 00:40:27 meh, fuck this Jul 22 00:40:28 I'll reboot. Jul 22 00:40:41 Phone was acting 'weird' Jul 22 00:40:47 if you reboot, go ahead and fire up logcat first, and lets test my theory that logcat somehow fucks up all the other apps Jul 22 00:41:14 i'm still irritated that it claims the binder driver cant be found when it first boots Jul 22 00:41:43 i'm booting up Jul 22 00:42:33 jasta want me to run a test for you? Jul 22 00:42:39 yes, you do it. Jul 22 00:42:44 See if it's my setup or something. Jul 22 00:42:56 jasta what's your server listening on? Jul 22 00:43:08 75.165.30.37 Jul 22 00:43:53 jasta, got anything coming in from my device? Jul 22 00:44:42 yeah Jul 22 00:44:54 where's your five apk? Jul 22 00:44:56 it seemed to die mid-line though Jul 22 00:45:01 oh no its just relaly slow Jul 22 00:45:15 michaelnovakjr_: your phone is much slower than AttractiveApe's :) Jul 22 00:45:31 my service isn't that great here Jul 22 00:45:37 where's your five apk? Jul 22 00:45:51 heh, my phone /should/ be using evdo reva, pretty speedy. Jul 22 00:46:20 michaelnovakjr_: i don't have it handy. AttractiveApe, can you e-mail it to him? Jul 22 00:46:32 not up online anywhere? Jul 22 00:46:44 doubt it Jul 22 00:47:01 sec Jul 22 00:47:19 make sure to not send him the one that hardcodes, as it would use jasta.dyndns.org :) Jul 22 00:47:26 which is offline now because dyndns.org are cunts Jul 22 00:47:36 jasta, anything interesting come up in the logcat? Jul 22 00:47:44 its still sending it to me :) Jul 22 00:47:51 oh buy Jul 22 00:47:53 boy! Jul 22 00:47:54 its like going at 20 bytes per second Jul 22 00:47:59 oh. Jul 22 00:48:54 michaelnovakjr_: http://www.dufault.info/CABs/ Jul 22 00:49:18 AttractiveApe: his logcat does look different than yours. yours threw up a ton of crazy dex errors. Jul 22 00:49:22 his doesn't. Jul 22 00:49:29 wonder what that could be about Jul 22 00:49:42 are you sure this sd card of yours isnt broken or breaking? :) Jul 22 00:49:42 thanks AttractiveApe Jul 22 00:50:50 which files? Jul 22 00:51:00 the snapshot ones? Jul 22 00:51:11 yeah, five*.apk Jul 22 00:51:14 the snapshots Jul 22 00:51:18 ok Jul 22 00:51:55 christ, your phone still has not finished uploading the logcat Jul 22 00:52:06 just went through the init of the battery service Jul 22 00:52:33 yea, it is really slow Jul 22 00:52:35 i'm gonna head home guys, i cant be at work too late tonight :) Jul 22 00:52:43 its not like this all the time Jul 22 00:52:54 jasta, going to be on later? Jul 22 00:53:20 yeah ill be here Jul 22 00:53:31 peace jasta :) Jul 22 00:53:38 cool Jul 22 00:57:51 seeya jasta Jul 22 00:57:57 my memcard is fine >:| Jul 22 01:13:49 AttractiveApe: does android suck down on your battery? Jul 22 01:14:36 heh, not too muc Jul 22 01:14:44 but I keep mine charged regularly. Jul 22 01:16:46 i wiped my phone back to the default last week, and my battery life has been much much better Jul 22 01:17:11 i didn't have anything on it to begin with, but something obviously changed Jul 22 01:18:13 heh, you have android running on your touch michaelnovakjr_? Jul 22 01:18:27 yea Jul 22 01:18:51 bluetooth between linux and my win mobile works Jul 22 01:18:58 nice Jul 22 01:20:10 michaelnovakjr_heh, you'll have to show me how you did that, I didn't get it to work. Jul 22 01:20:23 michaelnovakjr_have you done any firmware updates on your Vogue, gps unlocks, etc? Jul 22 01:20:23 a restore? Jul 22 01:20:27 nope Jul 22 01:20:31 no, bluetooth Jul 22 01:20:32 just a clean restore Jul 22 01:20:36 oh Jul 22 01:20:44 i'm running ubuntu on a macbook pro Jul 22 01:21:01 You mean you did a hard reset on your Vogue?? Jul 22 01:21:13 Are you running Windows Mobile 6, or 6.1? Jul 22 01:21:20 6 Jul 22 01:21:25 :/ Jul 22 01:21:27 have they released 6.1? Jul 22 01:21:45 for previous devices that is.... i know new devices ship with it Jul 22 01:22:05 There is ROMs from various places that you can use to upgrade. Jul 22 01:22:18 have you tried it? Jul 22 01:22:18 It's really nice to unlock the GPS in the phone though, really handy. Jul 22 01:22:21 yes Jul 22 01:22:34 sweet, i heard battery life improved Jul 22 01:22:37 I upgraded the bootloader, radio, and the Windows Mobile install, all of it :p Jul 22 01:23:07 nice Jul 22 01:23:39 michaelnovakjr_: http://forum.ppcgeeks.com/forumdisplay.php?f=48 Jul 22 01:24:28 sweet thanks Jul 22 01:24:40 i'm writing a flac player for win mobile Jul 22 01:24:50 all of the ones out there cost money Jul 22 01:26:07 michaelnovakjr_ http://picard.exceed.hu/tcpmp/test/ Jul 22 01:26:21 tcpmp is one of the best, download the plugin for flac too. Jul 22 01:26:38 there's a v0.8 beta someplace, don't remember where Jul 22 01:27:23 sweet Jul 22 01:27:33 http://www.badongo.com/file/4055874 is for 0.81 Jul 22 01:28:14 thanks Jul 22 01:28:19 np Jul 22 02:38:21 jasta **ping Jul 22 02:38:33 hiya Jul 22 02:38:53 how's it going Jul 22 02:38:59 good :) Jul 22 02:39:25 i had to reboot the device, once i did that network was faster Jul 22 02:39:45 i'm almost done with the browser part of Glance Jul 22 02:40:28 so i take it five still failed for you too? Jul 22 02:40:54 i can try it now.... do you have a server running? Jul 22 02:41:07 yes, at my ip Jul 22 02:41:31 the UI doesnt work quite right (i assume a larger resolution), but you can get around it by just using the dpad to position to the OK button off screen Jul 22 02:41:34 and hitting it Jul 22 02:41:41 booting back up android now Jul 22 02:41:49 i was playing with Glance on the device Jul 22 02:46:57 just get a real device Jul 22 02:47:22 huh? Jul 22 02:48:56 ? Jul 22 02:49:31 Oh, they aren't out. Jul 22 02:49:36 I see what you did there, that was funny. Jul 22 02:49:46 :) Jul 22 02:51:16 synchronizing ** Jul 22 02:59:17 did martin write the sms app? **** ENDING LOGGING AT Tue Jul 22 02:59:57 2008