轻松从计算机安装 Android 应用程序?
客户正在发布一款产品(员工培训/指南),并与我们签约为 Android 操作系统创建配套应用程序。
作为一家全球性实体,其员工经常驻扎在无法访问网络的地区,因此他们通过 CD 发布产品。
他们希望用户能够选择将此配套应用程序安装到他们的个人 Android 设备(他们自己的手机/平板电脑等)上。
由于有些人位于没有网络/互联网访问的区域,因此他们非常希望能够在这张 CD 上安装 Android 应用程序。
我对使用 ADB 将应用程序安装到 Android 上有些熟悉,但印象中这需要 root。
有没有一种方法可以从计算机安装应用程序,以便非技术熟练的用户可以使用它(IE 经典安装程序应用程序,只是不同的目标)。
不想要求这些人root他们的设备,安装ADB等等。
A client is releasing a product (employee training/guide), and have contracted us to create a companion application for the Android OS.
Being a global entity that routinely has employees in areas without network access, they are releasing their product via CD.
They would like the ability for their users to optionally install this companion application to their personal Android devices (their own cell phones/tablets etc).
Since some will be in areas without network/internet access, they would really like the ability for an installer to be on this CD to install the Android application.
I am somewhat familiar with being able to install applications onto Android using ADB, but was under the impression this would require root.
Is there a method by which an application could be installed from a computer, in such a way that a non-tech savvy user could use it (IE classic installer application, just different target).
Don't want to be asking these people to root their devices, install ADB and so forth.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为 ADB 路线是自找麻烦,因为您依赖于机器上存在的正确驱动程序。有时它会工作得很好,有时则不行。
您可以在手机的 SD 卡上提供 APK,但没有一致的应用程序可用于从手机打开 APK,因此这不太可能更好。
当然,如果他们使用手机,他们有时可以访问网络吗?我怀疑您将很难找到一个好的解决方案,尽管不理想,但最好只是要求用户在获得连接时安装该应用程序?
按照这条路线,您可以通过电子邮件、网络链接、Android Market 或任何替代市场提供 APK。
请记住,解决方案的成本不仅仅在于构建它,还在于支持。我的感觉是,当您考虑是否需要帮助用户安装正确的驱动程序时,您需要寻找更好的解决方案,因为这是通往地狱的道路。
I think the ADB route is asking for trouble as you're reliant on the right drivers being present on the machine. Sometimes it'll work fine, sometimes it won't.
You could potentially provide the APK on an SD card for the phone, but there's no consistent app to use to open the APK from the phone, so that's unlikely to be any better.
Surely if they are using phones they do SOMETIMES have network access? I suspect you're going to struggle to find a nice solution, and although not ideal maybe better to just require that users install the app when they do get a connection?
Going down that route, you could provide the APK via email, a web link, Android Market, or any alternative market.
Do remember that the cost of a solution isn't just building it, but the support too. My sense is when you're looking at the possibility you might have to help users install the right driver, you need to look for a better solution as that's the road to hell.
不。
有 Sideload Wonder Machine,但我还没有尝试过,它是Windows特定的。它还仍然需要 adb 兼容的驱动程序,用户可能已安装也可能未安装在其 Windows 计算机上。
除此之外,据我所知,目前没有无网络选项。
No.
There is the Sideload Wonder Machine, but I haven't tried it, and it is Windows-specific. It also would still require adb-compatible drivers, which the user may or may not have installed on their Windows machine.
Otherwise, there are no network-less options at this time that I am aware of.
好吧,还有另一个没有人提到的选项,它不涉及处理 USB 驱动程序。顺便说一句,这只是一个 Windows 问题,在大多数 Linux 发行版中,ADB 都是开箱即用的。
此选项是通过 WiFi:
Well, there is still another option that nobody mentioned, which does not involve dealing with USB drivers. BTW, this is only a Windows problem, in most Linux distros ADB works out-of-the-box.
This option is through WiFi: