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. problem runnin Hello World Programme

hi there, i m trying to run " Hello World " programme , problem i am
facing is the following error when i run the programme :
" ERROR: Application does not specify a
android.test.InstrumentationTestRunner instrumentation or does not
declare uses-library android.test.runner "

before this it was givin java nullpointerexception error . i've just
formatted my mashine n b4 formatting i was not havin any problem in
runnin the programme.



Thanks in advance,
Kapil
--~--~---------~--~----~------------~-------~--~----~

2. What happened with Network LocationProvider after 1.5 CRC37 update?

The LocationProvider seems to be not working in 1.5 CRC37.
Any ideas?
--~--~---------~--~----~------------~-------~--~----~

3. using pre-coded functionality

4. Determine Google Street View Availability

5. Problem with list view item selection

6. Perspective of 0xdroid installe

7. Render OpenGL to regular View (not GLSurfaceView)