Getting Started with Symbian
This guide describes how to set up your development environment for Cordova and run a sample application. Note that Cordova used to be called PhoneGap, so some of the sites still use the old PhoneGap name.
Video Tutorials:
1. Requirements
- Windows, OS X, or Linux
There are also QT for Symbian and Symbian with Sony Ericsson) guides.
2. Install SDK + Cordova
- Download and install cygwin (Windows only). Make sure you select "make" as it is not included by default
- Donwload the latest copy of Cordova and extract its contents. We will be working with the Android directory.
3. Setup New Project
- In cygwin, navigate to where you extracted Cordova and go into the Symbian directory
4. Hello World
- Open up index.html located in phonegap/symbian/framework/www with your favourite editor.
- In the
body
tag, remove the line"Build your phonegap app here! Dude!"
and add the line<h1>Hello World</h1>
- In cygwin/terminal, type make. This will produce phonegap-symbian.wrt/app.wgz.
5A. Deploy to Simulator
- For Mac or Linux you should install Aptana Studio and Nokia WRT Plug-in for Aptana Studio. This has a browser-based javascript emulator
- For Windows you can download the S60 SDK which includes the S60 Emulator
- Load the phonegap-symbian.wrt/app.wgz file into the emulator.
5B. Deploy to Device
- Load the phonegap-symbian.wrt/app.wgz file into the device using bluetooth or email.
Done!
You can also checkout more detailed version of this guide here.