All callbacks into an Activity happen on the same thread, the main UI thread. Just call, in onCreate, the method 'Thread.currentThread().getId()'
On Mar 22, 10:04 am, MobDev <[email protected]> wrote: > Hi, > I'd like to retrieve the Thread Priority of one or more Activity's... > To do so I have found the Process.getThreadPriority() method, but as > an argument you have to supply the Thread's ID... That's not that bad > because in the end I also needed to have that, only I can't seem to > find a method for that... > I have seen a Thread.getID method or something like that, but how can > this be applied to an Activity, for example the main Activity of an > Android app ? > Thanks in advance -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

