Been reading the android development website, these forums, and even tried to look at the sourcecode with no luck, so hoping someone can chime in:
I'm trying to build a Mission Critical device using android as the OS, and need an app to be the absolute highest priority at all costs (above all things). I know how android puts apps in certain priority levels given their services or components, and also how you can use android.os.process method setThreadPriority() and assign a value of THREAD_PRIORITY_URGENT_DISPLAY (to map it to a high user-level linux kernel scheduler process).... what I can't find is how exactly does the android internal algorithm to determine what priority levels each app is assigned, how to move them up and down, etc, works! :( There has to be a state machine or some sort of algorithm in android's app management system that determines how all these thread prioritization works. Any help would be appreciated. -Sherv -- 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

