[英]How can I deploy android apps using a manifest file, similar to iOS devices, without using an app store?
I want to deploy an Android app in a similar fashion as the Wireless, Over-The-Air method that exists for iOS devices. 我想以与iOS设备现有的无线空中下载方法类似的方式部署Android应用程序。 That is, setup a web page and the user clicks a link from his device that includes the manifest (xml) file, containing information on how to download the app.
也就是说,设置一个网页,用户单击设备上的链接,该链接包括清单(xml)文件,其中包含有关如何下载该应用程序的信息。 This works well on iOS devices, and I thought Android may have something similar.
这在iOS设备上效果很好,我认为Android可能也有类似的东西。
How do I go about this? 我该怎么办?
Thank you for any help. 感谢您的任何帮助。
Please the comments above. 请上面的评论。 Have the correct MIME settings, link to the apk, and make sure unknown sources is checked on the device to allow non-market apps.
拥有正确的MIME设置,链接到apk,并确保在设备上选中了未知来源,以允许非市场应用。
Since you seem to imply an app market / store is not involved in the iOS case, it seems you might be talking about an offline-cacheable "web app" rather than a native iOS application. 由于您似乎暗示某个应用程序市场/商店不参与iOS案例,因此您似乎在谈论的是可离线缓存的“网络应用程序”,而不是本机iOS应用程序。
The android equivalent is: on devices where the offline web app capability exists, just visit the same web page (referencing an html5 manifest with appropriate mime type, etc) you are using for iOS. android等效项是:在具有脱机网络应用程序功能的设备上,只需访问用于iOS的同一网页(引用具有适当的mime类型的html5清单等)即可。 Perhaps you will ultimately end up with platform-specific refinements, but the basic idea is portable.
也许最终您将获得针对特定平台的改进,但是基本思想是可移植的。
Or perhaps you just mean that a desktop/laptop need not be used to open obtain the app. 或者,也许您只是意味着不需要使用台式机/笔记本电脑来打开该应用程序。 On Android, that has been the case since day 1 - the primary market client is on the device, with over-the-air install.
在Android设备上,从第一天开始就是这种情况-主要的市场客户在设备上,并且通过无线方式进行安装。 You can send an android device to the market with a market:// url.
您可以使用market://网址将android设备发送到市场。 The ability to trigger an install from a web browser running on something other than the device is a more recent and still secondary capability on android.
从设备以外的其他设备上运行的网络浏览器触发安装的功能是android上的一项更新且仍是次要的功能。
Finally, android does offer the ability to side load native applications, something that has no iOS equivalent outside of jailbreaking or having a developer account. 最后,android确实可以侧面加载本机应用程序,这种功能在越狱或拥有开发者帐户之外都没有与iOS等效的功能。 Most of the responses seem to concentrate on this, but it's not clear if that is what you are actually asking for.
大多数答复似乎都集中在此问题上,但尚不清楚这是否是您真正要的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.