H4×0r – running a webserver on your phone (.net & flashlite)
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.

it works realy? it a litle bit unbelivebel.
nice system!! regards paul
systems works suc.
nice application !
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
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!
nice
A nice phone
Very stylish phone. But a iphone is more than awesome!