Newsletter | Advertise | App Shop | CONTACT | Twitter | LinkedIn
     
Sunday, July 05 2009  
Welcome to SymbianOne - symbian OS, UIQ, series 60 programers, S60, wireless developers, device makers, and mobile industry architects
HomeNewsJobsArticlesReviewsDirectoryMagsAboutLBSEVENTSBooks
Symbian S60 Freeware - Check out the new Directory!
Free IT Wireless / RCR Wireless News / Total Telecom / Symbian Search / N95 Blog / Symbian Blogs
SymbianOne Newsletter

Symbian newsletter
 Subscribe to the free SymbianOne Monitor Newsletter

Twitter Button from twitbuttons.com

SymbianOne Sponsors




Symbian Reviews

Symbian Software Reviews 

Main Menu
Home
News
Jobs
Articles
Reviews
Directory
Mags
About
LBS
EVENTS
Books

NewsFeeds


Symbian one RSS feed Add the SymbianOne RSS feed to your reader 

Get daily email updates:


by FeedBurner

 
Free Papers and Pubs.
For The Developer

Symbian Careers
FREE Job Posting!

SymbianOne Stuff!

Mobile Application Store 

 SymbianOne Mosh

Welcome to SymbianOne...SymbianOne.com est. 2003 is pleased to provide our readers with the latest news and developments of interest to developers, system integrators, mobile industry architects, wireless technology professionals. Look for news, feature articles, editorial, application reviews, device updates and more, all focused on the Symbian OS, S60, UIQ and related topics. 

Carbide.c++: Getting Started Print E-mail
Written by SymbianOne   
Monday, 27 March 2006
A common complaint about tools for Symbian C++ development has been the lack of a free offering. With the release of Carbide.c++ Express that complaint seems to have been addressed. In this first of a series of articles, Richard Bloor looks at the capabilities of Carbide.c++.

Carbide.c++ is an integrated development environment (IDE) based on the Eclipse IDE. Eclipse is well known to Java developers, where it is one of the leading open source Java development tools. In fact, Eclipse its self is written in Java. From its Java roots Eclipse has progressed far beyond a Java IDE, with support for other languages and other application development processes.

Nokia's reasons for picking Eclipse for its Symbian C++ tools are various. The IDE is familiar to many developers, it is open source, it has strong support from the industry, and its architecture is designed to enable expansion and customization. For the student, open source, or non-commercial developer its "free" status means Nokia can offer the first no-cost option for Symbian OS C++ development.

For the absolute beginner the first job is to download Carbide.c++ Express from Forum Nokia and then pick an S60 or UIQ SDK to work with. In this case we have chosen the S60 3rd Edition SDK, mainly because it has the most complex build requirements, although this hardly matters in Carbide.c++ as we shall see.

Carbide.c++ installs simply enough, as do the S60 or UIQ SDKs. Once installed the first thing that needs to be done is to create a workspace for storing application projects.

Carbide.c++ does nothing to restrict where its workspace can be created, but beware. Some of the Symbian build tools have a significant deficiency; they work correctly only if the application under development is on the same drive as the tools, which in a practical sense means the drive the target SDK was installed on. Any seasoned Symbian developer will undoubtedly remember this. However, given that one of the roles of Carbide.c++ Express is to provide new developers with an entry into Symbian OS development, it is unfortunate that Carbide.c++ does not help prevent problems in this area. If a workspace on another drive is selected issues will not occur until the application is built for a device.

Having created a workspace the next step is to create an application project. Carbide.c++ comes with a range of templates for both applications and DLLs. Even though Carbide.c++ is a Nokia product, these templates include UIQ; although the number of templates is limited compared to S60 or Series 80.

From the New menu there are three options for creating a project from a template, one limited to UIQ projects, one to S60 projects and one for all projects, which includes Series 80.

The first step after selecting the project type is to name it and select a workspace, other than the default if desired.

Then select the template on which the project is to be based. There are several options for S60 2nd Edition applications, but just one for S60 3rd Edition.

The next step is to select the SDKs the application will be built for. S60 3rd Edition is straightforward, as there is currently only one SDK. For S60 2nd Edition there could be several possible SDKs to build against, depending on what SDKs are installed. The valid targets can also be selected. Again this may seem odd for the 3rd Edition SDK, which only offers an emulator and phone build, but other SDKs offer more options. In addition, developers working with 3rd Edition who have the ARM RealView Compiler Tools (RVCT) installed, would get three options (or at least they will when the Developer and Professional editions become available, as Express does not support RVCT).

Next the application UID, author and copyright notice are entered.

This is followed by a dialog that allows the source folders for various project components to be defined. Usually these assignments can simply be accepted.

Then Finish builds the project from the template.

This template is a fully working, if somewhat minimal Hello World application, so it is now possible to first build and then run it in the emulator. To build the application all that needs to be done is to select the build option from the main or project shortcut menu.

The build process is accompanied by a progress dialog and can also be followed in the console window.

Once this has been done the application can be run in its target emulator. To do this the Run Symbian OS Application option is selected from the Run As item on the main Run menu or the project's shortcut menu.

This automatically starts the emulator.

In the 3rd Edition emulator the HelloSymbianOne application has been installed in the "Installat." Folder, from where it can be selected and run.

Carbide.c++ has encapsulated the entire Symbian application build process into a few simple commands. While complex applications will require the modification of various build parameters and associated project files, Carbide.c++ has done a good job of hiding the complexity of the Symbian build process, so it no longer requires a concerted effort to master.


The next process step is to create the application as a signed package for installation on a 3rd Edition device, which we will look at in the third part of this tutorial. The next article will review the project structure and components for an S60 3rd Edition application.

Possibly Related:

Last Updated ( Friday, 28 April 2006 )
 




HOT Symbian News!
Google
 

Contribute to the SymbianOne Symbian Search!

Mobile Technology Blogs

 
blogger.gif

Mobile Technology Blogs, News, and RSS Feeds... Looking for more news, tips, commentary, and blogger discussions? Check out these excellent feeds for more on wireless technologies and mobile application development. Got a feed to share? Please tell us about it...

SymbianOne Sponsored Links and Events
  • Navigation and Location Europe 2009 -  Europe's largest gathering of Navigation & Location pioneers is back for the 5th year. The conference strives to keep one step ahead of the market by providing the most up to date business information. June 10-11, 2009
  • Where 2.0 Conference 2009  - The O'Reilly Where 2.0 Conference will pinpoint how far location technology has reached, explore the boundaries of geospace, and point the way into the location frontier at the Fairmont Hotel in San Jose, CA, May 19-21, 2009. O'Reilly Media and program chair Brady Forrest invite proposals for conference sessions, workshops, demos, and panels for Where 2.0 2009.

 LBSZone.com - for developers interested in mobile location-based services
Geospatial & LBS News - Stay abreast of geospatial technologies with daily updates

See Your Message Here

Featured Symbian Career

Featured Careers...

    Post your Symbian Career Ad for free at SymbianOne!





    Visit the  SymbianOne MOSH

    Syndicate


    WINKsite
    add to google reader
    Subscribe in NewsGator Online
    SymbianOne Feedster
    Technocrati
    SymbianOne Bloglines
    AvantGo

    SymbianOne on AvantGo!
    Get Daily Updates!


    SymbianOne FeedBlitz

    Popular Stuff!

    Must Read Articles
    Symbian Tools & SDKs


     

    Social Bookmark
    GISuser facebook group

    gisuser on twitter 

    gisuser on Qik 

    Anything Geospatial Blog

    jaiku


     

    Top of 

Page

    (c)2003 - 2008, SymbianOne - All rights reserved