|
|
|
ตอนรันแอพมันมีเออเรอ SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length ใน logcat |
|
|
|
|
|
|
|
เพิ่มเติมส่วน logcat ครับ เผื่อท่านใดพอทราบ
08-28 09:38:13.719: D/GestureDetector(19210): [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
08-28 09:38:13.880: D/dalvikvm(19210): GC_CONCURRENT freed 328K, 10% free 9818K/10823K, paused 20ms+6ms, total 77ms
08-28 09:38:13.970: D/AbsListView(19210): Get MotionRecognitionManager
08-28 09:38:14.020: W/khrn_client(19210): init_window num_buffers 3 min undequeued buffers 1 type 1
08-28 09:38:14.020: W/khrn_client(19210): init_window window 0x4deaefc8, 480x800 hintTransform 0x0
08-28 09:38:14.040: D/SensorManager(19210): registerListener :: handle = 4 name= MPL accel delay= 200000
08-28 09:38:14.110: E/SpannableStringBuilder(19210): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
08-28 09:38:14.110: E/SpannableStringBuilder(19210): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
08-28 09:38:54.269: D/GestureDetector(19210): [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 3 mFalseSizeCnt:0
08-28 09:38:54.609: D/dalvikvm(19210): GC_CONCURRENT freed 233K, 9% free 10041K/10951K, paused 13ms+12ms, total 45ms
08-28 09:38:58.153: D/GestureDetector(19210): [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
08-28 09:38:58.583: D/SensorManager(19210): unregisterListener::
08-28 09:38:58.583: D/Sensors(19210): Remain listener = Sending .. normal delay 200ms
08-28 09:38:58.583: I/Sensors(19210): sendDelay --- 200000000
08-28 09:38:58.583: D/SensorManager(19210): JNI - sendDelay
08-28 09:38:58.583: I/SensorManager(19210): Set normal delay = true
08-28 09:38:58.593: D/dalvikvm(19210): GC_CONCURRENT freed 325K, 10% free 10192K/11207K, paused 13ms+3ms, total 44ms
08-28 09:38:58.643: W/khrn_client(19210): init_window num_buffers 3 min undequeued buffers 1 type 1
08-28 09:38:58.643: W/khrn_client(19210): init_window window 0x4de5a560, 480x800 hintTransform 0x0
08-28 09:38:58.753: W/IInputConnectionWrapper(19210): getSelectedText on inactive InputConnection
08-28 09:38:58.763: W/IInputConnectionWrapper(19210): setComposingText on inactive InputConnection
08-28 09:39:06.531: D/GestureDetector(19210): [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 4 mFalseSizeCnt:0
08-28 09:39:06.711: D/dalvikvm(19210): GC_CONCURRENT freed 206K, 8% free 10462K/11335K, paused 12ms+13ms, total 47ms
08-28 09:39:06.931: D/dalvikvm(19210): GC_CONCURRENT freed 378K, 10% free 10592K/11655K, paused 12ms+14ms, total 48ms
08-28 09:39:06.981: D/AbsListView(19210): Get MotionRecognitionManager
08-28 09:39:07.021: D/Network(19210): Network Enabled
08-28 09:39:07.051: D/dalvikvm(19210): GC_CONCURRENT freed 212K, 8% free 10930K/11783K, paused 2ms+17ms, total 53ms
08-28 09:39:07.242: W/khrn_client(19210): init_window num_buffers 3 min undequeued buffers 1 type 1
08-28 09:39:07.242: W/khrn_client(19210): init_window window 0x4e03c000, 480x800 hintTransform 0x0
08-28 09:39:07.262: W/khrn_client(19210): init_window num_buffers 3 min undequeued buffers 1 type 1
08-28 09:39:07.262: W/khrn_client(19210): init_window window 0x5456e7e0, 432x522 hintTransform 0x0
08-28 09:39:07.312: D/dalvikvm(19210): GC_FOR_ALLOC freed 167K, 8% free 11043K/11975K, paused 35ms, total 35ms
08-28 09:39:07.362: D/dalvikvm(19210): GC_FOR_ALLOC freed 179K, 10% free 11016K/12167K, paused 34ms, total 34ms
08-28 09:39:07.392: D/dalvikvm(19210): GC_FOR_ALLOC freed 152K, 10% free 11017K/12167K, paused 21ms, total 21ms
08-28 09:39:07.452: D/dalvikvm(19210): GC_FOR_ALLOC freed 152K, 10% free 11022K/12167K, paused 20ms, total 20ms
08-28 09:39:07.452: I/brcm-gr(19210): [gralloc_lock]: new usage 0x933
08-28 09:39:07.482: D/dalvikvm(19210): GC_FOR_ALLOC freed 152K, 10% free 11022K/12167K, paused 21ms, total 21ms
08-28 09:39:07.522: D/dalvikvm(19210): GC_FOR_ALLOC freed 173K, 10% free 11023K/12167K, paused 21ms, total 22ms
08-28 09:39:07.572: D/dalvikvm(19210): GC_FOR_ALLOC freed 152K, 10% free 11023K/12167K, paused 43ms, total 44ms
08-28 09:39:07.582: E/SpannableStringBuilder(19210): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
08-28 09:39:07.582: E/SpannableStringBuilder(19210): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
08-28 09:39:07.612: D/dalvikvm(19210): GC_FOR_ALLOC freed 153K, 10% free 11025K/12167K, paused 22ms, total 23ms
08-28 09:39:07.642: D/dalvikvm(19210): GC_FOR_ALLOC freed 152K, 10% free 11025K/12167K, paused 23ms, total 24ms
08-28 09:39:10.755: I/brcm-gr(19210): [gralloc_lock]: new usage 0x933
|
ประวัติการแก้ไข 2013-08-28 10:09:56 2013-08-28 10:11:04 2013-08-28 10:11:39 2013-08-28 10:12:46
|
|
|
|
Date :
2013-08-28 10:09:18 |
By :
narubet |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (XML)
<EditText
android:id="@+id/edtSearch"
android:layout_width="189dp"
android:layout_height="wrap_content"
android:inputType="textNoSuggestions"
android:ems="10" />
ลองแล้วก็ยังไม่ได้เลยครับ มันทำงานได้ทุกอย่างครับ ยกเว้นแสดงหมุดบนแผนที่ ซึ่งก่อนหน้านี้มันแสดงได้ครับ
|
|
|
|
|
Date :
2013-08-28 12:34:49 |
By :
narubet |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
เออเรอยังเหมือนเดิมครับแต่แปลกใจที่แผนที่ ทำงานได้บ้างไม่ได้บ้างครับทั้งที่โค้ดเดิม
|
|
|
|
|
Date :
2013-08-29 09:43:49 |
By :
narubet |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ผมเคยเจอ Error spans cannot have a zero length ครับ แต่เจอที่ตรงนี้นะครับ ไม่รู้จะช่วยได้ไหม
Code (Android-Java)
SpannableString content = new SpannableString("Register");
content.setSpan(new UnderlineSpan(), 0, content.length(), 0);
reg.setText(content);
ตรง
SpannableString content = new SpannableString();
ตอนแรกผมไม่ใส่ค่าก็เลยไม่ได้
พอใส่ก็ไม่Errorครับ
|
|
|
|
|
Date :
2013-08-29 14:58:54 |
By :
zFOLKz |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|