Tag Archives: Mac

Connecting from iPhone to Firebird

During the Friday I realized, that I did a long time nothing with my iPhone & MonoTouch development environment and I should try something more challenging. As I’m still fighting with some good idea for real world test application and my UIs are looking weird, I decided to turn my attention not to iPhone app directly, but to MonoTouch capabilities.

As a true geek I decided to try to connect to Firebird from iPhone. Although, thinking about it, I’m trying to connect to Firebird (or make it work with) with various technologies (Astoria offline, Silverlight, etc.). Because .NET provider for Firebird is pure C# and we have Mono compatible build, I deduced that it should work with iPhone too.

Sure, it’s a nice challenge to whole MonoTouch stack, because the .NET provider is more about the code than about the application itself. And we’re using there a lot of different things that can go wrong or may not be available or compilable to native code. And I have to say, the guys behind MonoTouch did a great work (I still can’t believe it).

With couple of minor tweaks I was able to create application that connects from iPhone (simulator) through internet to Firebird server. Pure C#, no hacking or major problems.


Application connecting to Firebird server and showing the server version.

First I’m impressed how mature the MonoTouch is. Second I’m still trying think thru all the possibilities you have with this. With some work on UI you can deliver the same database oriented application to Windows Mobile and iPhone using the same business layer (sure some webservice approach would be better, but …).

Interface Builder crash

I think the whole iPhone SDK knows I’m from the other side of the barricade. :D What else would explain the error I faced today after less than a minute when working in Interface Builder.

On the other hand I was brave enough to send the error report (as I was able to reproduce it quite easily), so maybe it’ll be fixed in next version. Good turn? Anyway sooner or later I’ll convince the machine that I’m not a bad guy.

That’s an installation…

Today I was installing iPhone SDK (in fact that’s first time I was installing something such big on Mac) and at the end of the installation the installer started optimizing system (yes, system) for installed software. :D Funny. Hopefully it was not creating new kernel. :) Just wondering, what would happen if this crashes…

OK, before all Mac-friendly people will kill me, I’ll make a simple statement. I’m not using Mac regularly and that’s why I sometimes found something funny and why I’m making fun of it (and because I’m Windows user ;) ).