Android 所有功能已禁用(触摸板和头部手势)

Android 所有功能已禁用(触摸板和头部手势),android,google-glass,google-gdk,Android,Google Glass,Google Gdk,我只是在我的glass设备上创建了一个简单的应用程序 然而,在使用该设备的过程中,我听到一个声音(如嘟嘟声),屏幕关闭。设备不响应我的任何唤醒命令。我轻触触摸板,移动我的头,什么也没发生 所以我需要按下电源按钮(它会发出一点声音),然后再按一次。 现在我的杯子又活了 我猜我的应用程序是什么让它发生的。 我可能做错了什么? 我的应用程序刚刚启动,并使用Zxing读取QR码 12-19 16:33:09.109: D/dalvikvm(378): GC_CONCURRENT freed 381K,

我只是在我的glass设备上创建了一个简单的应用程序

然而,在使用该设备的过程中,我听到一个声音(如嘟嘟声),屏幕关闭。设备不响应我的任何唤醒命令。我轻触触摸板,移动我的头,什么也没发生

所以我需要按下电源按钮(它会发出一点声音),然后再按一次。 现在我的杯子又活了

我猜我的应用程序是什么让它发生的。 我可能做错了什么? 我的应用程序刚刚启动,并使用Zxing读取QR码

12-19 16:33:09.109: D/dalvikvm(378): GC_CONCURRENT freed 381K, 7% free 9732K/10375K, 

