内容提供商是我的应用程序的一部分吗?

发布于 2024-08-17 18:49:34 字数 168 浏览 3 评论 0原文

我需要创建 3 件事:

  • 内容提供商
  • 服务
  • 应用程序

我想知道这三者是否将在一个项目中,或者它们将是三个不同的项目?

另外,我如何将我的内容提供商限制为我的服务和应用程序?

问候,
奔腾10

I need to create 3 things:

  • Content Provider
  • Service
  • Application

I'm wondering if these all three will be in one single project, or they will be three different projects?

Also how can I limit my Content Provider to my services and my applications?

Regards,
Pentium10

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

給妳壹絲溫柔 2024-08-24 18:49:34

它们将是一个单一的项目。它们是应用程序框架对象,并不像您目前认为的那么重量级。

至于权限,请查看安全指南

They would be a single project. They are application framework objects and not as heavyweight as you might currently believe.

As far as permissions, check the security guide

心如荒岛 2024-08-24 18:49:34

要获得更详细的答案,也许您可​​以指定您“需要”创建什么类型的“内容提供商”、“服务”和“应用程序” - 为什么......? ..付费内容应用程序..? ..音乐下载门户..?

To get more detailled answers maybe you could specify what type of "Content Provider", "Service" and "Application" you 'need' to create - and why..? ..a pay-for-content app..? ..a music-download portal..?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文