Wednesday, July 2, 2008

Getting Carbide.c++ Environment up and running

Jump start your Symbian C++ Programming with Carbide IDE.

OS Requirements / Recommendations
Make sure that you have WinXP Service pack 2 installed.
NOTE: They claim it also runs on Win Vista but I haven't tested it.

Ingredients:
1. Download ActivePerl-5.6.1.635-MSWin32-x86 ~8M
Higher versions of Perl are NOT supported.

2. Download S60-3.2-SDK-f.inc3.2130 SDK for Symbian S60 3rd Edition Feature pack 2. ~439MB
You will need to register to nokia forum before downloading any tools

3. Download Carbide.c++ v1.3 IDE for developing applications for symbian OS. ~186MB
Carbide.c++ v3.1 Express version is for free!!!

NOTE: Carbide.c++ is based on eclipse platform (http://www.eclipse.org), so if you don't have eclipse installed please download that too. It's a good idea to also have Java 1.6 installed on your machine (In my case Java was already installed)

Installation:
1. Install Perl first (Usually its a good idea to install in directory such as C:\perl). Spaces in the directory names may cause problems later.
2. Install S60-3.2-SDK-f.inc3.2130 (Again install in directory such as C:\S60). Spaces in directory names could cause problems.
3. Install Carbide.c++, This will ask for the eclipse directory during installation.

Creating Sample Project using Carbide IDE:
Before create a sample project log on to Symbian Signed portal to request UID's for your application "https://www.symbiansigned.com"
1. Register with your email ID.
2. Request a protected UID since S60 3rd FP2 onwards signed applications is mandatory.
3. You will receive your UID immediately.

4. Create a sample project in Carbide.c++, selecting [New -> Symbian OS C++ Project - S60 3rd edition GUI Application] Menu options.
5. SDK will automatically scanned and selected for you by carbide.
6. Replace the Application UID with the one you recently got from Symbian.
7. Choose the rest as the default and proceed.
8. Build your application in the Emulator debug mode first and test it using the epoc emulator.
9. The compile your application for the Phone release [GCCE] and you will have your SIS file generated under workspace/[your project]/sis directory.

10. Upload this sis file to symbian open-signed portal along with the IMEI number of your S60 cell phone, on which you would like to test this application.
11. You will receive your signed sis via weblink in your registered email.

12. Download this sis file and install it on your cell phone. You should be ready to go!.

Enjoy your Symbian OS Programming.

Thursday, June 5, 2008

Moving Large number of files from src - dest directory in Unix

Use this command to get past the Argument List too long error.

find $source_directory -type f -name '*' -exec mv {} $dest_directory/. \;

Tuesday, January 15, 2008