English 中文(简体)
• 如何进口gin子
原标题:How to have a plugin import UTI types

I m working on a video sharing application that can load plugins that share to different places (Youtube, Twitvid, Facebook, etc.) I have a plugin that reads in a custom file type. We ll call it a .foo file with some information about the video being shared. So I put this foo UTI type in the imported UTI type section of the plugin bundle s Info.plist.

如果我正确理解,发射服务处就通过Info.plist,并在开放时登记进口和出口的UTI型仪器。

How can I get launch services to register my custom UTI types when it loads the plugin? Is there an api call I can make to have the plugin register those itself?

最佳回答

我完全认为不存在这种机制。 你的供述可以允许在公开小组中提供它想要的任何文件,而且你可以让它接受发射服务的任何档案,并在运行时拒绝接受不知名的档案,但你不能登记类型,例如,护堤会考虑你对pl形式的“建议”,而不是任意的档案。

我强烈建议: 落实强化要求

问题回答

暂无回答




相关问题
jQuery - ScrollTo and Serial Scroll not working together

I have tested the scrollTo() plugin, but I need a way to stop the scrolling animation, so I am looking at serialScroll(). Here is what I used with scrollTo: $( #scroller ).scrollTo( 1000px , 3000); ...

jQuery deconstructors for plugins?

I m using the Galleria plugin inside an Accordion plugin to display images in a super cool way. A problem occurs, however, when I open up a new tab (in the accordion) then come back to the gallery tab....

XPCOM Security issues

I m developing a Firefox plugin using XPCOM, I ve not yet read all the docs, but as far as I can see, A plugin is simply a DLL that provides services via a XPCOM interface and interacts with the ...

Ruby on Rails plugin development process

I m considering developing aspects of a website as Rails plugins for reuse. My question is about the development process. Since each of these plugins will provide a "slice" of functionality, should ...

help mongrel wont start

I have decided to switch from Restful authentication to authlogic.. so what I did was delete every file and folder that got installed when I downloaded the plugin.. now when I try to "ruby script/...

Basic MEF workflow/usage

I m looking to a framework which will allow me to have a simple plugin system in my .NET application. It seems MEF is the framework which Microsoft is endorsing, and will become part of .NET 4 (it ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

java plugin cache and dynamic IP host

I m trying to use Amazon S3 and Amazon Cloudfront CDN to deliver the jar files of my applet application. I m seeing several cache misses of my jars by the java plugin. This is a show-stopper for me, ...

热门标签