作为更新发布同一应用程序的两个版本,针对不同手机进行了优化

发布于 2024-11-19 21:26:57 字数 312 浏览 10 评论 0原文

我面临的情况是,我必须发布同一应用程序的两个变体,这些变体针对不同设备进行了优化(一个针对特定 HTC,另一个针对所有其他设备)
我希望能够发布两个应用程序,指定哪个应用程序与哪个设备兼容。

我将使用 Manifest 文件来控制它吗?
如果是,那怎么办!?

典型的情况是,我有一个单独的 HTC Inspire 4G 版本,以及每个其他手机的另一个版本。
在以下情况下,我如何将这两个上传到市场:

  • 该应用程序应该是升级
  • 该应用程序是新上传的

I am in a situation where I have to publish two variants of the same application which are optimized for different devices (one for a specific HTC, other for all the other devices)
I want to be able to publish both the apps specifying which one is compatible with which device.

Is it something that I'll be controlling with the Manifest file?
If yes, then how!?

The typical scenario is, I have a separate version for HTC Inspire 4G, and another version for every other phone.
How do I upload these two to the market when:

  • The app is supposed to be an upgrade
  • The app is a fresh upload

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

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

发布评论

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

评论(2

默嘫て 2024-11-26 21:26:57

唯一的区别是相间吗?您或许可以使用替代布局来组合项目。

如果你绝对必须有两个单独的应用程序,我认为你可能必须将项目的内容复制到一个新文件中,因为android市场不允许你发布具有相同包名的多个应用程序(它会阻止你)上传任何具有相同命名空间的应用程序并要求您升级第一个应用程序)。

我认为您唯一的选择是以某种方式将代码合并到一个应用程序中,以某种方式在内部区分设备,或者创建两个完全独立的项目,并以相似的名称发布它们。

Is the only difference in the interphases? You could probably combine the projects using alternate layouts.

If you absolutely MUST have two separate apps, I think you may have to copy the contents of your project over to a new file, since the android market won't allow you to publish multiple apps with the same package name (it will stop you from uploading any app witht the same namespace and ask you to upgrade the first app instead).

I think your only options are to somehow combine the code into one app that distinguishes between the devices internally somehow, or to create two completely seperate projects, and publish them under similar names.

只涨不跌 2024-11-26 21:26:57

不幸的是,市场上的每个应用程序都必须有独特的包。因此,根据设备将单个应用程序升级到不同的应用程序是不走运的。

我建议您在代码中为 Inspire 4G 进行调整。我怀疑差异并没有那么显着,不足以保证两个应用程序。

Unfortunately, each application on market must have unique package. So you are out of luck to upgrade single application to different ones depending on device.

I'd suggest that you make accommodations for Inspire 4G in your code. I suspect that differences are not that significant to warrant two applications.

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