moto-360

Get data from Smartwatch Android Wear to Smartphone

你说的曾经没有我的故事 提交于 2020-01-14 19:26:12
问题 I have made some apps (pedometer, heart rate, audio recorder) for the moto360 with android wear. everything works fine, but I don't know how to save the data on the watch and how to access the data on the smartphone. I have managed to send messages to the watch, but I can't send data from the watch to the phone. I can save my data on the smartphone, but I don't know how to manage it on the smartwatch. can someone show me a tutorial or an example? thank you so much! edit: The following Code

Get data from Smartwatch Android Wear to Smartphone

眉间皱痕 提交于 2020-01-14 19:25:08
问题 I have made some apps (pedometer, heart rate, audio recorder) for the moto360 with android wear. everything works fine, but I don't know how to save the data on the watch and how to access the data on the smartphone. I have managed to send messages to the watch, but I can't send data from the watch to the phone. I can save my data on the smartphone, but I don't know how to manage it on the smartwatch. can someone show me a tutorial or an example? thank you so much! edit: The following Code

Android wearable GPS on moto 360 gen 1

ぃ、小莉子 提交于 2019-12-12 05:16:27
问题 I would like to develop a app on the moto 360 that gets the users current gps coordinates, is this possible even though they say it doesnt have built in gps connectivity? The reason I ask is it also says you can "track your watches location".. How would this be possible if it doesnt have gps? Does it just use the host device for this? 回答1: Is this possible even though they say it doesnt have built in gps connectivity? Yes it is possible, based on the document "Detecting Location on Android

Android Wear Error ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null}

允我心安 提交于 2019-12-01 16:46:21
问题 I've wanted to make an easy wearable app and connect through the data layer. Everything works fine with the handheld module (using: S5), but the wearable (using: Moto 360) always throw the error: onConnectionFailed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null} The play services at the handheld are up-to-date I've added compile 'com.google.android.gms:play-services:7.3.0' to both, the handheld, as the wear build.gradle. The wearable Activity: @Override

Is it possible to connect Android Wear device with another BLE device directly without interaction of phone device?

巧了我就是萌 提交于 2019-11-30 18:17:16
I am looking for an Advice to connect two BLE devices directly with each other without interference of phone device.I know that in normal scenario watch will connect with mobile device's Bluetooth and then it will work for normal data transmission process. In my case I want this thing directly between two BLEs.I have One BLE device which is Android Watch(Sony,MOTO or ANY Android Wear) and the another is BLE belt or Strap. Now in current scenario thing are working fine if watch is paired with Mobile phone,Strap can pass data through it and watch will receive those data. But is there anyway from

Is it possible to connect Android Wear device with another BLE device directly without interaction of phone device?

▼魔方 西西 提交于 2019-11-30 03:07:51
问题 I am looking for an Advice to connect two BLE devices directly with each other without interference of phone device.I know that in normal scenario watch will connect with mobile device's Bluetooth and then it will work for normal data transmission process. In my case I want this thing directly between two BLEs.I have One BLE device which is Android Watch(Sony,MOTO or ANY Android Wear) and the another is BLE belt or Strap. Now in current scenario thing are working fine if watch is paired with

Trouble debugging android wear over bluetooth - Unable to connect to localhost

别来无恙 提交于 2019-11-28 17:10:14
问题 I can't debug over bluetooth with my Moto360. To start I have enabled "ADB debugging" and "Debug over Bluetooth" on the Moto360. I have also enabled "Debugging over Bluetooth" via the companion phone. It shows: Host: disconnected Target: connected When I connect the companion phone via USB, I can see it connect to adb using: ./adb devices Then I try: ./adb forward tcp:4444 localabstract:/adb-hub and then: ./adb connect localhost:4444 which returns: unable to connect to localhost:4444:4444 I

How to access heart rate sensor in Android Wearable?

泄露秘密 提交于 2019-11-28 11:04:24
I am having problems accessing heart rate sensor on Moto 360. I tried following things : Sensor mHeartRateSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_HEART_RATE); mSensorManager.registerListener(this, mHeartRateSensor, SensorManager.SENSOR_DELAY_NORMAL); and then implement SensorEventListener interface : @Override public void onSensorChanged(SensorEvent event) { String TAG = "tag"; Log.i(TAG, "--------------------------"); Log.i(TAG, msg); Log.i(TAG, ""+ event.sensor.getType()); Log.i("live","--------------"); And what is strange to me I do not get any messages at all (not only heart

How to access heart rate sensor in Android Wearable?

风格不统一 提交于 2019-11-27 05:56:17
问题 I am having problems accessing heart rate sensor on Moto 360. I tried following things : Sensor mHeartRateSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_HEART_RATE); mSensorManager.registerListener(this, mHeartRateSensor, SensorManager.SENSOR_DELAY_NORMAL); and then implement SensorEventListener interface : @Override public void onSensorChanged(SensorEvent event) { String TAG = "tag"; Log.i(TAG, "--------------------------"); Log.i(TAG, msg); Log.i(TAG, ""+ event.sensor.getType()); Log