Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Updating an arrayAdapter outside of UI thread

 
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