简体   繁体   English

独立的 Android Wear 1.x 应用程序是否需要配套应用程序?

[英]Do standalone Android Wear 1.x apps require a companion app?

I have an Android Wear app (a watchface) that was originally created before Wear 2.0, so it is embedded in a phone APK.我有一个最初在 Wear 2.0 之前创建的 Android Wear 应用程序(表盘),因此它嵌入在手机 APK 中。 I am working on porting it to 2.0, and keeping it backwards compatible.我正在努力将其移植到 2.0,并保持向后兼容。 It is standalone and requires zero connection to a phone.它是独立的,需要与手机零连接。

I understand that for Wear 2.0, the only thing needing to be published for a standalone app is the Wear APK.我知道对于 Wear 2.0,独立应用程序唯一需要发布的是 Wear APK。 I have been reading through Google's documents and recommendations for moving 1.x apps to Multi-APK instead of embedded.我一直在阅读 Google 的文档和关于将 1.x 应用程序移动到多 APK 而不是嵌入式的建议。 They are a bit vague, however, on if a standalone Wear 1.x app even needs a companion app.然而,对于独立的 Wear 1.x 应用程序是否需要配套应用程序,它们有点含糊。 I'm asking about this because it seems strange that we would need a dummy app on the phone that does literally nothing, if the Wear app is now its own APK.我之所以问这个,是因为如果 Wear 应用程序现在是它自己的 APK,我们在手机上需要一个实际上什么都不做的虚拟应用程序似乎很奇怪。

From my understanding, that is the case, unfortunately.根据我的理解,不幸的是,情况确实如此。 Since there is no Play Store app on Wear 1.0 watches, it's not possible to install the standalone app directly.由于 Wear 1.0 手表上没有 Play Store 应用程序,因此无法直接安装独立应用程序。 So a user needs to install the companion app on the phone, and Play Services should install the Wear app if there is a Wear 1.0 watch connected.因此,用户需要在手机上安装配套应用,如果连接了 Wear 1.0 手表,则 Play 服务应安装 Wear 应用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将 Android 嵌入式 Wear 应用程序 1.x 更新为 2.0 - Update Android embedded Wear app 1.x to 2.0 从配套应用中更改Android Wear中的Watchface? - Changing Watchface in android Wear from companion app? 包装用于Android Wear 1.x和2.0的单独Wear APK - Packaging separate wear apks for android wear 1.x and 2.0 非独立(配套)Wear OS 应用程序是否仍然允许在 Play 商店中提交,或者它们总是被拒绝? - Are not-standalone (companion) Wear OS apps still allowed for submission on the Play Store, or are they always rejected? 如何共享独立的Android Wear应用进行测试? - How to share standalone Android Wear App for testing? 删除应用程序更新中的Android Wear 1.x支持 - Removing Android Wear 1.x support on your application update 在不打开伴侣应用的情况下将数据获取到Android Wear - Getting Data To Android Wear Without Opening Companion App 发布 Wear OS 表盘和 Android 配套应用 - Publish Wear OS watch face and an Android companion app 如何在Android Wear独立应用中将URL加载到ImageView中? - How to load URL into ImageView in a Android Wear Standalone App? Android Wear 2独立应用程式DataLayerApi和Google Play发行 - Android Wear 2 standalone app DataLayerApi and Google Play distribution
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM