never really done the mime mapping to applications ever by my self, but if I remember right you should define in your aif file all of the mime types and their priorities you wish the application to be used for.
Then you just make a recognizer that regognizes the files that are your mime type.
How can i programatically determine the application, which will open a specific file.
For example if i have a recognizer which will open a .doc file. How can i open the document using the default application programatically.