内容提供商是我的应用程序的一部分吗?
我需要创建 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它们将是一个单一的项目。它们是应用程序框架对象,并不像您目前认为的那么重量级。
至于权限,请查看安全指南
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
要获得更详细的答案,也许您可以指定您“需要”创建什么类型的“内容提供商”、“服务”和“应用程序” - 为什么......? ..付费内容应用程序..? ..音乐下载门户..?
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..?