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:
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.
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:
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:
- You can develop iPhone software only with XCode 3.0 on MAC OSX 10.5.7
- You need to install the latest version of the iPhone SDK
- 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:
This is the main screen where you can manage the files. Then, there is the GUI designer, called Interface Builder
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:
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.
|multi IDE||no||yes||no (yes with mono)|
|OOP||yes C#||yes C#||yes/no obj.-C|
|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 â€¦