Reputation: 3
Today I started working on connection of Android Wear with Universal Windows Platform(focused on Windows Phone mostly). The main purpose is to send notifications from my app to watch and control music on phone from it. Since there isn't any solution to this problem on the internet, I have only 6-second video on reddit of a Lumia 950 sending notification using Windows.Devices.Bluetooth.Rfcomm to smartwatch. Is there any API of Bluetooth services by smartwatches? So I could simply create a socket at least from phone to watch? Thanks in advance.
Upvotes: 0
Views: 428
Reputation: 6791
Unfortunately, according to this forum : Android wear does not currently support Windows Phone Operating system. You might want to check if your device is compatible to pair with Android Wear. But to answer your "Is there any API to send notifications from my app to watch and control music on phone from it", Yes there is. You might want to read about the documentation - Sending and Syncing Data:
The Wearable Data Layer API, which is part of Google Play services, provides a communication channel for your handheld and wearable apps. The API consists of a set of data objects that the system can send and synchronize over the wire and listeners that notify your apps of important events with the data layer.
Here is a useful blog that talks about the capabilities of Android Wear and Media playback controls MediaSession
, MediaController
.
Hope this helps.
Upvotes: 1