Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Updating an arrayAdapter outside of UI thread  RSS feed

 
Joris Bolsens
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know you are not able to do this, but when I tried the runOnUIThread that did not work (crashed app)
I am now trying it a different way (returning the items I want) but this is causing my app to hang.

All I want is to retrieve email subjects and put them in a list. What am I doing wrong?

myActivity.java:


JavaMail.java




LogCat


Thanks all.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!