问题
I would like to develop an app on the wearable wich should be able to launch an app on my Handheld device, without the notification standard ("open on device") action. It should start the app on the handheld, even if the Handheld App is closed at the moment. Is there a solution to achieve this. I can't find it in the documentation. If I overread that in the official doc., please post a link.
回答1:
To do that, you have to use the Wearable Data Layer API.
Just send a message using the Message API from the Android Wear device to the handheld's one. The WearableListenerService of your handheld app can then launch an Intent
to open the app.
来源:https://stackoverflow.com/questions/27189341/open-corresponding-app-on-handheld-without-notification-from-android-wearable-g