Only the original thread that created a view hierarchy can touch its views (Android)

Have you experiencing this problem? Usually in internet connection.

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

we can handle it using Handler class.

follow this link to see the example usage :

http://www.ibm.com/developerworks/opensource/library/os-android-networking/

About these ads