Slion.net>Dev>DataTypeRegistry
Data Type Registry
Generic data type recognizer for S60
Description
S60 software component enabling easy registration of data types. By using it, application developers save themselves from implementing their own data recognizer.
See
ForumNokiaWiki:Recognizers.
Features
- Easy data type registration using plain text file.
- Data Types application showing all data types thus registered.
Usage
- To register data types you simply need to install data types registration file in the registry directory:
c:\DataTypes\ .
- Data types registration files must be plain text.
- Data types registration files content's must be formatted according to the examples below.
- Data types registration files should be named using your application UID to avoid name conflict.
- Single registration file can contain multiple data types registration.
Registration file format
Here are some dummy examples:
[DataType::application/dummyextension]
Extension = myext
[DataType::application/dummysignature]
Signature = MySignature
Offset = 10
Here is a concrete example for registration of
MS3D file:
[DataType::application/ms3d]
Extension = ms3d
Signature = MS3D000000
Offset = 0
Engine behaviour
The Data Type Registry engine has the following behaviours:
- Initially scans the registry directory for valid registrations files and parses them.
- Rescan the registry directory when changes are detected on the file system.
- Extension check will succeed if a file name ends with a dot followed by the Extension. Case is ignored.
- Extension check gives possible recognition results.
- Signature check will succeed if the Signature is found in the file content at the specified Offset.
- Signature check gives certain recognition results.
- If a Signature is specified Extension check will be disabled.
Screenshot
- Data Types application:
Installation instructions
The SIS file provided is not signed you must get it signed yourself using
Symbian Signed Online.
For signing you will need:
- Your device's
IMEI. Get your IMEI by typing *#06# as you would dial a number.
- Tick the
ProtServ capability. The Data Type Registry needs it to run its generic data type recognizer.
Once Signed you can install the SIS on your phone.
Download
Data Type Registry v1.00(60)
Release history
| v1.00(60) |
22 May 2009 |
Fixed crash upon deletion of the registry folder |
| v1.00(46) |
20 May 2009 |
First public release |
Related topics
ProjectList,
MilkShapeViewer,
PanicObserver,
SymSdks,
BldInfMerger