Hi
I was trying to post a toast notification in case something goes wrong
in a worker thread.
I do this by putting a handler.post(funcFailed) in the catch block
where funcFailed it a runnable and simply called a function
funcFailedshow()

funcFailedshow() is defined to be Toast.makeText(App.this,"Error in
funcfailed", Toast.LENGTH_LONG).show();

For some reason i cannot see the toast notification. Even if i replace
App.this (app is the applications name) with a getApplicationContext()
it does not work.

Could someone please help me with this.

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to