Example problem with the IR Exchange Manager
I've got an address book app that i'd like to have co-exist with
the default palm address book. So when beaming address book entries I have
to
consider the following senarios:
myapp -> palm default
palm default -> myapp
myapp -> myapp
Assume I'm going to use the same VCard format & I'll be using the .vcf
extension.
Ideally I want to use .vcf extension and override the default registration.
Unfortunately,
I don't seem to be able to override the default. Am I missing something
obvious? If multiple
apps register for the same file extension who get's it?
The receiver registers:
ExgRegisterData(kMyFileCreator, exgRegExtensionID, "vcf")
The sender sends
exgSocket.description = "my description";
exgSocket.name = "test.vcf";
exgSocket.count = 1;
If I set the extension to "xcf" it will go into my Address Book,
but the default addrbook needs .vcf (this verifies that I am registering
correctly)
If I add .target it acts like it requires my application on the receiving
device
even though im using the .vcf extension that the default address book
expects.
exgSocket.target = kMyFileCreator; //extension is .vcf
Thanks
Mike