How to update View object on main thread by background thread

by Anh Khoa Nguyen Pham » Wed, 04 Mar 2009 15:56:06 GMT


Sponsored Links
 serTask class is useful but in this case, if i want to fix my problem in my
code, can you help me to do that?
I really appreciate your help !
Thanks,
NPAK

On Wed, Mar 4, 2009 at 2:15 PM, Clay <claytan...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~



How to update View object on main thread by background thread

by Anh Khoa Nguyen Pham » Thu, 05 Mar 2009 12:00:31 GMT


 i Clay,

Thank for your help so much,
Now, i can fix my problem.I insist to find way to fix my problem in my code
because it will makes my skill better than using someone's code. But next
time, i will use UserTask to do that.

Best regard,
NPAK

On Thu, Mar 5, 2009 at 9:54 AM, Clay <claytan...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


How to update View object on main thread by background thread

by Anh Khoa Nguyen Pham » Thu, 05 Mar 2009 12:05:58 GMT


 i Clay,

Thank for your help so much,
Now, i can fix my problem.I insist to find way to fix my problem in my code
because it will makes my skill better than using someone's code. But next
time, i will use UserTask to do that.

Best regard,
NPAK

On Thu, Mar 5, 2009 at 9:54 AM, Clay <claytan...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~



How to update View object on main thread by background thread

by Dianne Hackborn » Thu, 05 Mar 2009 13:10:51 GMT


 o just do something every so often, you really shouldn't use a thread (or
UserTask), just Handler.sendDelayedMessage(), which is a lot lighter-weight.

On Wed, Mar 4, 2009 at 8:05 PM, Anh Khoa Nguyen Pham <npak...@gmail.com>wrote:



--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support. All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Big doubt about Android

Hi. I am new to these stuffs. I heard Android is open source. So if i
design my own mobile device for my personal use and not for sale, will
i be able to use the Android OS in it as the base operating system?

Thank you

--~--~---------~--~----~------------~-------~--~----~

2. Is there a Gadget API for the new home screen?

The new home screen features a clock and a Google search box if one
scrolls to the left or right.

Also application icons can be placed on the home screen by long-
clicking them.

Question:
Is it possible for us to write custom gadgets for the home screen like
the clock or the Google search box? Is there a public API for this
purpose?

Peli

--~--~---------~--~----~------------~-------~--~----~

3. How to play Video/Audio Streaming Binary files on H.264 ?

4. How do I get the user's phone number?

5. Nothing new in first Android phone Just another iPhone with different OS

6. My application use the GTalkService API

7. Good to be back!