I started a project to "demonstrate" Android on existing handsets by
way of a VNC server running inside the Android emulator. After
further exploration I discovered that one already exists, apparently
inside of /system/lib/libsurfaceflinger.so and actually does work.
The performance of this implementation is terrible, and ultimately
would not run well connected to my Moto Q running .NET VNC Viewer
(http://dotnetvnc.sourceforge.net). So, I found an existing project
implementing a framebuffer VNC server and adapted/rewrote it to work
on Android. Performance is still bad, but it is workable and does
let you "see" Android running on a 320x240 mobile LCD which is
certainly very cool.
> I started a project to "demonstrate" Android on existing handsets by
> way of a VNC server running inside the Android emulator. After
> further exploration I discovered that one already exists, apparently
> inside of /system/lib/libsurfaceflinger.so and actually does work.
> The performance of this implementation is terrible, and ultimately
> would not run well connected to my Moto Q running .NET VNC Viewer
> (http://dotnetvnc.sourceforge.net). So, I found an existing project
> implementing a framebuffer VNC server and adapted/rewrote it to work
> on Android. Performance is still bad, but it is workable and does
> let you "see" Android running on a 320x240 mobile LCD which is
> certainly very cool.
Thanks, I had hoped the performance would be better but I guess I am
not surprised. Oh, I did notice I made a small mistake with the
keyboard emulation driver, and have uploaded a corrected binary (and
committed the fix). It should let you simulate keypresses now.
On Dec 29, 12:05 am, Bill Cox <b...@billrocks.org> wrote:
> On Dec 29, 12:53 am, Josh Guilfoyle <jast...@gmail.com> wrote:
> > I started a project to "demonstrate" Android on existing handsets by
> > way of a VNC server running inside the Android emulator. After
> > further exploration I discovered that one already exists, apparently
> > inside of /system/lib/libsurfaceflinger.so and actually does work.
> > The performance of this implementation is terrible, and ultimately
> > would not run well connected to my Moto Q running .NET VNC Viewer
> > (http://dotnetvnc.sourceforge.net). So, I found an existing project
> > implementing a framebuffer VNC server and adapted/rewrote it to work
> > on Android. Performance is still bad, but it is workable and does
> > let you "see" Android running on a 320x240 mobile LCD which is
> > certainly very cool.
> Thanks, I had hoped the performance would be better but I guess I am
> not surprised. Oh, I did notice I made a small mistake with theSo,
> keyboard emulation driver, and have uploaded a corrected binary (and
> committed the fix). It should let you simulate keypresses now.
> On Dec 29, 12:05 am, Bill Cox <b...@billrocks.org> wrote:
> > Awesome hack, Josh!
> > On Dec 29, 12:53 am, Josh Guilfoyle <jast...@gmail.com> wrote:
> > > I started a project to "demonstrate" Android on existing handsets by
> > > way of a VNC server running inside the Android emulator. After
> > > further exploration I discovered that one already exists, apparently
> > > inside of /system/lib/libsurfaceflinger.so and actually does work.
> > > The performance of this implementation is terrible, and ultimately
> > > would not run well connected to my Moto Q running .NET VNC Viewer
> > > (http://dotnetvnc.sourceforge.net). So, I found an existing project
> > > implementing a framebuffer VNC server and adapted/rewrote it to work
> > > on Android. Performance is still bad, but it is workable and does
> > > let you "see" Android running on a 320x240 mobile LCD which is
> > > certainly very cool.
> Now that you've done a VNC client, how hard would a VNC server be?
> It's near the top of my wish-list :-)
> On Dec 29, 4:40 pm, Josh Guilfoyle <jast...@gmail.com> wrote:
> > Thanks, I had hoped the performance would be better but I guess I am
> > not surprised. Oh, I did notice I made a small mistake with theSo,
> > keyboard emulation driver, and have uploaded a corrected binary (and
> > committed the fix). It should let you simulate keypresses now.
> > On Dec 29, 12:05 am, Bill Cox <b...@billrocks.org> wrote:
> > > Awesome hack, Josh!
> > > On Dec 29, 12:53 am, Josh Guilfoyle <jast...@gmail.com> wrote:
> > > > I started a project to "demonstrate" Android on existing handsets by
> > > > way of a VNC server running inside the Android emulator. After
> > > > further exploration I discovered that one already exists, apparently
> > > > inside of /system/lib/libsurfaceflinger.so and actually does work.
> > > > The performance of this implementation is terrible, and ultimately
> > > > would not run well connected to my Moto Q running .NET VNC Viewer
> > > > (http://dotnetvnc.sourceforge.net). So, I found an existing project
> > > > implementing a framebuffer VNC server and adapted/rewrote it to work
> > > > on Android. Performance is still bad, but it is workable and does
> > > > let you "see" Android running on a 320x240 mobile LCD which is
> > > > certainly very cool.
Sorry, Josh... I meant the other way around. I'd like to vnc into
work through my Android phone. Do you know of any effort in this
area? Thanks for the awesome server, though! I gave it a quick spin,
and it's very cool... I'm trying to think of good uses for it, like
maybe when I forget my phone and leave it at home. I really liked
your use: getting Android to come up on a real phone! Kudos, and nice
hack.
-- Bill
On Dec 30, 4:22 pm, Josh Guilfoyle <jast...@gmail.com> wrote:
> On Dec 29, 2:34 pm, Bill Cox <b...@billrocks.org> wrote:
> > Now that you've done a VNC client, how hard would a VNC server be?
> > It's near the top of my wish-list :-)
> > On Dec 29, 4:40 pm, Josh Guilfoyle <jast...@gmail.com> wrote:
> > > Thanks, I had hoped the performance would be better but I guess I am
> > > not surprised. Oh, I did notice I made a small mistake with theSo,
> > > keyboard emulation driver, and have uploaded a corrected binary (and
> > > committed the fix). It should let you simulate keypresses now.
> > > On Dec 29, 12:05 am, Bill Cox <b...@billrocks.org> wrote:
> > > > Awesome hack, Josh!
> > > > On Dec 29, 12:53 am, Josh Guilfoyle <jast...@gmail.com> wrote:
> > > > > I started a project to "demonstrate" Android on existing handsets by
> > > > > way of a VNC server running inside the Android emulator. After
> > > > > further exploration I discovered that one already exists, apparently
> > > > > inside of /system/lib/libsurfaceflinger.so and actually does work.
> > > > > The performance of this implementation is terrible, and ultimately
> > > > > would not run well connected to my Moto Q running .NET VNC Viewer
> > > > > (http://dotnetvnc.sourceforge.net). So, I found an existing project
> > > > > implementing a framebuffer VNC server and adapted/rewrote it to work
> > > > > on Android. Performance is still bad, but it is workable and does
> > > > > let you "see" Android running on a 320x240 mobile LCD which is
> > > > > certainly very cool.