Mark, thank you for the reply. I will look into debug. I guess it is caused by thread issue. my application has thread to update UI, at the same time phone itself is trying to update UI.
In Swing UI, we should call InvokeLater()to update already relized UI. What would be a "thread safe" way to update android UI? Thanks! On Jan 15, 5:08 pm, Mark Murphy <[email protected]> wrote: > cindy wrote: > > When my application used keybload, the display will change to > > landscape. when I close the keyboard, and change the phone to regular > > display. sometimes, my application will crash. > > What does the error log tell you? There should be a Java exception > traceback in there corresponding with your crash. You can access the > error log via adb logcat, DDMS, or the Eclipse equivalent. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

