1. Check out our companion app, Forums for Android! Download from Google Play

Services and Widgets

Discussion in 'Application Development' started by vigge_sWe, Oct 9, 2010.

  1. vigge_sWe

    vigge_sWe New Member
    Thread Starter
    5

    Oct 9, 2010
    3
    0
    5
    I don't really get how to retrieve the result from a thread to the UI thread so I can set the result in a TextView.

    I want to retrieve items from a feed in an IntentService, then put the results in a TextView on my widget.

    I've tried interface and binding but I don't get it. I've tried AIDL, I somewhat understand it a bit more, but still don't understand it. And it does not seem to work in Eclipse.

    Anyone that could help me/guide me in understanding on how I should retrieve the results?
     

    Advertisement

  2. Take a look at Handler (Handler | Android Developers). Basically, you'll use a Handler to send a Message which will trigger the display on your UI thread.
     

Share This Page

Loading...