Sep 10, 2011
Writing your First Mobile App for NokiaThis is the next step of my journey towards mobile development. I want to introduce you with Nokia's Symbian Web Runtime (WRT) technology, and show you how easy it is to write your first WRT widget application.
Step1 :- Write your application with HTML, CSS and JS, and test it in browser. You can start with alerting "Hello" or a simple calculator to add two digits. Feel free to use JS libraries like jQuery etc. Put all these files to a folder. For example "HelloApp".
Step2 :- Create an info.plist file in the same folder there your main HTML file is situated.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Nokia//DTD PLIST 1.0//EN" "http://www.nokia.com/DTDs/plist-1.0.dtd"> <plist version="1.0"> <dict> <key>DisplayName</key> <string>Hello</string> <key>Identifier</key> <string>com.Hello.basic.widget</string> <key>Version</key> <string>1.0</string> <key>MainHTML</key> <string>index.html</string> </dict> </plist>
In this file you must put the "DisplayName" (You can put anything), "Identifire" (Something like com.anything.anything) and your "MainHTML" ( Main HTML file name).
Step3 :- Zip your folder and rename it to ".wgz" from ".zip". As example HelloApp.zip to HelloApp.wgz
Step4 :- Install it to your Nokia S60 or S40 phone.
You can check if your Nokia device supports for WRT technology here.
If anything helps, feel free to buy me a beer.
By : Motyar+ @motyar