paused 5ms+10ms
12-19 16:33:09.296: I/DonManager(197): onTimerExpired!
12-19 16:33:09.296: V/EyeGestureService(197): Native call nativeIsEyeGestureDetectorRunning
12-19 16:33:09.296: I/DonManager(197): Timer expired and sensors action, so switching to state = DEFER_TO_SENSORS
12-19 16:33:09.296: V/DonManager(197): Switching from state: TIMED_FORCED_DONNED --> DEFER_TO_SENSORS
12-19 16:33:09.296: I/DonManager(197): Stopping the FORCED_DONNED timer.
12-19 16:33:09.296: V/DonManager(197): DonDoffManager: deferring to sensors.  State = DOFFED
12-19 16:33:09.296: I/DonManager(197): Calling onStateChanged(): DOFFED
12-19 16:33:09.296: V/InputHub(197): Cancelling all event sequences.
12-19 16:33:09.296: D/TouchpadManager(197): Requesting touchpad sleep mode = true
12-19 16:33:09.296: I/GlassSystemServer(197): Applying device state: doffed.
12-19 16:33:09.335: W/DonStateReceiver(456): Received com.google.glass.action.DON_STATE even though we are not registered.
12-19 16:33:09.351: V/EyeGestureService(197): Native call nativeIsEyeGestureDetectorRunning
12-19 16:33:09.351: I/GlassSystemServer(197): Broadcast of DonState doffed ending, executing onDone sequence.
12-19 16:33:09.367: V/HeadGestureManager(197): Removing listener: com.google.android.glass.server.SystemServerHub$2@417436b0 for head gesture: GLOBAL_LOOK_UP
12-19 16:33:09.367: V/HeadGestureManager(197): Removed listener: com.google.android.glass.server.SystemServerHub$2@417436b0 from gesture: GLOBAL_LOOK_UP
12-19 16:33:09.367: V/HeadGestureManager(197): Last listener for gesture: GLOBAL_LOOK_UP was removed.  Unregistering with service.
12-19 16:33:09.367: V/HeadGestureService(197): Native call nativeIsGlobalLookUpDetectorRunning
12-19 16:33:09.367: V/HeadGestureService(197): Native call nativeIsGlobalLookUpGestureEnabled
12-19 16:33:09.367: V/HeadGestureService(197): Native call nativeIsGlobalLookUpGestureEnabled
12-19 16:33:09.367: V/HeadGestureService(197): Native call nativeEnableGlobalLookUpDetector
12-19 16:33:09.367: V/HeadGestureService(197): Removing a callback for gesture: GLOBAL_LOOK_UP
12-19 16:33:09.367: V/HeadGestureService(197): Invariant enforcement for gesture: GLOBAL_LOOK_UP found numCallbacks=0 and isRunning=true
12-19 16:33:09.367: V/HeadGestureService(197): Gesture: GLOBAL_LOOK_UP no longer requires a detector, so disconnecting the service listener...
12-19 16:33:09.367: V/HeadGestureService(197): Disconnecting the hardware listener for gesture: GLOBAL_LOOK_UP
12-19 16:33:09.367: V/HeadGestureService(197): Disabling the GLU detector ...
12-19 16:33:09.375: D/audio_hw_primary(109): select_output_device: output_type: 1, base_headset_volume: 1
12-19 16:33:09.382: I/Sensors(197): Calling abortWaitForLookupGesture
12-19 16:33:09.382: I/GlassGestureService::DMPManager(197): Calling MPLSensor::waitForLookupGesture()...
12-19 16:33:09.382: V/Sensors(197): Waiting for DMP gesture...
12-19 16:33:09.382: I/Sensors(197):  done calling abortWaitForLookupGesture
12-19 16:33:09.382: I/HeadGestureService(197): handleDmpGestureDetected called with 0 at timestamp 1479823178
12-19 16:33:09.382: I/HeadGestureService(197): Detected GLOBAL_LOOK_UP gesture.  Setting NUDGE inhibition timer.
12-19 16:33:09.382: V/HeadGestureService(197): GLOBAL_LOOK_UP service listener called but not enabled.
12-19 16:33:09.390: V/HeadGestureService(197): ...Success!
12-19 16:33:09.523: I/UserEventService(561): Logging user event: [action=DOFFED, data=|ohd_active=1|don_time_ms=30002|], performance stats: [GlassUserEventPerformanceStats <  battery_charge_when_full_uah: 503000  battery_state_of_charge_uah: 498000  battery_temperature_milli_centigrade: 30000  board_temperature_milli_centigrade: 40970  frequency_scaling_governor: 1  frequencyStat <    duration_ms: 8769750    frequency_hz: 300000  >  frequencyStat <    duration_ms: 437000    frequency_hz: 600000  >  frequencyStat <    duration_ms: 175890    frequency_hz: 800000  >  frequencyStat <    duration_ms: 28140    frequency_hz: 1008000  >  reported_soc: 99  total_bytes_sent: 0  total_kernel_ms: 9410780>]
12-19 16:33:14.625: I/AlarmManager(197): AlarmManager wakeup [pkg=android, intent=Intent { act=android.content.syncmanager.SYNC_ALARM flg=0x14 (has extras) }].
12-19 16:33:17.656: D/dalvikvm(378): GC_CONCURRENT freed 401K, 7% free 9738K/10375K, paused 6ms+7ms
12-19 16:33:17.953: W/CheckinRequestBuilder(336): Unknown phone type: 0 id=null
12-19 16:33:09.109:D/dalvikvm(378):GC_并发释放381K,7%释放9732K/10375K,
暂停5ms+10ms
12-19 16:33:09.296:I/Don经理(197):准时精神!
12-19 16:33:09.296:V/EyeGestureService(197):本机呼叫本机搜索引擎检测运行
12-19 16:33:09.296:I/DonManager(197):计时器过期,传感器动作,因此切换到状态=延迟传感器
12-19 16:33:09.296:V/DonManager(197):从状态切换:定时\u强制\u加载-->延迟\u到\u传感器
12-19 16:33:09.296:I/DonManager(197):停止强制计时器。
12-19 16:33:09.296:V/DonManager(197):DonDoffManager:服从传感器。状态=脱掉
12-19 16:33:09.296:I/DonManager(197):调用onStateChanged():删除
12-19 16:33:09.296:V/InputHub(197):取消所有事件序列。
12-19 16:33:09.296:D/TouchpadManager(197):请求触摸板睡眠模式=真
12-19 16:33:09.296:I/GlassSystemServer(197):应用设备状态:已删除。
12-19 16:33:09.335:W/DonStateReceiver(456):接收com.google.glass.action.DON_STATE,即使我们未注册。
12-19 16:33:09.351:V/EyeGestureService(197):本机呼叫本机搜索引擎检测运行
12-19 16:33:09.351:I/GlassSystemServer(197):DonState的广播结束,执行onDone序列。
12-19 16:33:09.367:V/HeadGestureManager(197):删除侦听器:com.google.android.glass.server.SystemServerHub$2@417436b0头部姿势:全局查找
12-19 16:33:09.367:V/HeadGestureManager(197):删除的侦听器:com.google.android.glass.server.SystemServerHub$2@417436b0来自手势:全局查找
12-19 16:33:09.367:V/HeadGestureManager(197):手势:全局查找的最后一个侦听器已删除。正在注销服务。
12-19 16:33:09.367:V/HeadGestureService(197):本机呼叫本机GlobalLookupDetectorRunning
12-19 16:33:09.367:V/HeadGestureService(197):本机呼叫NativeisGlobalOkupGestureEnabled
12-19 16:33:09.367:V/HeadGestureService(197):本机呼叫NativeisGlobalOkupGestureEnabled
12-19 16:33:09.367:V/HeadGestureService(197):本机呼叫nativeEnableGlobalLookUpDetector
12-19 16:33:09.367:V/HeadGestureService(197):删除手势的回调:全局查找
12-19 16:33:09.367:V/HeadGestureService(197):手势的不变强制:全局查找找到numCallbacks=0和isRunning=true
12-19 16:33:09.367:V/HeadGestureService(197):手势:全局查找不再需要检测器,因此断开服务侦听器。。。
12-19 16:33:09.367:V/HeadGestureService(197):断开硬件侦听器以进行手势:全局查找
12-19 16:33:09.367:V/HeadGestureService(197):禁用GLU检测器。。。
12-19 16:33:09.375:D/音频硬件主(109):选择输出设备:输出类型:1,基本耳机音量:1
12-19 16:33:09.382:I/传感器(197):调用abortwaitforlookup手势
12-19 16:33:09.382:I/GlassGestureService::DMPManager(197):调用MPLSensor::WaitForLookup手势()。。。
12-19 16:33:09.382:V/传感器(197):等待DMP手势。。。
12-19 16:33:09.382:I/Sensors(197):已完成调用AbortWaitForLookup手势
12-19 16:33:09.382:I/HeadGestureService(197):handleDmpGestureDetected在时间戳1479823178处用0调用
12-19 16:33:09.382:I/HeadGestureService(197):检测到全局查找手势。设置微移抑制计时器。
12-19 16:33:09.382:V/HeadGestureService(197):全局查找服务侦听器已调用但未启用。
12-19 16:33:09.390:V/头手势服务(197):…成功!
12-19 16:33:09.523:I/UserEventService(561):记录用户事件:[操作=DOFFED,数据=| ohd_active=1 | don|u time_ms=30002 |],性能统计:[GlassUserEventPerformanceStats<电池电量>满时:503000电池电量>充电状态>498000电池电量>温度>毫厘摄氏度:30000电路板温度>毫厘摄氏度:40970频率>调节器:1频率<持续时间>毫秒:8769750频率>赫兹:300000>频率<持续时间>毫秒:437000频率_hz:600000>频率cystat频率cystat报告的\u soc:99总发送字节数:0总内核\u ms:9410780>]
12-19 16:33:14.625:I/AlarmManager(197):AlarmManager唤醒[pkg=android,intent=intent{act=android.content.syncmanager.SYNC_ALARM flg=0x14(有额外功能)}]。
12-19 16:33:17.656:D/dalvikvm(378):GC_并发释放401K,7%释放9738K/10375K,暂停6ms+7ms
12-19 16:33:17.953:W/CheckinRequestBuilder(336):未知电话类型:0 id=null

No,电池已满……此日志
I/DonManager(197):onTimerExpired!
可能是原因。他强制touchpad进入睡眠状态并禁用headgesturemanager。但我找不到有关此DonManager的任何信息。您是否启用了head detection?这有时会导致您看到的内容。在我的应用程序或系统中?在我的应用程序中,我不使用它。我正在向GestureDetector(如thi)列出s:我有强烈的感觉,它可能是由过热引起的。因为我没有更改代码的任何一行,我很抱歉问题不会再发生了。昨天当问题发生时,我终于收到了“玻璃必须冷却才能平稳运行”的信息。