**** BEGIN LOGGING AT Sun Dec 23 02:59:56 2007 Dec 23 03:20:29 i am so confused Dec 23 03:20:44 the VNC protocol as documented by http://www.realvnc.com/docs/rfbproto.pdf does not seem to be accurate. Dec 23 03:21:43 there seems to be some unusual intermediate authentication step or something Dec 23 03:21:53 there's a "vnc protocol"? I thought each vnc system used its own Dec 23 03:24:52 no Dec 23 03:33:34 oh i get it, they specify "padding" and i'm just supposed to know how many bytes they mean. Dec 23 03:33:38 assholes Dec 23 03:35:12 this is the suckiest protocol ever. byte-packed struct's everywhere. Dec 23 05:06:31 wow, i sure hope this is some kind of elaborate trick. Dec 23 05:09:14 * jasta shoots himself in the face Dec 23 05:09:20 turns out, QEMU already implements a VNC server natively. Dec 23 05:09:25 who fucking knew that!? Dec 23 05:10:33 in fact, all you have to do is run emulator -qemu -vnc 0 Dec 23 05:10:44 although it seems to be totally fuckin broken Dec 23 05:13:16 hmm, yeah, it's very very broken. Dec 23 05:17:00 wait, what is going on here!? it seems there are two VNC server implementations at work Dec 23 07:28:05 D/RFBServer( 463): RFB Server Thread created Dec 23 07:28:06 hmmm Dec 23 07:29:38 # strings /system/lib/libsurfaceflinger.so | grep RFB | wc -l Dec 23 07:29:39 81 Dec 23 07:38:02 got a connection. wrote a little proxy and made it work. Dec 23 07:38:08 E/RFBServer( 463): The builtin VNC server doesn't support this pixel format Dec 23 07:38:09 fuck. Dec 23 07:38:35 fuck i wish i had the source to this thing. Dec 23 07:53:51 teehee, made it work. Dec 23 07:55:40 it's slow as hell, but i expected that. Dec 23 07:55:41 and it works. Dec 23 07:55:43 sorta. Dec 23 07:56:03 i may still need to write a proxy that fixes up their shit protocol implementation. Dec 23 08:44:56 yay, got it working over a real network connection Dec 23 08:45:00 it's slow as SHIT :) Dec 23 08:51:18 fuckkkkinnng google. Dec 23 08:51:27 they send the wrong handshake. Dec 23 08:51:37 they sent "RFB 003.003\0" as their version number. Dec 23 08:51:43 protocol mandates "RFB 003.003\n" Dec 23 08:51:52 and this breaks the only VNC viewer that works on Windows Mobile. Dec 23 08:52:00 * jasta curses loudly Dec 23 09:05:20 well, hacked around that problerm Dec 23 09:05:23 problem* Dec 23 09:09:58 ugh, more problems. google's implementation is insanely picky. Dec 23 09:10:23 somehow i'm forced to wonder if i couldn't just implement this better myself. Dec 23 20:44:02 any google engineers around? Dec 23 21:02:29 Pretty sure they are mostly on vacation. Dec 23 21:17:57 yeah, i expected as much Dec 23 21:57:40 hmm, i cant seem to get my phone to hook up to vmware anymore :( Dec 23 21:57:46 so i cant even test this vnc shit i got working Dec 23 21:59:08 * jasta commandeers his roommates machine Dec 23 22:07:30 oh wait, i have a laptop that dual boots Dec 23 22:07:31 thatll work Dec 23 22:31:44 fuck, i'm gonna need to hack this thing and implement a better encoding. raw encoding is too inefficient for a mobile phone to handle. Dec 23 23:05:25 this is hopeless. you couldn't even generically implement the hextile encoding because of that damned checkered background. Dec 23 23:47:59 http://devtcg.blogspot.com/2007/12/android-rfb-vnc-implementation.html Dec 23 23:48:02 i'm giving up here. :( Dec 23 23:54:46 hey all, i'm trying to populate a UI with a list of objects. Normally i'd use a ListView but I want these objects to be unselectable, i.e. just like a LinearLayout of TextViews or something like that.. Dec 23 23:55:15 I've already constructed my own Adapter and View for the object.. however I can't figure out how to display that list of views in a construct which doesn't allow selecting. Dec 23 23:55:25 anyone have any ideas? Dec 23 23:58:20 i guess one solution would be to scrap the adapter and construct the UI for each object in my list using a for loop. **** ENDING LOGGING AT Mon Dec 24 02:59:56 2007