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

P800 development - Codewarrior???

16 replies · 4,014 views · Started 04 June 2003

Hi,

Is codewarrior necessary when developing c++ applications for the P800?
If yes, is there any other alternative? Codewarrior is really too expensive for me 😞

If you can live without the emulator (writing the code on your PC, and then copying the final binaries to the phone for testing) then you don't need CodeWarrior (just the P800 SDK).

If you want to develop & test with the emulator on the PC, then CodeWarrior is the only alternative you have at this point of time.

I bought the book Symbian OS Communications Programming. The book uses the Symbian OS v6.1 for the Quartz reference design. Any idea if this will be of any use for the P800?

In part. The P800 uses Symbian OS 7.0 and UIQ 2.0. (UIQ used to mean "User Interface for Quartz"😉.

Ok all these SDKs and such are getting a little confusing for me. Pls correct me if I'm wrong.

1) The Symbian OS v6.1 for the Quartz reference SDK is only for the Nokia phones. Hence the simulator included in this SDK cannot be used for the P800.

2) The UIQ is also existent in the P800 SDK, but point 1 still applies.

A bit of confusion here I think.

Symbian OS v6.1 was made available with Quartz as its "reference design" (or UI platform) when released by Symbian. It might still be possible to get SDKs including Symbian OS v6.1 and Quartz from Symbian (check http://www.symbian.com).

Nokia exchanges the Quartz UI for its own Series 60 UI on top of Symbian OS v6.1, makes phones using that and ships an SDK for creating software for those phones. You have to get this SDK from Forum Nokia at http://www.forum.nokia.com.

Symbian OS v7.0 is available in the P800 together with the UIQ UI platform (which is a continuation of Quartz). The UIQ SDK that enables developers to create software for the P800 (and other phones based on Symbian OS v7.0 and UIQ v2.0) can be found at Ericsson Mobility World at http://www.ericsson.com/mobilityworld and bundled with Metrowerks CodeWarrior IDE.

So, for 1) if you get a Series 60 SDK, then you're correct in that the simulator (or emulator as it is referred to in the SDK documentation) cannot be used for the P800. If you get a Quartz v6.1 SDK from Symbian, for some things, you could potentially use the emulator when developing for the P800, although there's probably been enough changes from 6.1 to 7.0 for you to encounter all kinds of problems in attempting this. Not the least that the emulator in Quartz 6.1 SDK uses a 240x320 resolution, whereas the P800 uses 208x320 resolution (as supported by the UIQ v2.0 SDK).

As for 2), the SDK that is available for the P800 is the UIQ SDK.

Regards,

/Cruizer.

Hi again,

I have downloaded the UIQ SDK. But all the instructions there refer to using CodeWarrior to compile the code. If there is any, can someone pls point me somewhere where I can get instructions on how to compile my programs (for the P800).

Thanks.

I explored the folder a little. Saw some GNU tools in there. Am I supposed to use the GNU C++ compiler to compile the C++ programs?

The general development cycle, if you have CodeWarrior, is to compile for the WINSCW target (using the CodeWarrior compiler), run the application in the emulator and debug it from the CodeWarrior IDE.

Once you're happy with the results, you compile the application for the ARMI target using the GCC compiler included in the SDK. You then need to package the application as a .sis file, transfer it to the phone where you install it, then run the application and do final testing there.

You can of course skip the section that requires CodeWarrior, but the packaging, transferral, installation, and very limited debug facilities when running on the phone means that your development cycle will probably be longer and more painful than strictly necessary.

Regards,

/Cruizer.

Ok guys.

I have successfully compiled the HelloWorld program after hours of trials and errors, and reading up bits and pieces of articles from all over the place.

I managed to get my hand on CodeWarrior 7. I tried following the instructions. First I installed VC6, then I installed CodeWarrior. Then I installed the Symbian OS SDK. However, contrary to the instructions, I was not given the option to install the CW plug-in.

Anyone has a clue?

You need Metrowerks CodeWarrior for Symbian OS with an SDK specifically designed for CodeWarrior.

For UIQ, that's the Sony Ericsson SDK only, for Series 60 there's one for Microsoft Visual C++ 6 (Visual Studio 6), a second for Borland C++ Builder 6 and a third version for CodeWarrior.

Start looking here.

I would just like a confirmation.

I'm developing a software for the Ericsson P800. So I will download the
CodeWarrior Development Tools for Symbian OS� Personal Edition??

Hang on, they are only allowing us to download Series 60 SDK for Symbian OS, CodeWarrior Edition......

The Personal/Professional Edition is correct, but I believe you need to specifically request (email?) a Metrowerks rep for an evaluation version, or buy it (if you don't get an eval version otherwise; seems to be one on the CD with the Symbian OS C++ for Mobile Phones book).

What's different between tril and full version of CodeWarrior? can you use trial version of develop and test app for P800 emulator?