H4×0r – running a webserver on your phone (.net & flashlite)

Filed under: Flash, General — Wrote by Campbell on Tuesday, March 27th, 2007 @ 5:34 pm

Yep not to be outdone by Nokia and their web server I took my IMate smartphone and installed a webserver on it. ON THE PHONE. And now flash lite apps can access any .net functionality that it wants like turning on the GPRS, accessing contacts, dialing numbers, sending text messages….

Its all completely hacked and I wouldn't recommend it for production, but it is pretty cool. If I really wanted I could write remote control for the phone too. So that I call webpages from my desktop and tell my phone to do stuff.

How to do it:

download and install the vxWeb web server on your phone. It runs a freaky cgi style execution which I made a simple cgi interface to .net dll assemblies. Let me know if you want the cgi interface wrapper. Against that .net interface I just place methods and classes which can be called. 

I just used a simple rest xml post using flash lites xmlsocket to call .net assemblies, and load the response.
Now this is on the phone. The flash lite displaying on my phone calls localhost (the web server on the phone) and  passes an xml structure defining what I want the .net assembly to do. The webserver calls the .net and tells it to do stuff. The .net responds and returns any data needed back (like contacts).

Whats the next step? Well I see there is a CE driver for my phidget so I might try remote controlling my phidget through my phone through my wireless network or GPRS to steer my car lol …….. all very geeky but fun.

Heres a photo of the vxWeb Server running…not much I know but it pretties the page up.

 

9 Comments   -
  • Comment by Paul Buchhorn - Online Marketing News | August 30, 2007 @ 11:41 pm

    it works realy? it a litle bit unbelivebel.

  • Comment by Studium | September 14, 2007 @ 7:01 am

    nice system!! regards paul

  • Comment by Fernstudiun | October 2, 2007 @ 1:27 am

    systems works suc.

  • Comment by Fernstudium | October 5, 2007 @ 10:23 pm

    nice application !

  • Comment by BAföG | December 13, 2007 @ 4:06 am

    Hey Paul,

    I think it´s an innovative idea to do thinks like that with a smart phone.

    We´ll see, what the future keeps.

    best ragards

    bafög

  • Comment by shopping | June 5, 2008 @ 2:20 am

    It would be pretty sweet if you could remote control your phone from the desktop (although, I don’t know how practical that is.)
    It’s far more practical, and a heck of a lot more sweeter, when you can control your desktop and server through your phone! Now, that’s cool – and it looks like you’ve done it. So, well done for that. The first time my brother showed me something similar on his iMate I was enthralled. Then, he rebooted the server from his Mobile Phone while we were having dinner – now that was cool!

  • Comment by Vanessa | June 4, 2009 @ 3:58 am

    nice

  • Comment by Kredite | February 7, 2010 @ 11:16 am

    A nice phone ;)

  • Comment by Dritter Versuch | February 21, 2011 @ 3:30 am

    Very stylish phone. But a iphone is more than awesome!

Leave your comment

© Flex developer, Campbell Anderson, from New Zealand – xsive blog -