自定义内容提供商的android

问题描述:

我试图使自定义的ContentProvider使多个应用程序(活动?)可以访问它。我有一个关于如何做到这一点的几个问题,

I'm attempting to make a custom ContentProvider so that more than one application (activity?) has access to it. I have several questions about how to do this,

我如何申报在code,这是一个ContentProvider的? 如何做其他应用程序(活动?),使用或进口的ContentProvider?

How do I declare in the code that it is a ContentProvider? How do other applications (activities?) use or import the ContentProvider?

除了丰富的的开发指南的内容提供商的话题,你可以看的记事本教程注意垫样品code 有关创建自己的内容提供者的信息。

Aside from the extensive developer guide topic on content providers, you can look at the Notepad Tutorial and Note Pad sample code for information on creating your own content providers.