**** BEGIN LOGGING AT Sat Sep 20 02:59:57 2008 Sep 20 05:36:19 so i have a touch now Sep 20 05:36:30 this is insane they want me to pay $10 just to get apps on it lol Sep 20 05:37:15 they didn't give you a version with 2.0 on it? Sep 20 05:37:46 take it back to Walmart, they should have given you an updated one Sep 20 05:38:19 the version 2.0 iTouch should have iPhoneOS 2.0 loaded by default Sep 20 05:40:03 hmm Sep 20 05:40:08 maybe it wanted an update to 2.1 or something Sep 20 05:40:19 how do i check what version it has on the device? Sep 20 05:40:21 prolly in settings Sep 20 05:40:24 the 2.1 update should be free if you already have 2.0 Sep 20 05:40:28 yes, that should do it Sep 20 05:40:58 ouch says it came with 1.1.5 Sep 20 05:41:01 i dont care Sep 20 05:41:03 How retro! Sep 20 05:41:12 im prolly going to return it in a week or pawn it off on ebay P Sep 20 05:41:13 :P Sep 20 05:41:35 i typically dont like apple stuff Sep 20 05:41:45 but gotta hack this remote stuff ;) Sep 20 05:42:05 oh crap i prolly agreed to some eula that said i wouldnt do it Sep 20 05:42:08 lulz Sep 20 06:09:34 yooy Sep 20 06:27:54 http://too.blogspot.com/ Sep 20 08:05:25 YAY! Sep 20 08:05:30 ive got it working Sep 20 08:05:37 * umdk1d3 tries further Sep 20 08:07:07 w000000000t! Sep 20 08:07:12 ive got itunes pairing working ^.^. Sep 20 08:07:23 nice Sep 20 08:07:29 its totally possible to have android hook up to itunes and be a remote Sep 20 08:07:30 =D Sep 20 08:07:42 im doing it all using netcat right now Sep 20 08:07:46 but it works =D Sep 20 08:07:54 very cool Sep 20 08:08:05 * umdk1d3 dances around room Sep 20 08:11:06 * umdk1d3 goes to find celebratory food Sep 20 08:45:52 umdk1d3: congratus Sep 20 08:52:19 umdk1d3: congrats Sep 20 09:27:00 wow dude Sep 20 09:27:04 umdk1d3 Sep 20 09:27:15 i go out and get a few beers, and you utterly chown itunes Sep 20 09:27:15 way to go Sep 20 09:27:57 and you got a touch! Sep 20 09:28:00 24/7 ftw! Sep 20 09:28:03 lol Sep 20 09:28:09 walmart? Sep 20 09:28:16 nah target before they closed Sep 20 09:28:33 ah nice Sep 20 09:28:45 but the pairing thing is where it prompts for the 4-digit code Sep 20 09:29:12 it ends up that itunes doesnt care what the touch sends back as its pairing code Sep 20 09:29:17 just as long as it matches in the future Sep 20 09:29:29 and it talks mdns both ways Sep 20 09:29:51 still took forever to dissect it tho Sep 20 09:30:22 interesting Sep 20 09:30:30 but at least it's using dns as the protocol Sep 20 09:30:31 and the rest is pretyt much cake because once pairing is done it talks daap Sep 20 09:30:37 its using dns a little bit Sep 20 09:30:57 touch --paircode--> tunes Sep 20 09:31:10 touch --paircode+port(dns)--> tunes Sep 20 09:31:32 touch <--pairhash(http)-- tunes Sep 20 09:31:45 where pairhash is some combination of the paircode and the 4 digit code entered by user Sep 20 09:32:11 ah Sep 20 09:32:15 touch verifis it somehow, and will return a finalized pairing code that itunes then records internally Sep 20 09:32:29 so anything authenticating with that finalized pairing code automatically gets in Sep 20 09:32:51 so the "touch" (aka android) can return any finalized code that it wants Sep 20 09:33:01 just ask long as it talks enough mdns to make itunes find it Sep 20 09:33:26 sounds like a lapse in security on their part Sep 20 09:33:27 we would need to reverse engineer the md5 if we wanted to have the touch control, say, amarok Sep 20 09:33:51 who generates the md5? Sep 20 09:33:55 well, no matter Sep 20 09:33:59 at some point it is compared regardless Sep 20 09:34:05 attach a debugger to the touch, or to the itunes Sep 20 09:34:06 :) Sep 20 09:34:17 itunes mixes the dns-provided-prepaircode and the 4 digits entered by user Sep 20 09:34:54 problem is that we cant forward udp ports from the emulator Sep 20 09:35:22 but a real device might work Sep 20 09:35:39 i believe TCP/UDP will be unrestricted by a device Sep 20 09:35:40 or we could have a python script talk the syncing stuff to fake itunes into pairing Sep 20 09:35:50 http://eprint.iacr.org/2006/105.pdf there u go Sep 20 09:36:00 that way the android device wouldnt need to talk mdns at all Sep 20 09:36:40 ooh Sep 20 09:37:03 the md5 shouldnt be too hard to break Sep 20 09:37:08 beucase its happening on the itunes side Sep 20 09:37:13 unless they prevent debuggers Sep 20 09:37:18 which i think they might Sep 20 09:37:24 to protect drm audio most likely Sep 20 09:37:33 but it ends up protecting this stuff too Sep 20 09:37:51 they definitely prevent debuggers Sep 20 09:38:06 :/ Sep 20 09:38:07 I can't say any more than that Sep 20 09:38:54 I can say that since it's pretty much public knowledge. Sep 20 09:39:52 what you work for pear? Sep 20 09:40:13 in the past Sep 20 09:40:26 not for orange? Sep 20 09:41:08 signed a NDA so can't say anything much about tech details. Sep 20 09:41:16 apple as a company has always vaguely annoyed me...Im not sure why. Sep 20 09:41:23 their business strategy at the moment is quite good though Sep 20 09:41:25 gambler: it's just a company. Sep 20 09:41:39 I didnt say it was rational... Sep 20 09:41:42 ah Sep 20 09:41:55 I have friends who have hated Apple for a long time Sep 20 09:42:29 one of them pretty much refuses to use any PC that he can't in theory assemble off of parts from the shelf Sep 20 09:43:02 after a bad experience with trying to fix an early Macintosh himself Sep 20 09:43:10 lol Sep 20 09:43:37 well the one thing driving me nuts right now is their ads Sep 20 09:43:45 they mark "pc"s as only being windows >:/ Sep 20 09:43:50 when linux is amazing Sep 20 09:44:08 yeah, it took Torx-head screwdrivers and a special spreader to open the old Macs Sep 20 09:44:19 back when nobody had Torx-head screwdrivers Sep 20 09:44:45 Linux is alright. they're all good for different niches. Sep 20 09:45:30 the major OS's, and the BSD's/Solaris family Sep 20 09:46:17 umdk1d3: yeah, and PC World mag spends half their time praising Apple products Sep 20 09:46:55 but the distinction is pretty much made in the eyes of the public, PC's aren't Personal Computers but IBM-compatibles running WIndows Sep 20 19:47:56 hi Sep 20 19:48:23 I've this error when I ran an app: HelloAndroid] Could not find HelloAndroid.apk! Sep 20 19:48:35 I use eclipse under debian sid Sep 20 19:49:35 how can I resolve? Sep 20 21:38:02 ~. Sep 20 21:38:03 . Sep 20 22:02:29 anyone got an example on an HTTP put? Sep 20 22:23:17 er, POST Sep 20 22:26:31 basically, whats the class that implements the HttpClient interface? Sep 20 22:27:04 private DefaultHttpClient httpClient; Sep 20 22:27:08 httpClient = new DefaultHttpClient(); Sep 20 22:27:22 HttpGet httpget; Sep 20 22:27:25 httpget = new HttpGet(httpBase + uri); Sep 20 22:27:30 response = httpClient.execute(httpget); Sep 20 22:27:31 etc. Sep 20 22:27:43 thanks! Sep 20 22:39:28 how do you remove shortcuts and apps from your background screen? Sep 20 22:40:08 taaz: start dragging it. you'll see the trashcan at the bottom of the screen Sep 20 22:41:07 ahh. i see. i was foolishly trying to drag it left and right which just slides the screen Sep 20 22:47:40 * umdk1d3 is drowning in packet dumps Sep 20 22:47:49 it turns out that only half of the protocol is documented Sep 20 22:47:56 daap works great for the library management Sep 20 22:48:05 but dacp is the control protocol and is brand new Sep 20 22:48:22 ive got most of it decoded, but im sick of looking at hex dumps now lol Sep 20 22:54:57 no one has reverse engineered that yet? Sep 20 22:56:01 ive googled alot of the stuff im seeing Sep 20 22:56:14 i found one google project where someone was creating a remote-able server Sep 20 22:56:37 but he only had some very initial work done, and that about a week ago Sep 20 22:56:55 http://code.google.com/p/stereo/source/browse/DAAPLib/trunk/src/dacp/DACPTreeBuilder.java?spec=svn291&r=291 Sep 20 23:17:50 yay! ive got the keepalive stuff figured out too =D Sep 20 23:18:02 * umdk1d3 goes to find food Sep 20 23:55:35 how do I retrieve a drawable? I'm trying to call this method: Sep 20 23:55:37 progressDialog.setIndeterminateDrawable(Drawable d) Sep 20 23:55:56 R.drawable.progress_icon is an int... Sep 21 00:03:52 is there anybody in there? Sep 21 00:03:57 just nod if you can hear me Sep 21 00:04:03 is there anyone home? Sep 21 01:09:20 dondani Sep 21 01:09:27 yup Sep 21 01:09:29 getResources().getDrawable(...) Sep 21 01:09:30 or something Sep 21 01:09:53 BitmapFactory.bleh Sep 21 01:09:56 or i could just dig in my code Sep 21 01:10:19 nice Sep 21 01:10:22 thank you Sep 21 01:11:00 BitmapFactory.decodeResource(mContext.getResources(), R.drawable.walk), Sep 21 01:11:08 well depends Sep 21 01:11:13 you can pass a drawable Sep 21 01:12:05 getResources().getDrawable(R.drawable.bleh) Sep 21 01:14:47 getResources().getDrawable(R.drawable.bleh) worked just fine Sep 21 01:14:49 many thanks Sep 21 01:31:29 if i want to observe all changes to say, contacts Sep 21 01:31:39 and i get an onChange() event, how do i see what has changed/ Sep 21 01:42:10 looks like it's impossible Sep 21 02:12:55 im looking at a 'tabHost' example and there is an xml file that looks seperate from androidmanifest.xml. Sep 21 02:13:13 the example does not give it a filename. where should a file like that go? Sep 21 02:13:23 example: http://www.anddev.org/how_to_create_tab_in_android-t1102.html Sep 21 02:16:43 res dir Sep 21 02:17:17 oh res/layout/, thx Sep 21 02:37:41 yay! ^.^ Sep 21 02:39:45 more itunes goodness? Sep 21 02:45:33 i'm glad i'm not the only one hacking code tonight **** ENDING LOGGING AT Sun Sep 21 02:59:57 2008