Google Chrome

Google Chrome是由Google开发的免费网页浏览器。Chrome是化学元素“铬”的英文名称,过去也用Chrome称呼浏览器的外框。 Chrome相应的开放源代码计划名为Chromium,而Google Chrome本身是非自由软件,未开放全部源代码。

CalledFromWrongThreadException



更新UI的位置不正确,线程解析数据    handler. mssage 中更新 


android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.








02-25 14:58:01.250: E/AndroidRuntime(17082): FATAL EXCEPTION: Thread-1450
02-25 14:58:01.250: E/AndroidRuntime(17082): android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:4692)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewRootImpl.focusableViewAvailable(ViewRootImpl.java:2649)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:714)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.View.setFlags(View.java:8382)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.view.View.setFocusableInTouchMode(View.java:5673)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.widget.AdapterView.checkFocus(AdapterView.java:717)
02-25 14:58:01.250: E/AndroidRuntime(17082): at android.widget.ListView.setAdapter(ListView.java:461)
02-25 14:58:01.250: E/AndroidRuntime(17082): at com.huashang.huishang.activity.FragmentPageMessageTab$2.run(FragmentPageMessageTab.java:87)
02-25 14:58:01.250: E/AndroidRuntime(17082): at java.lang.Thread.run(Thread.java:856)




posted @ 2014-02-25 17:43  freedragon  阅读(372)  评论(0编辑  收藏  举报