简体   繁体   English

如何在不使用应用商店的情况下使用类似于iOS设备的清单文件来部署android应用?

[英]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.

相关问题 如何使用 Cordova 文件插件读取/写入 Android/iOs 设备子目录中的文件? - How can I read/write files in Android/iOs devices subdirectories using Cordova File Plugin? 使用自签名证书签署应用程序是否会影响哪些 Android 设备可以在 Play 商店中看到该应用程序? - Does using a self-signed certificate for signing apps influence which Android devices can see the app in the Play Store? Android应用程序:如何在不使用manifest.xml并将minVersion设置为14的情况下更改操作栏的图标? - Android App: How can I change the icon of my Action Bar without using manifest.xml and setting minVersion to 14? 如果我使用Xamarin在Android设备上部署应用程序,会损坏该设备吗? - Can an Android device be damaged if I use it to deploy apps on it using Xamarin? 我可以使用IOS和Android OS上的设备控制任何APP的所有与摄像头/麦克风相关的记录(声音,图像,流等)吗? - Can i control ALL Camera/Microphone associated recordings (sounds, images, streams, etc) for ANY APPs using the devices on IOS and Android OS's? 如何在不使用PackageManager的情况下阅读Android Manifest? - How do I read the Android Manifest without using PackageManager? 我怎样才能在 google play 商店的类似应用程序类别中获得我的应用程序? - How can I get my App in the similar apps category at google play store? 如何使用 C# .Net 读取 Android apk 文件的清单? - How can I read the manifest of an Android apk file using C# .Net? 如何在Android清单文件中定位xxxhdpi设备? - How to target xxxhdpi devices in Android manifest file? 如何防止其他iOS / Android应用程序使用我的RESTful API? - How can I prevent other iOS/Android apps from using my RESTful API?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM