android-wear-data-api Questions

4

Solved

I am trying to send a simple message from my Android wear app to my phone app using the Wearable.MessageApi. This is my onConnected callback from GoogleApiClient on the Wear device. final Pendin...
Davie asked 20/11, 2015 at 1:46

2

I'd like to read the heart rate sensor data on an Android Wear smartwatch. The documentation makes it seem like the heart rate sensor only reports two things: Heart rate (in beats per minute) Eit...
Vladikavkaz asked 5/12, 2014 at 4:1

1

After carefully following the instructions in this post: How to detect when android wear device gets disconnected? I finally managed to get my phone to detect when the wearable is connected using...

1

Solved

I added a new android wear module based on this Google doc but I am getting the error described in the title. Here is my layout. <?xml version="1.0" encoding="utf-8"?> <android.support.w...
Eudemonia asked 7/12, 2018 at 22:4

2

Solved

Trying to send a message from an emulated mobile device to an emulated wear device. I'm able to pair the wear device through the Android Wear app and verify that onPeerConnected of the wear device ...
Heed asked 9/8, 2017 at 14:44

2

Solved

I've implemented a WearableListenerService in both my main app and the companion Wear app. In the manifests, the service needs to be declared as android:exported="true" (or not declared at all and ...
Ably asked 23/7, 2014 at 15:5

4

i developing an app for android wear. Below code with explanation of the problem if(mGoogleApiClient.isConnected()){ K.i("Always called!"); Wearable.NodeApi.getConnectedNodes(mGoogleApiClient)....
Ligula asked 13/8, 2014 at 0:27

3

I'm trying to setup a Google Wear app, so on my mobile side, I'm trying to create a GoogleApiClient that uses the Wearable API, but I get an error saying I need to update (SERVICE_VERSION_UPDATE_RE...
Weig asked 20/9, 2014 at 17:17

1

Solved

When I try to build my apk, it gives me error saying Error:(190) Error: The com.google.android.gms.wearable.BIND_LISTENER action is deprecated. This is my AndroidManifest looks right now &...
Serviceman asked 29/4, 2016 at 9:2

1

Solved

I want to make bidirectional data transfer between Android Wear and Handheld. All seems to be good except triggering onDataChanged on Handheld. It triggers only then I plug in\out USB cable, connec...
Intrusion asked 15/11, 2015 at 5:32

4

Solved

I have been trying to push data to the android wear emulator. But all in vain. My listener on the emulator is not receiving any calls whatsoever. If anyone else has tried working on wear and pushin...
Hardware asked 10/7, 2014 at 12:7

6

Short Summary: I am attempting to send data from an Android Wear watch to an Android phone using PutDataRequest and GoogleApiClient. Logs seem to show the data is sent successfully, but onDataChang...
Hock asked 19/1, 2015 at 22:6

1

Solved

What would be the best way to uniquely identify a specific Wear-device? I'd like to store a preference per device on the phone and thus need an identifier that is static. I would expect that the No...
Monopteros asked 25/9, 2014 at 7:51

0

I am using Channel to send audio data to handheld from the wear. However, when I wrote data into the channelstream, the program sometimes was stuck at the code where I write data into the stream an...
Invade asked 13/9, 2015 at 0:30

1

Solved

I've been battling with the Android Wear Message API all day today and have finally accepted I need some help with this. My app is very straightforward. The Mobile portion consists of a MainActivi...
Gilgamesh asked 12/1, 2015 at 22:7

2

Solved

I would like to resize large images for connected Android Wear device. I don't want to transmit large images over Bluetooth. Is there some generic way? I don't want to hardcode screen size for a sp...
Overissue asked 25/7, 2014 at 13:43

1

Solved

When I read about communication between an Activity and Service, I found that we can use either IBinder Messenger AIDL I am interested in the first two. So when I tried implementing this to co...
Stargell asked 21/10, 2014 at 4:59

2

Solved

I'm try to build a wear-app for my existing app. I already have an SQLite Database in my Handheld-App, now i want to try to use them in my wear app. Is their any possibility to send the database t...
Crossbow asked 24/9, 2014 at 16:13

1

Solved

I am just learning how to develop for Android Wear, I have created a full screen Activity for Smart Watches and in my mobile part of the application I get some JSON data and create a list of custom...

1

Solved

I'm trying to send a String array from my phone to my wear, I've created a service on my phone that is supposed to send the data with this code : public class SendDataService extends Service { pr...
Expressway asked 20/8, 2014 at 19:42

1

Solved

I'm trying to figure out how to sync some data from the phone to the Android Wear device and I've read the article on developer.android.com on Data Items however I'm still not clear on exactly how ...
Tirol asked 8/8, 2014 at 4:25

2

Solved

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 and...
Cida asked 22/7, 2014 at 18:11

1

Solved

I'm extending one of my apps to work with Android Wear, and I need to send 4 bitmaps to Wear. I'm using the DataApi and DataMap to do this and it is currently working fine. My question is, how lon...
Tableau asked 10/7, 2014 at 0:10

1

Solved

I'm testing the Wearable Data Layer Api as described in the Android tutorial. There is a low level API based around DataItem, which can have only a byte array as payload, so the training recommend...
Marianomaribel asked 6/7, 2014 at 23:21

1

Solved

I want to sync preference between handhelds and wearables. I implement sample code on handheld app. PutDataMapRequest dataMap = PutDataMapRequest.create("/count"); dataMap.getDataMap().pu...
Walburga asked 6/7, 2014 at 12:11

© 2022 - 2024 — McMap. All rights reserved.