I am going mad for the iPhone. I just ordered the new iPhone 3gs and like any developers, I want to give my 2 cents. I want to talk with you about the development program and what you can really do with the Cocoa Mobile Framework and compare it with Windows CE development.

Mobile framework with Microsoft NET.

This is the most used, cool and easy framework to use in order to develop mobile application for windows CE or windows mobile, pocket PC and more. In order to do that, you need to download Visual Studio 2008. That’s it.

Then you can create a new mobile application project and choose from the various options:

image

You can choose the framework (Compact Framework 2 or 3.5), the device O.S. (pockect PC, Windows CE …)

The IDE is simply amazing because it’s visual studio! You can do everything you usually do with the normal Windows Client development. Drag controls, using the final phone interface.

image

You do not need any additional window, it’s like any other development project in C#. The GUI designer, pretty cool, the code editor with the amazing VS intellisense and all the other nice futures of VS.

If you want to enjoy a cool italian community, this user group is managed by some of my friends, and they talk only about mobile development: http://www.ugimobile.org/

Mobile Development for BlackBerry with Visual Studio.

One of the most nasty development environment is the one offered in past for systems like Symbian (Nokia) or BlackBerry.

I have just found at this address: http://na.blackberry.com/eng/developers/rapidappdev/vsplugin.jsp a development toolkit for Visual Studio. With this toolkit we can easily develop application for BB in our Visual Studio environment. Pretty cool!

Of course this is under an enrollment agreement that you can find here: https://www.blackberry.com/CorpDevZone/ but it’s free!

Have a look here:

image

Same as before. You have a nice GUI designer, you can choose the model of the virtual device (BB) and also you can test your application over different model in order to be sure that your application will be feasible for all the blackberry’s users.

Mobile Development for iPhone with XCode and Cocoa.

Ok, first of all you need to know 3 important thing about iPhone development:

  1. You can develop iPhone software only with XCode 3.0 on MAC OSX 10.5.7
  2. You need to install the latest version of the iPhone SDK
  3. You must enroll the Development program, and if you want to sell your applications, you must pay a fee on apple …

Now if you are able to do all these steps, you can open XCode 3.0 on your MAC OSX and try to develop for iPhone. These are some screenshots from my MAC:

image

This is the main screen where you can manage the files. Then, there is the GUI designer, called Interface Builder

image

Finally there is the code: Objective-C. The worst code I have ever used, trust me. This is just a small sample used to build a normal class with a couple of properties:

image

Some final considerations.

Here are my 2 cents about mobile development for Smartphone. Please tell me what you think about and if you are agree with me or not.

  Windows Mobile BlackBerry iPhone
Visual Studio yes yes no
Multi platform no yes no
multi IDE no yes no (yes with mono)
OOP yes C# yes C# yes/no obj.-C
easy SDK yes yes no
enroll program no yes free yes pay

So, as you can see, if you want to join the fun boy iPhone development and make some money, you need to pay something (at least the enroll program and a junky MAC).

If you want to do the same for Windows Mobile and BB it’s completely free.

Also if you do not want big head hake, with the Win or BB development, you can work with the power of C# but the iPhone is running only with objective-C that in my opinion has a very strange and old syntax …

Tags:

Comments are closed.

Post Navigation