Process is not the same as thread. A process can have many threads, and they all share the same data. This is really convenient, since you can reference Java objects from any thread, regardless of which thread created them. Processes, on the other hand, do not share each other's memory state - so your Java objects can't be accessed by other applications.
Note that in Android UI related framework calls have to be made from the "main" thread, called the UI thread. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 22.09.2010 20:40 пользователь "john brown" <johnbrowngreybe...@gmail.com> написал: Hello, I am trying to understand threads and how they work, and when, etc. I expected the pid in LogCat to be different in the background thread logs but the pid is always the same. Is the pid something other than the thread ID? If it is, is there a way to indicate the thread ID in LogCat? Thanks, John Brown -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en