Re: [android-developers] Re: android loop problem

2011-07-07 Thread wu mark
But It doesn't display the screen that I display in the loop. I don't think it had executed the loop part. Mark 2011/7/6 saurabh chatterjee chattsaur...@gmail.com may be your code is getting entangled in an infinite loop. have you tried using break ? On Jul 6, 4:51 pm, mark2011

Re: [android-developers] Re: android loop problem

2011-07-07 Thread Kostya Vasilyev
Based on what you've explained so far, I think you are running your loop on the main (UI) thread, and are thus blocking it from doing anything else, which includes updating the UI. Have you read this: http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html#Threads

[android-developers] Re: android loop problem

2011-07-06 Thread saurabh chatterjee
may be your code is getting entangled in an infinite loop. have you tried using break ? On Jul 6, 4:51 pm, mark2011 androidmark2...@gmail.com wrote: Dear All :    I met a strange event. I write a simple code to display a screen once the user click a button to start. In the screen, the user