On Sun, Apr 25, 2010 at 2:08 AM, pramod.deore <deore.pramo...@gmail.com>wrote:

> I had tried followinfg but throws exception.
>

To get the best response, you need to post what this exception is and the
full stack trace you're getting in the debugger. Otherwise how are people
supposed to figure out what your problem is?


> Please help me how to to do this?
>

In this case your problem is calling setContentView() inside of a thread.
You can't do this.
Once you've finished your file upload, you have to send a message back to
the main thread that it needs to call this function. Either by posting a
runnable on the UI thread or sending a message via the main thread's
handler.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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