Wednesday, February 08, 2006

Mobile Phone Servers

Ok.. so now there is apparently a sudden realization in the community that, yes, you can run a server on a mobile phone.

Now, I am really sorry to rain on the parade here, but this is hardly a newsworthy item in itself. The fact that someone ported Apache is rather fun... but that is about it. And besides, the concept is hardly new: Symbian released on for their communicator servies sometime about 4(?) years ago.

I am, however, going to ignore the prior art and concentrate on what it might provide:

NO, NO, and NO.... sorry guys. Why would I possibly make a web server on my mobile, which may have internet outages due to lack of Wifi and GSM? How about just the boring old central web server, and lots of client ( e.g. your notebook, desktop and mobile phone) connecting to this. In terms of real time update, you can simply have the devices check every minute for updates and pull new information, or use a push approach which tries to contact the mobile devices/notebook/desktop whenever there is some new data.... this is not rocket science here guys.

I'll be honest - Blackberry has a better infrastruture that multiple web hosts.

Sorry to be so down on this hype.

I hate Symbian C++

Well... i have been hating it for some time now.
I have finally achieved something, which for all intents and purposes should be a very simple task: to record audio and muck around a little with the content.

I have finally managed, but damn I wish there were more documentation on this stuff.
In case you happen to be working on this stuff: find the Audio_Streaming_Example.Take a look at it, and understand that in most new versions of symbian, the buffers only get filed with 320 bytes, regardless of how large the buffer is.
Also - make sure that you have an Active Objects timer running. Running this stuff from a console app is virtually impossible.

Oh - and if you don't ingest the object, the timer may stop - i am not clear on whether it always stops, but this is very worth noting. If you happen to be sending stuff over http,be careful, since it may garble the recording if you send anything too large.

So much fun...