如何在使用 extras 存储库中的库的 ovi 商店应用程序上发布?
如何在使用 extras 存储库中的库的 ovi 商店应用程序上发布?
我尝试创建一个主屏幕小部件,但我停止了这个问题。
how to publish on ovi store application which uses library from extras repository ?
I tried create a homescreen widget and I stopped on this question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,N900 默认情况下启用了 Extras 存储库,因此,如果您的应用程序是免费的,并将该库列为依赖项(您应该在 Depends: 字段中列出该库)
debian/control 文件中的二进制包
http://www.debian.org/doc/debian -policy/ch-relationships.html#s-binarydeps)
那么安装过程中应该不会有问题。
不幸的是,这不适用于付费应用程序,因为应用程序管理器不处理
软件包依赖项,除非它们已安装在手机上。在这种情况下,考虑到可能的冲突,您需要在包内提供船舶库,或者链接库
静态地添加到您的应用程序中,或者将您的应用程序拆分为引擎和数据两部分,使引擎免费并依赖于库,而数据包将付费。后者使安装更加复杂,应适当考虑。
Actually Extras repository is enabled in N900 by default, so in case your application is free and list the library as a dependency (you should list the library in Depends: field
of your binary package in the debian/control file
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps)
then there should be no problem during installation.
Unfortunately, this won't work for paid applications as Application Manager doesn't deal
package dependencies unless they are already installed on the phone. In this case you would need ship library inside your package taking into account possible conflicts, or link library
statically to your application, or split your application into two parts: engine and data, making engine free and depending to the library, while data package will be paid. The latter makes installation more complicated and should be considered appropriately.