Monday, March 22, 2010

Handler In Android

Handler is a verry useful and powerful component in Android. Some special features of Handler are,



->If handler is created without any parameter, then it will be created in the same thread itself.

->We can pass data to handler using message



I created one application, which is using handler efficiently. In which, an image is blinking for one second.

So if we need to create a seperate thread for handler, first we need to create a thread and create the handler inside it.

No comments:

Post a Comment

Androidians