如何在组织内部部署 Android 应用程序?

发布于 2024-10-03 17:45:14 字数 963 浏览 1 评论 0原文

我想在组织内部部署 Android 应用程序。

目前,在开发应用程序时,我使用电子邮件来传播我的应用程序。然后,用户必须安装 Android SDK,为手机安装驱动程序,最后运行 adb install MyApplication.apk 来安装应用程序。

有没有更好的方法在内部部署Android应用程序?甚至可以管理更新吗?

我阅读了 论坛表明应用程序可以部署在网络服务器上。然后用户只需下载应用程序进行安装即可。但是,当我尝试简单地将 .apk 文件上传到我的网络服务器并使用手机上的浏览器访问该 URL 时,我收到了以下消息:

<Uknown>
mydomain.com
Cannot download. The content is not supported on the phone.

那么我该如何解决此问题?我必须在网络服务器上设置某种 MIME 类型吗?在 http://slideme.org/sam2.apk 上执行与上面链接中所述相同的操作好的,安装开始。

我在Android开发者上能找到的唯一信息发布你的应用程序 是:

您可以使用托管服务(例如 Android Market)或通过 Web 服务器发布应用程序。

I would like to deploy an Android application internally in an organization.

For the moment while developing the application, I have used e-mail to spread my application. Then the user has to install the Android SDK, install a driver for his phone and finally run the adb install MyApplication.apk to install the application.

Is there any better ways to deploy Android applications internally? Is it even possible to manage updates?

I read on a forum that applications can be deployed on a webserver. Then the user only has to download the application for installing. But when I tried to simply upload an .apk file to my webserver and visit the URL using the browser on my phone I got this message:

<Uknown>
mydomain.com
Cannot download. The content is not supported on the phone.

So how can I fix this? Is there any kind of MIME-type I have to set on the webserver? Doing the same thing as described in the link above on http://slideme.org/sam2.apk works fine, and the installation starts.

The only thing I can find about this on Android Developers Publishing Your Applications
is:

You can publish your application using a hosted service such as Android Market or through a web server.

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

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

发布评论

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

评论(1

疯了 2024-10-10 17:45:14

尝试使用 application/vnd.android.package-archive 作为 MIME 类型。

Try application/vnd.android.package-archive as the MIME type.

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