Nithin wrote:
> Hi,
>
> In onCreate, I am doing like this,
>
> new Thread(new Runnable() {
>
> public void run() {
> handler.sendMessage(msg);
> }
> }).start();
>
> In Handler after doing all operations, I am updating the screen.
>
> But its not working..
Here is an example project that uses Handler successfully:
http://github.com/commonsguy/cw-android/tree/master/Threads/Handler/
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.0 Available!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en