Skip to main content

Timeline for Issue using Async Task

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Jan 3, 2012 at 9:01 answer added rDroid timeline score: 1
Jan 3, 2012 at 4:42 vote accept yshak
Jan 3, 2012 at 4:32 comment added Lalit Poptani If you are updating UI for eg. Toast, then you have to use runOnUiThread() to peform anything on the UI, you directly can't upate the UI from the worker thread. see my answer below.
Jan 3, 2012 at 4:29 history edited yshak CC BY-SA 3.0
added 588 characters in body
Jan 3, 2012 at 4:24 comment added yshak I want to know how to handle the exceptions from a function which is executing in doInBackground.For example: a toast
Jan 3, 2012 at 4:22 comment added nala4ever Can you add your async task code as well, I guess you will need to call the Looper.prepare before the thread starts. As specified in the error.
Jan 3, 2012 at 4:21 answer added Lalit Poptani timeline score: 3
Jan 3, 2012 at 4:19 history edited yshak CC BY-SA 3.0
added 1628 characters in body
Jan 3, 2012 at 4:10 comment added Will Tate You gave us no code and no stacktrace from logcat...how are we to help you?
Jan 3, 2012 at 4:08 history asked yshak CC BY-SA 3.0