Android:setting priority to application -


I wrote an Android application. There is a service in it, service is running from the background. I need to set high priority in my application One way to set the Android application high priority

You can do the setThreadPriority on the object Use the () function Additionally, you can set the priority of a personal thread with set Prioryity ()

: You can use it:

  android.os.Process .setThreadPriority (newPriority);  

or it

  threads. WrenchTrad () Set Priory (New Priority);  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -