简体   繁体   English

在手机上获取磨损应用列表

[英]Getting list of wear apps on Phone

I am trying to get a list of Android Wear apps on the phone. 我正在尝试在手机上获取Android Wear应用的列表。 I can get a list of Apps on the phone but I don't know how to distinguish the apps which have companion wear apps and which don't. 我可以在手机上获取应用程序列表,但我不知道如何区分具有随身穿戴应用程序和没有穿戴应用程序的应用程序。 Is there a way to get a list of wear apps installed on the phone? 有没有办法获取手机上已安装的磨损应用程序列表?

Is there a way to get a list of wear apps installed on the phone? 有没有办法获取手机上已安装的磨损应用程序列表?

Wearable apps are installed of the watch, not on the handheld and, AFAIK , the only way is to run the same snippet of code you run on the handheld to retrieve the applications installed on the watch. 手表上安装了可穿戴应用程序,而不是在手持设备上安装,并且AFAIK唯一的方法是运行与在手持设备上运行的相同代码段,以检索安装在手表上的应用程序。 Then you could use a WearableListenerService , to get the result back in the handheld. 然后,您可以使用WearableListenerService ,将结果返回到手持设备中。 But in the end you need a Wearable application of your own 但是最后,您需要自己的可穿戴应用程序

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM