Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Cheaper CodeWarrior IDE for P800, comment on P800 developing

8 replies · 8,048 views · Started 14 November 2002

Metrowerks have released a lower cost version of their IDE for the P800 SDK. Its called the Personal version 2.0. Its is limited to supporting only UIQ and Symbian 7. Currently this means only the P800, but may mean it will support a future Motorola device. Either way its cheaper than the professional edition retailing at $395 instead of $1395. Thanks to Klarisma for the heads up. Read the full story for some comment.

You can find out more about the Personal Edition here.

It seems that Metrowerks have been listening to people in their sedire for a cheaper version of their product. It is cheaper, but it still can't be described as entry level development.

People see UIQ as a for cost SDK, it is not. UIQ SDK is free its the IDE that costs money. For the Series 60 you get the SDK free but if you want to use an IDE you need to buy one - for example MS Visual C++. This isn't always clear and the problem Metrowerks and Sony Ericsson face is many people already have the MS tools and for them Series 60 development is effectively free. The same can not be said for the P800, almost everyone is going to have to buy the Metrowerks IDE if they want an IDE. This extra costs is inevitably going to effect P800 development; it will drive away novice developer or those who simply want to play.

The UIQ SDK is availble for free from here. According to Sony Ericsson you use the UIQ SDK to build applications for the Sony Ericsson P800/P802 phones. The SDK contains library files, documentation, sample code, tools and utilities for building P800 applications in C++ and for creating installation files of C++ and Personal Java applications. It also includes a UIQ emulator, which requires CodeWarrior Development Studio for Symbian OS to run C++ applications.

What this means in practise is that easy C++ development means you are going to have to by the Metrowerks in some form or other. If you interested just in the P800 the Personal version above seems a good bed, but if you are more focused on Symbian OS generally then the professional version is a good idea. The professional version also offers the benefit of being able to debug on the device.

And if you're interested in Java? Well, things look better. There is an entirely free route as descibed by Sony Ericsson: The UIQ SDK includes support for both Personal Java and J2ME CLDC/MIDP and can be used with Integrated Development Environments (IDE) for Java such as Java ONE Studio 4 (Mobile Edition required for J2ME CLDC/MIDP and Community Edition required for Personal Java) or CodeWarrior Wireless Studio. Use the IDE to build the executable Java file (.JAR file) and then test it in the UIQ emulator or in the IDE�s Java emulator.

The Sun Java ONE Studio 4 is available for free.

Hopefully that clears a fews things up... Remember all the Symbian SDK's are free, the IDE's are what cost the money. In reality Metrowerks might be better value having been specifically designed with Symbian in mind and with future Symbian development being strongly inclined this way. Series 60 on the other hand relies on MS Visual C++ (now discontinued, though some people have got everything runnin under .NET), an IDE not designed with Series 60 in mind, and an IDE which does cost. Ask yourself this questions - would you use an IDE designed for what your developing for or or one where the SDK is effectively bolted on the top. Metrowerks makes developing for Symbian easier, its going to be a painful transition getting there, but one there the developer expereince becomes much better and the true power of the Symbian OS can be better utilised. Bare this in mind when making your decisions!

Disclaimer: Rafe (me) isn't a programmer but I hope I know what I'm talking about somewhat.

Perhaps I am being nieve here, but I would have thought the best model would have been to provide a non commercial version available for download for free or very cheap (say �50-�75).

By non commercial, I mean that it would be fully functional but the licencing terms would not allow you to sell anything developed with it. That way, freeware can be wriiten and ditributed bringing positive publicity. Also, many more people would be willing to dip their toe in the water, and if it looked like they may be able to produce something then they would be able to go ahead and buy the full version.

On a slightly different note, how difficult do you think it would be to use this IDE to develop for OS 7 and then modify the results to work on Series 60 and Communicator platforms ?

Zuber

100% agree with you Zuber (and I am a professional programmer)
I feel I have the skils and will to invest some of my private time to get self-aquainted to metrowerks IDE + Symbian SDK but I definitly am not willing to commit my money upfront without knowing for sure that I will be able to do something meaningfull with those tools.
Java is an alternative but you canot have access to all the resources from the OS from Java.

Hello,
I'm new to P800 community. I'd like to try to develop some applications for P800. Could anyone help me to decide what is the bast way to create a first app for P800?
I have no experience with Symbian. No experience with C++ or Java 😉)))
I know languages like TransactSQL, VBA, VisualBasic, Abap, Pascal...
I thing I can learn C++ or Java quickly. Is C and Java the only way how to create an application for Symbian/P800?
Are there any free (for non-commercial use) development tools (or trialware)? What about the P800Emulator for testing?
Is there any free (and good) tool like for PocketPC platform - Embeded Visual Studio (VisualBasic and C++ fro WinCE), which is for free? Or is Ericsson stupid that they don't support their developers? (would be even the best smartphone any worth without bunch of applications?)
Thank you for any information,
[email protected]

Please send the response to my email, I don't read discussions often.

Hello, there are three categories of applications that you can develop for P800 where the runtime environments for execution comes as standard on the device as manufactured :

J2ME/MIDP 1.0 applications (MIDlets)

PersonalJava applications

SymbianOS (C/C++) native applications

