Symbian
Symbian OS Library

FAQ-1336 How do I use UIDs allocated from www.symbiansigned.com?

[Index][spacer] [Previous] [Next]



 

Classification: General Category: Symbian Signed
Created: 11/09/2005 Modified: 11/10/2005
Number: FAQ-1336
Platform: Not Applicable

Question:
How do I use UIDs allocated from www.symbiansigned.com?
I am not sure exactly how to use the UIDs in my application allocated to me. What are the letters for?


Answer:
Most UIDs in Symbian OS are represented using hexadecimal symbols. Hexadecimal is a numerical system with a radix or base of 16 written using the symbols 0–9 and A–F. You can find more information on hexadecimal (and how to convert between hexadecimal and decimal representations) on the internet – e.g., http://en.wikipedia.org/wiki/Hexadecimal.

    Symbian Signed (www.symbiansigned.com) allocates UIDs as a range of hexadecimal values. The portal will always allocate the UIDs in a range – even if only one UID is requested. This applies to both protected and unprotected UIDs. For example:

      In order to use the UIDs in your application, you need to split the range allocated from the portal into individual hexadecimal UIDs, and copy/paste each new UID value in your application where appropriate e.g. .pkg, .mmp files, font definitions, ECOM resource files etc., or within the application itself.

      If you are unfamiliar with hexadecimal values the easiest way to get the range as a set of individual UIDs is to convert the start and end values of the UID range into decimal using a scientific calculator. You can then easily fill in the intermediate UID values in the range in decimal. When you need a new UID, simply convert the next decimal value in your range to hexadecimal and use it in your program.

      For demonstration only, the tables below show several ranges as individual UIDs, both in hexadecimal and decimal.
      UID Range : 0x20000087 - 0x20000087 (1 UID)
      Number Hexadecimal representation Decimal representation
      1 0x20000087 536871047
      UID Range : 0x20000037 - 0x20000039 (3 UIDs)
      Number Hexadecimal representation Decimal representation
      1 0x20000037 536870967
      2 0x20000038 536870968
      3 0x20000039 536870969
      UID Range : 0x20000088 - 0x2000008C (5 UIDs)
      Number Hexadecimal representation Decimal representation
      1 0x20000088 536871048
      2 0x20000089 536871049
      3 0x2000008A 536871050
      4 0x2000008B 536871051
      5 0x2000008C 536871052
      UID Range : 0x2000008D - 0x20000096 (10 UIDs)
      Number Hexadecimal representation Decimal representation
      1 0x2000008D 536871053
      2 0x2000008E 536871054
      3 0x2000008F 536871055
      4 0x20000090 536871056
      5 0x20000091 536871057
      6 0x20000092 536871058
      7 0x20000093 536871059
      8 0x20000094 536871060
      9 0x20000095 536871061
      10 0x20000096 536871062