sony-smartwatch

push-button in Android Wear smartwatch

和自甴很熟 提交于 2020-02-08 09:53:25
问题 Is there in SDK Android Wear a Class representing a push-button (the push button on the side of the watch) If it's possible, can I assign a comportment and a method to this push-button, the push-button can be pressed, or clicked, by the user to perform an action. I found this http://developer.android.com/reference/android/widget/Button. Html but I think this Class representing a button widget, not what I want 回答1: No, there is no way (at this point) to override action for power off button.

push-button in Android Wear smartwatch

核能气质少年 提交于 2020-02-08 09:53:06
问题 Is there in SDK Android Wear a Class representing a push-button (the push button on the side of the watch) If it's possible, can I assign a comportment and a method to this push-button, the push-button can be pressed, or clicked, by the user to perform an action. I found this http://developer.android.com/reference/android/widget/Button. Html but I think this Class representing a button widget, not what I want 回答1: No, there is no way (at this point) to override action for power off button.

Sony SmartWatch - How to know if LED is supported by an accessory device?

霸气de小男生 提交于 2020-01-16 00:54:33
问题 Which API can tell me the information about if LED is supported by a specific accessory device? 回答1: Neither the SmartWatch nor the Smart Wireless Headset Pro contains a LED. However, you can use the Capabilities API to get information about the device capabilities, as described in chapter 4 in the SDK. The URI for the content provider of the LED is defined in the utility classes, as well as an URI for the content provider of the Capabilities view. Registration$Capabilities Registration$Led

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

Sony SmartWatch2 : hooking back key

僤鯓⒐⒋嵵緔 提交于 2020-01-13 05:12:09
问题 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

How should I do to start SmartWatch Extension from the program code?

混江龙づ霸主 提交于 2020-01-09 10:59:27
问题 I want to know the method of starting SmartWatch Extension from the program code. For instance, Intent etc. I registered the script language for SmartWatch in Google Play the other day. It divides into two programs, one is registered as SmartWatch Extension(BitmapCatcher), and another is registered as smart phone application (Luarida). The script starts from a smart phone. Here, I want to start BitmapCatcher at the same time as starting the script. The way is not understood though it is

Sony SmartWatch 2 custom watch faces broken since firmware update

。_饼干妹妹 提交于 2020-01-02 04:48:05
问题 I know this is going to be a duplicate of this -> How to fix custom watch face time on Sony SmartWatch 2 after SW2 update But posting because the original question got closed due to reasons that are not clear to me. Background I have an app in Google Play ( https://play.google.com/store/apps/details?id=com.epix.smartextension.watchfaces ) which provides custom watch faces for Sony SmartWatch 2. It's been there in the store close to an year and was doing well. Problem Recently Sony rolled out

Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY : smartwatch app

落花浮王杯 提交于 2019-12-25 19:03:45
问题 I want to make a smartwach app. I used the instructions on this site: http://developer.sonymobile.com/knowledge-base/tutorials/android_tutorial/how-to-create-an-app-extension-for-sony-smartwatch-2/ I want to run the app in my phone with the usb cable, like in the website above. This the output from the console: [2014-04-06 09:54:21 - SmallAppSample] ------------------------------ [2014-04-06 09:54:21 - SmallAppSample] Android Launch! [2014-04-06 09:54:21 - SmallAppSample] adb is running

Rotating a bitmap around a pivot on a canvas

喜你入骨 提交于 2019-12-24 10:59:09
问题 I am trying to implement a watch face where a bitmap image of a hand rotates about the center of the face on a canvas. Basically in the onDraw() method, I want to be able to put an image resource onto the canvas then rotate it rotate it every second. I have logic in place to trigger the rotation every second, I am not sure how to obtain the image resource and then rotate it. Any help would be appriciated! 回答1: Basic steps: Decode your bitmap from, for example, Resources, but there are other