[android-developers] Creating dialogs from a thread

2010-01-21 Thread Dirk Vranckaert
I'm working on an application which loads some data from the net in a thread. However when something goes wrong (no internet connection or sth) I'dd like to create a dialog to show an error message to the user. However my code works fine not using threads but creating a dialog from my thread makes

Re: [android-developers] Creating dialogs from a thread

2010-01-21 Thread TreKing
On Thu, Jan 21, 2010 at 11:56 AM, Dirk Vranckaert dirkvrancka...@gmail.comwrote: So does anyone of you guys knows what I am doing wrong here? Can't you create a dialog from within a thread? No. If so, what's the best way of handling my exceptions here? There are various options, but you