Sony SmartWatch 3(SWR50)不再返回传感器.TYPE_LINEAR_ACCELERATION [英] Sony SmartWatch 3 (SWR50) no longer returns Sensor.TYPE_LINEAR_ACCELERATION

查看:218
本文介绍了Sony SmartWatch 3(SWR50)不再返回传感器.TYPE_LINEAR_ACCELERATION的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个使用Sensor.TYPE_LINEAR_ACCELERATION的应用程序.

I am writing an application which uses the Sensor.TYPE_LINEAR_ACCELERATION.

mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION);

直到最近都在工作,但是每个SensorEvent现在都返回一个包含以下内容的值float数组:NaN,NaN,NaN.

This was working up until recently however each SensorEvent now returns a values float array containing: NaN, NaN, NaN.

我在LG手表上尝试了相同的代码,并且它返回的值与我期望的一样.

I have tried the same code on an LG watch and it is returning values as I would expect.

SWR50上的软件版本为:

The versions of software on the SWR50 are:

Android Wear 1.1.1.1929530

Android Wear 1.1.1.1929530

Google Play服务7.5.71(1955121-534)

Google Play services 7.5.71 (1955121-534)

Android OS 5.1.1

Android OS 5.1.1

请注意,Sensor.TYPE_ACCELEROMETER返回值(已在开发人员选项的制造商"(菜单启动器)应用中确认),因此加速度计似乎没有损坏.

Note that the Sensor.TYPE_ACCELEROMETER returns values (which was confirmed in the Manufacturer (Menu-Launcher) app in the developer options) so the accelerometer doesn't appear to be broken.

索尼的任何人都可以确认此问题吗?否则,如果它坏了,也许我需要买一块新手表.

Can anyone from Sony confirm this issue? Otherwise maybe I need to get a new watch if it is broken.

推荐答案

听起来很奇怪,它会突然停止工作.

Sounds strange that it would just stop working all of a sudden.

  1. 您最近是否安装了任何固件更新?
  2. 您是否尝试过重启手表?
  3. 您是否尝试过恢复出厂设置?

这篇关于Sony SmartWatch 3(SWR50)不再返回传感器.TYPE_LINEAR_ACCELERATION的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