输入数据时,Android EditBox响应速度变慢

时间:2013-07-26 07:56:00

标签: java android xml performance mobile

我在Galaxy S3上测试我的Android应用程序。我有一个表格,如编辑框,收音机,下拉..当我编辑任何EditText键盘响应缓慢。当我单独运行表单时,它表现良好。

这是LogCat的日志

07-26 12:39:46.925: D/SensorManager(3165): unregisterListener:: Trklfufi 9 budiwrd5mrfo5WirfulblrwuFmfulTrklfufi$KfukwiFmfulTrklfufiRvht@,*b(a+e8
07-26 12:39:46.925: I/SensorManager(3165): Set min delay = 200000
07-26 12:39:46.925: I/SensorManager(3165): Before sending... delay = 200000
07-26 12:39:46.925: D/Sensors(3165): Remain listener = android.view.OrientationEventListener$SensorEventListenerImpl@419e6320
07-26 12:39:46.925: I/Sensors(3165): sendDelay --- 200000000
07-26 12:39:46.955: D/SensorManager(3165): JNI - sendDelay
07-26 12:39:46.985: D/SensorManager(3165): registerListener :: handle = 0  name= MPU-6050 Accelerometer delay= 200000 Trklfufi 9 budiwrd5mrfo5WirfulblrwuFmfulTrklfufi$KfukwiFmfulTrklfufiRvht@,))b..,8
07-26 12:39:47.015: W/IInputConnectionWrapper(3165): getSelectedText on inactive InputConnection
07-26 12:39:47.045: W/IInputConnectionWrapper(3165): setComposingText on inactive InputConnection
07-26 12:39:47.045: W/IInputConnectionWrapper(3165): getExtractedText on inactive InputConnection
07-26 12:39:48.446: D/dalvikvm(3165): GC_CONCURRENT freed 1974K, 17% free 17467K/20999K, paused 3ms+56ms, total 175ms
07-26 12:39:50.428: D/dalvikvm(3165): GC_CONCURRENT freed 2035K, 17% free 17440K/20999K, paused 3ms+54ms, total 174ms
07-26 12:39:52.590: D/dalvikvm(3165): GC_CONCURRENT freed 2003K, 17% free 17442K/20999K, paused 15ms+32ms, total 166ms
07-26 12:39:55.843: D/dalvikvm(3165): GC_CONCURRENT freed 1998K, 17% free 17455K/20999K, paused 13ms+48ms, total 181ms

1 个答案:

答案 0 :(得分:0)

TabActivity在android jelly bean中被弃用,这是键盘速度慢的原因。所以我删除它工作得很好。