Categories: S60 | S60 3rd Edition | Symbian C++ | Testing | How To | Freeware
This page was last modified 23:56, 19 May 2008.
Application signing for Dummies
From Forum Nokia Wiki
- "I juz bout tis phon and now symbian wont let me uzit!1! gief mani baak, lpl" Hum, are you a: end user? student? freeware developer? Good, this guide is for YOU.
Contents |
Using a mobile device -vs- publishing applications for a device
The main idea behind the Symbian application model is that an end user need not care about signing applications - or about developer certificates. These are tools used by an application developer, a person or a company that develops mobile applications. In this model the two roles (developer / end-user) have the following responsibilities:
Developer company:
- create
- test
- sign
- push to market
End-user:
- purchase / download
- install
- use
How to sign applications for free?
If you are a freeware developer - or an end user with some mad coding skilz - you may want to be able to develop your own stuff for your device (or any other device for that matter, no IMEI restriction here) for free. You don't want to buy a Publisher ID, nor would you pay for any external testing or signing.
Well, this is all possible.
If your code uses only user grantable capabilities, you can self-sign it. What this means is that you call one tool (on the command prompt) to make your project; you call another to create a SIS file; you call a third to generate certificate / key pair; you call a fourth command to sign with those cert/key.
Voila! You can now publish your application, and it will install on any device! (well depending on binary compatibility and device/platform feature support, not to mention manufacturer, ofc).
Remember ESeries devices do not allow self signed application to be installed by default
The steps
To make a S60 3rd Ed (Symbian OS v9) application you have to:
1. write code (make sure you use a UID from the unprotected range, 0xe0000000 - 0xefffffff is a good starting range)
2. test it on the EMULATOR (almost as good as a real device, can be used to run demos too)
-- when your code is good enough
3. make a SIS
4. make your own certificate and key
5. sign it (the SIS file)
6. run it on the device
7. Help your fellow developer by writing a constructive post on how you have triumphed and managed to sign and share your application :)
What if this does not work?
Well, there are limitations to this model, namely, the more system critical capabilities that require certified testing of the application. Such testing will cost various amounts of money, and such testing / verification systems can be misused if not properly monitored. Hence a software publisher needs to be authenticated by a trusted party (enter the Publisher ID).
For more information on how to proceed if self-signing did not work for you, check out Symbian Signed.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| uikludges for dummies | jwevandijk | Python | 4 | 2008-07-13 12:08 |
| Signing the j2me application form javavarified.com | qasitouch | Mobile Java General | 6 | 2006-09-28 20:38 |
| Autostart application in background. | sumitv | General Symbian C++ | 24 | 2007-05-11 03:46 |
| Symbian signing got me confused | pillar | Symbian Signing, Certification and Security | 7 | 2008-04-11 16:42 |
| Socket security exception | waynej2 | Mobile Java Media (Graphics & Sounds) | 4 | 2007-03-18 13:12 |