---
MIDP applications are developed towards the MIDP 1.0 profile
and can be made to work 'cross platform' depending on what is the developer's priority. You can use any existing MIDP developer IDE or toolkit that allow developing towards the 1.0 profile and it should be possible to download/install/run these on P800. Due to the tight sandbox model of CLDC MIDP apps have very limited access to device specific features. P800 users can interact with MIDP apps in 'Flip Open' mode.
The LCDUI graphics library of MIDP is in UIQ mapped to SymbianOS native UI peers so there is a certain UIQ look and feel to MIDP apps.
You can install and run MIDlets on the UIQ emulator if you want to see how it appears on the actual device. There is one significant difference to the device however. P800 uses a customised version of the KVM where the size of the Canvas area is limited to 208x172 pixels because of a need to display a soft button keypad in Canvas mode on this device. (On the emulator the offered Canvas height is appr 230 pixels).

There is also a plugin available for the Sun Wireless toolkit that shows a P800 device skin, and which can be used towards the free Sun Studio One Mobile Edition IDE. The Metrowerks Codewarrior Wireless Studio 7 IDE
is recommended for P800 Java development but any IDE you normally use for MIDP will technically work for the development.

---
PersonalJava is in case of P800 offered as an alternative to native C++ development for those who require a more detail access to device features. The Java programming language offers the potential for a higher productivity than developing to native SymbianOS where there is steep learning curve for a beginner.
PersonalJava applications tend to be focused on targeting a certain OS platform (such as a UIQ device) due to the limited amount of mobile devices that come with a full Java environment.
PersonalJava offers JNI support (ability for third parties to develop native extensions towards the underlying SymbianOS platform API's). Developers can package such applications (and any JNI extensions they develop) in a SIS install file for end user installation. JNI development requires SymbianOS C++ competence and is thus an undertaking only for more advanced developers.
PersonalJava applications should be treated securitywise equal to native applications due to the possibility for file system accesss and native interfacing, e.g the end user will need to trust the application not to take malicious actions the same way as for a native application. It is therefore mandatory for commercial quality productions to arrange for having their SIS files digitally signed/certified so that the content can be trusted for installation by end users. The free Symbian UIQ SDK is essential for a PersonalJava developer to get access to documentation and packaging tools. You can use any favourite Java IDE that support personalJava development. For P800 the Metrowerks Codewarriour Wireless Studio product is offered which has the SIS packager integrated with the IDE.

---
Native applications (SymbianOS C/C++) are typically a route to consider for professional developers who wants to make use of the public native API's offered in the UIQ SDK, and where there are specific performance requirements that can only be solved in native code. Native applications are packaged for end user installation in SIS files. For commercial grade releses these should be certified and digitally signed so that end users can trust in who produced the content and thus be able to take an informed install decision. The supported route for developing native applications is the Metrowerks Codewarrior for SymbianOS Professional Edition IDE in combination with the free Symbian UIQ SDK. Recently a lower cost 'Personal Edition' of the Metrowerks IDE has been released as well. Skilled SymbianOS developers can use the UIQ SDK standalone for building THUMB binary builds (that run on P800) but there is no supported way of running native apps in the UIQ emulator without having Codewarrior installed.

Regards,

If you want to evaluate the CodeWarrior for Symbian OS, there's an 15 evaluation version available by contacting Metrowerks in the US, Switzerland, Hong Kong, or Japan.

We'll be adding Series60 support in the next couple of months.

It's worth noting that Symbian made a strategic decision to move off of Visual Studio-built emulators with Symbian v7. Sony Ericsson developed their device on Symbian OS v7 and uses the UIQ SDK from Symbian, so they can only use CW for Symbian OS.

As many commentators have noted, you have lots of choices when you want to develop for Symbian. We believe the CodeWarrior environment for Symbian gives developers targeting Symbian v7 devices, and soon Series 60 devices, a fantastic productivity advantage over Visual Studio. We welcome you to evaluate CodeWarrior and to review the whitepapers on our site on the differences between Visual Studio and CodeWarrior, as well as the benefits developers can get from being able to debug applications on the P800 using the CW debugger.

D'Arcy Salzmann
CW for Symbian OS product manager
Metrowerks

Hu... I wanted to download the SDK and test and code in my spare time. But this situation (I need to buy an IDE for using the SDK), is telling me: you as a independent developer are not wanted!

Sorry, but this is very frustrating!

Well, if I can't use UIQ/Ericcosn I have to try at Nokia. Perhaps they have some SDKs I can use on their products?

[quote="Anonymous"]Hu... I wanted to download the SDK and test and code in my spare time. But this situation (I need to buy an IDE for using the SDK), is telling me: you as a independent developer are not wanted!

Sorry, but this is very frustrating!

Well, if I can't use UIQ/Ericcosn I have to try at Nokia. Perhaps they have some SDKs I can use on their products?[/quote]

Excuse me, but what's your point? Did somebody tell you that you are not wanted because you are an independent developer?

Or are you complaining that you have to buy a compiler in order to be able to develop programs? Actually, you don't have to buy a compiler: you can use the gcc compiler which is shipped with the Symbian SDK's (P800, Series 60 etc.) but you can compile only for hardware target.

[quote="simeonbubblegum"][quote="Anonymous"]Or are you complaining that you have to buy a compiler in order to be able to develop programs? Actually, you don't have to buy a compiler: you can use the gcc compiler which is shipped with the Symbian SDK's (P800, Series 60 etc.) but you can compile only for hardware target.[/quote]

The point is: without buying $$$ IDE, no working SDK, no emulator.

You can't compile and run programs, b/c emulator doesn't work without this special IDE being installed. A SDK without efficient test environment is not atractive in my eyes.

The message is: buy this IDE or dont use UIQ.