企业版单击式 Android 应用程序安装/升级

发布于 2024-12-09 12:55:13 字数 766 浏览 0 评论 0原文

  1. 我已经构建了一个 Android 应用程序,供我公司(又名企业)的员工使用。
  2. 我不希望通过 Android 市场(或任何其他市场,除非是我自己的市场)分发此应用程序。
  3. 我想我的最终用户对移动设备上的软件分发、Android 操作系统和一般计算机知之甚少。
  4. 我对单击安装/升级感兴趣。
  5. 我希望 APK 文件在安装后将无法访问/不可传输。

到目前为止我尝试过的: 我创建了一个 APK,将其放在我自己的服务器上并受用户密码保护,并将 MIME 类型添加为 android 包存档... 我的用户可以登录服务器并下载APK文件。

从现在开始,一切都变得一团糟(我检查了不同的设备和操作系统版本): 1. 有些设备在安装后会立即显示“下载”文件夹,有些则不会(这种情况下新手用户会立即迷失方向)。 2. 某些设备具有不同类型的文件管理器,因此如果您单击下载的 APK,则不同设备的行为会有所不同。 3. 单击下载的 APK 可能与双击同一 APK 具有不同的行为。 4. 某些设备在升级前需要卸载,而另一些设备则不需要。 5.等等...

以上所有内容使得安装对于我的大量用户来说非常困难甚至不可能。

我正在寻找单击安装:我向用户发送一个链接,他单击该链接,下载并安装应用程序(很高兴有:(高级)用户无法访问 APK )。

我想要类似于 iPhone Enterprise Distribution 的东西(您进入公司的服务器,单击链接,正在下载并安装应用程序)。

如果您创建了某种简单的安装,请分享您的经验。

谢谢。

  1. I've built an Android application that will be used by the employees of my company (aka Enterprise).
  2. I do NOT want this application to be distributed via Android Market (or any other Market unless it is my own Market).
  3. I suppose my end users know very little about software distribution on mobile devices, about Android OS, and computers in general.
  4. I'm interested in a single-click installation/upgrade.
  5. I prefer that the APK file will be inaccessible/nontransferable after the installation.

What I've tried so far:
I've created an APK, put it on my own server protected by user-password, and added MIME type to be android package archive...
My users can log in to the server and download the APK file.

From now on it's a total mess (I've checked on different devices and OS versions):
1. Some devices will show the Downloads folder immediately after the installation, and some won't (in which case a newbie user gets lost immediately).
2. Some devices have different kinds of File Managers, so if you click on the downloaded APK, the behavior is different from device to device.
3. Click on the downloaded APK might have different behavior from double-click on the same APK.
4. Some devices will require uninstall before upgrade, while others won't.
5. etc...

All the above makes the installation very hard to impossible for a large number of my users.

I'm looking for a single-click installation: I send a link to a user, he clicks the link, the application is downloaded and installed (and nice to have: the (advanced) user does NOT have a way to access the APK).

I want something similar to the iPhone Enterprise Distribution (you get to company's server, click on a link, the application is being downloaded and installed).

If you've created some kind of easy installation, please share your experience.

Thank you.

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

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

发布评论

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

评论(2

压抑⊿情绪 2024-12-16 12:55:13

您必须创建一个“可安装”链接,即单击该链接时会生成一个 HTTP 回复,其中 Content-type 标头设置为 application/vnd.android.package-archive

这通常是通过将 .apk 文件类型映射到服务器上的 application/vnd.android.package-archive MIME 类型来完成的。您使用什么类型的 HTTP 服务器?

You have to create a "installable" link, i.e. a link that when clicked produces a HTTP reply with Content-type header set to application/vnd.android.package-archive.

This is usually done by mapping the .apk file type to application/vnd.android.package-archive MIME type on your server. What kind of HTTP server are you using?

昇り龍 2024-12-16 12:55:13

我已经为这个问题找到了解决方案。我的解决方案是将下载链接通过电子邮件发送到所有设备,并附有该文件的链接。他们下载并启动它,进入设置检查“从未知来源安装”,再次启动 APK (...),然后安装。
升级顺序要简单得多,我在应用程序中有一个硬链接指向最新版本的 apk,下载开始并自动启动安装。

只要 APK 使用相同的密钥进行签名,并且版本代码已更新,您就不会有任何“卸载问题”问题

I have worked on a solution for this problem.. My solution is to email a download link to all devices with a link to the file. They download and start it, go to settings check "install from unknown sources", start the APK again (...), and install.
The upgrade sequence is much simpler, I have a hard link in the app that points to the latest version of the apk, the donwload starts and automatically laucnhes the install.

AS LONG as the APK is SIGNED with the same key, and the version code is updated you wont have any problem with the "uninstall issue"

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