0

我的应用程序在某些设备上运行良好,但是当我在其他一些设备上加载它时,它会打开,但是当我启动一个活动(也需要screenOrientation="portrait")时,它会被终止。任何想法?

02-06 11:47:52.390 D/SensorManager(19387): unregisterListener::  Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41fa8a60
02-06 11:47:52.390 D/Sensors (19387): Remain listener = Sending .. normal delay 200ms
02-06 11:47:52.390 I/Sensors (19387): sendDelay --- 200000000
02-06 11:47:52.390 D/SensorManager(19387): JNI - sendDelay
02-06 11:47:52.390 I/SensorManager(19387): Set normal delay = true
02-06 11:47:52.545 D/dalvikvm(19387): GC_CONCURRENT freed 288K, 9% free 13814K/15175K, paused 12ms+2ms, total 29ms
02-06 11:47:52.575 D/SensorManager(19387): registerListener :: handle = 0  name= LSM330DLC 3-axis Accelerometer delay= 200000 Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41e23990
02-06 11:47:52.670 W/IInputConnectionWrapper(19387): getSelectedText on inactive InputConnection
02-06 11:47:52.755 W/IInputConnectionWrapper(19387): setComposingText on inactive InputConnection
02-06 11:47:52.755 W/IInputConnectionWrapper(19387): getExtractedText on inactive Input
Connection
02-06 11:47:52.830 W/IInputConnectionWrapper(19387): finishComposingText on inactive InputConnection
02-06 11:47:52.955 D/dalvikvm(19387): GC_CONCURRENT freed 361K, 9% free 13938K/15175K, paused 2ms+13ms, total 32ms
02-06 11:47:54.450 D/SensorManager(19387): unregisterListener::  Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41e23990
02-06 11:47:54.450 D/Sensors (19387): Remain listener = Sending .. normal delay 200ms
02-06 11:47:54.450 I/Sensors (19387): sendDelay --- 200000000
02-06 11:47:54.450 D/SensorManager(19387): JNI - sendDelay
02-06 11:47:54.450 I/SensorManager(19387): Set normal delay = true
02-06 11:47:54.720 W/IInputConnectionWrapper(19387): showStatusIcon on inactive InputConnection
4

1 回答 1

0

Where your screenOriention information set?

If you set programatically , maybe this give problem. You counld set AndroidManifest file in tags.

于 2013-02-18T14:00:45.687 回答