I've tried to implement my own bio parser. I prepared parser dll (and corresponing 'bif' resource file). I derived my own parser from CBaseScriptParser2. It seems to work, because when I've tried to enumerate bio uids and dlls over CBIODatabase API I'm able to find the parser, load the dll and invoke the parser manually. So I expect that parser works.
Then I tried to send BIO message. I was able to send vCard without problems, but when I tried to call RSendAsMessage::SetBioTypeL() with some other uid it crash with -1 when I put here some non-existing uid. It seems to bo O.K. But when I put here UID related to my BIO message parser, which I put into corresponding resoure it leaves with -15 (KErrServerTerminated!!) and 'Main' application crash with E32USER CBase21 error on both emulator and device. It seems like Series 60 bug(
When I called
TRAP( err, message.SetBioTypeL(TUid::Uid(0x101F1122)) )
'Main' application crash on both device and emulator:
(screenshot from emulator - sorry that I was forced to cover the app name
So - is possible to send own BIO message type?
Doesn anybody tried it?
Thanks a lot for help