Questions tagged [android-wear-data-api]

The Wearable Data Layer API, which is part of Google Play services, provides a communication channel for your handheld and wearable devices.

About

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.

Dependencies

  • Android 4.3 (API Level 18) or higher on the handheld device
  • Android 4.4W (API Level 20) or higher on the Android Wear device
  • Google Play services version 5.0 or higher
  • An Android Wear device or Wear AVD

Links

288 questions
3
votes
1 answer

Share objects from phone to android wear

I created an app. Within this app, you have objects which contains 2 strings (name and age) and a bitmap (avatar). Everything is saved to a sqlite database. Now I want these objects to be accessible on my smart watch. So I want to achieve that you…
P.T.
  • 3,130
  • 4
  • 19
  • 24
3
votes
2 answers

How to run the Wear app with handled app with out any signing? I mean developer debug mode

While developing wear application,Every time i am following steps Create two apps, one for wear and other one for handled app Signing wear app and place it handled app(Raw folder) again signing handled app and installing in mobile Every time doing…
Satya Attili
  • 678
  • 1
  • 8
  • 17
3
votes
2 answers

Android Wear Watchface Settings on host

I currently have an android wear watchface developed. I however would now like to create a settings section on the host app that would allow the user to customize the watchface. I am new to the android development so I am curious on the correct way…
user3842670
  • 33
  • 1
  • 3
3
votes
2 answers

Is it possible to show Google map view on Android Wear?

Is it possible to show Google map view on Android Wear? I want to show a particular location to user on map.
user3847939
  • 101
  • 4
2
votes
1 answer

Using DataClient.getDataItem as storage for wear (over DataStore)?

Please consider a scenario where some data is being transferred between a phone & watch app using DataClient and PutDataRequest. For simplicity, the data is just a string of "Hello". val client = Wearable.getDataClient(context) val data =…
zoltish
  • 2,122
  • 19
  • 37
2
votes
1 answer

Making a direct API call from WearOS watch over WiFi without phone connectivity

I am not Android/WearOS savvy so apologize in advance to those who are eager to push down arrow button. I am looking to put together a proof of concept that would read sensor data from Android/WearOS watch and send it to an Azure API EndPoint over…
MAAWD
  • 31
  • 2
2
votes
0 answers

Using DataItem to communicate between react native app and Wear OS app

I am currently working on a Wear OS app as an extension of a React Native app. I would like to communicate between the two using a something like DataItems. But I have no idea how to do this and if this is at all possible. The problem is that there…
J. Doe
  • 71
  • 5
2
votes
1 answer

How do I get my own node_id for dataclient.getDataItem(Uri)?

In my project a wearos app communicates with a handheld mobile app using dataitems. My wearOS app sends data by placing and changing a data item in the data layer. Before placing the item I want to load/get the item before potentially overwriting…
2
votes
1 answer

Transfer heart rate from smart watch to Android mobile

I would like to send my heart rate measured by SmartWatch to Android mobile. And I want to send that heart rate information to someone else's cell phone. (For example, when a grandfather who wears a wearable suddenly falls down, I want the…
2
votes
1 answer

Android DataItem Not syncing with emulator wearable

I have been googling for 5 straight days and still can't find the solution to my problem so I desperately publish my question in the hope that somebody can help me. I've been trying to send a DataItem to an emulator wearable through the WearableAPI.…
2
votes
0 answers

Android Wear Watch Face - Wake Screen Programmatically

I am receiving a message using the MessageApi. I now need to wake the wearable's screen programmatically from the onMessageReceived() event. How do I do this? I've tried using PowerManager with this code: PowerManager powerManager = (PowerManager)…
Timmo
  • 2,266
  • 4
  • 34
  • 54
2
votes
1 answer

Android Wear: DataItem API vs Channel API

I need to collect sensor data on an Android Wear device and want to stream it over to an Android smartphone. That is, I have a regular set of values that I want to send over to the phone over an extended period of time. The data rate is not high,…
Hephaestus
  • 4,337
  • 5
  • 35
  • 48
2
votes
0 answers

Android phone does no longer communicates with wearable: SERVICE_VERSION_UPDATE_REQUIRED

I suddenly lost the connectivity between my Android phone app and Android watch. This worked just a day ago. When I try to communicate the message from phone to watch, in response to the mGoogleApiClient.connect() the callback public void…
Audrius Meškauskas
  • 20,936
  • 12
  • 75
  • 93
2
votes
0 answers

Data Changes in android wear app not reflecting in mobile app

I have added increment counter in wear module and trying to pass the incremented value to the mobile module. Even though , I receive "successfully sent" response from the wear module(through google API sendmessage() called inside a service), the…
Learner_Programmer
  • 1,259
  • 1
  • 13
  • 38
2
votes
2 answers

Get data already sent from handheld to wear

I have sent data from mobile to wear as private static final String IMAGE_PATH = "/image"; private static final String IMAGE_TITLE = "imageTitle"; private static final String IMAGE_TO_SEND = "image"; PutDataMapRequest…
c__c
  • 1,574
  • 1
  • 19
  • 39