sony-smartwatch

Sony Smartwatch SW2 - accelerometer output rate

佐手、 提交于 2019-12-04 21:42:47
From the sample code of the SDK, I can read the accelerometer at 4-5Hz by using: registerListener(listener, Sensor.SensorRates.SENSOR_DELAY_FASTEST, Sensor.SensorInterruptMode.SENSOR_INTERRUPT_ENABLED); but it does not work when using registerFixedRateListener(). How to read accelerometer data from SW2 with higher rate? for example 10Hz, 20Hz... Thanks. I'm able to read values on my SW 2 at 10Hz with disabled interrupts using sensor.registerFixedRateListener(mListener, Sensor.SensorRates.SENSOR_DELAY_FASTEST); However, 10 Hz seems to be the limit. 来源: https://stackoverflow.com/questions

Sony SmartWatch2 : hooking back key

元气小坏坏 提交于 2019-12-04 13:43:07
In control extension for Sony SmartWatch2, I can receive back key through onKey, but how can I prevent extension from terminating? I want to hook back key to do some process, but pressing back key terminates extension. In SampleAdvancedControlExtension, it seems like it is blocking back button by starting new control, but I'm only using single control. public void onKey(int action, int keyCode, long timeStamp) { Log.v(SampleExtensionService.LOG_TAG, "onKey"); if (action == Control.Intents.KEY_ACTION_RELEASE && keyCode == Control.KeyCodes.KEYCODE_BACK) { Log.d(SampleExtensionService.LOG_TAG,

XML Layout on Sony Smartwatch

徘徊边缘 提交于 2019-12-02 02:18:50
问题 I am having issues getting a proper layout on the 128x128 smartwatch screen. This is an interesting issue because the layout on the watch is clearly inheriting the screen density from the device it's running on. So when ran on the tablet vs the handset the layout elements on the watch are sized completely different. I'm basing my layout on one of the sample projects in the smart extensions SDK. With this xml: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas

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 get PPG(Photoplethysmogram) data from a smart watch via android?

那年仲夏 提交于 2019-11-30 14:21:28
I want to develop a health care app using Android smart watch devices that have an optical heart rate sensor. Examples of such devices are: Samsung gear live, Moto360, LG G watch R, etc. To do this, I need the raw PPG signal data from those devices, but I found that the Android API only supports heart rate data by BPM unit. Does anyone know if the raw signal data is accessible, and if so, how do I get access to that data? Yes, it is possible (at least on a Samsung mobile device such as the S5, S6 etc.). See this link: http://developer.samsung.com/galaxy#sensor-extension From the Samsung

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

SmartWatch sample installation

最后都变了- 提交于 2019-11-29 12:51:50
I would like to compile the sample provided by Sony for his SmartWatch. I followed the instructions in this page . But when I added the the SmartExtensionUtils project I saw lot of errors like: com.sonyericsson.extras.liveware.aef cannot be resolved to a variable . Instead this import com.sonyericsson.extras.liveware has no problem. Did someone find and solve this issue? In order for the EightPuzzleGame to compile, you need to add the following library projects that are available in the SDK: SmartExtensionAPI SmartExtensionUtils SmartExtensionInternalUtils In your case, it is the API project

SMS notifications in iOS6

孤者浪人 提交于 2019-11-29 02:28:31
I found SMS notifications are not supported in iPhone ,but I found a video on Pebble Smart watch which sends SMS notification and iMessage notification . Here are the video and the application links. http://www.razorianfly.com/2012/12/07/pebble-officially-announces-sms-and-imessage-support-for-iphone-video/ http://www.iphoneincanada.ca/iphone-news/pebble-watch-now-supports-iphone-sms-and-imessage-video/ https://itunes.apple.com/us/app/pebble-smartwatch/id592012721?mt=8 I also found on the web SMS notifications are supported only in iOS6 but not iOS5 Previous stackoverflow and other links on

SmartWatch sample installation

核能气质少年 提交于 2019-11-28 06:06:58
问题 I would like to compile the sample provided by Sony for his SmartWatch. I followed the instructions in this page. But when I added the the SmartExtensionUtils project I saw lot of errors like: com.sonyericsson.extras.liveware.aef cannot be resolved to a variable . Instead this import com.sonyericsson.extras.liveware has no problem. Did someone find and solve this issue? 回答1: In order for the EightPuzzleGame to compile, you need to add the following library projects that are available in the

“No, missing feature: WATCH” when I try to run my smartphone app with wear app?

爷,独闯天下 提交于 2019-11-27 05:42:57
问题 I have a smartphone app with a wear app that has been packaged inside of it, similar to the first two steps of this section: https://developer.android.com/training/wearables/apps/packaging.html#Studio I was originally told that my smartphone wasn't running an SDK large enough to support the app (my phone was using KitKat, apparently I needed API 20), so now I am using my Nexus 7 with Android L preview, and this problem has appeared: I have a smartwatch emulator and tablet running, and both