Christine wrote: > The Service then uploads the file. In a background thread? Or in the thread used by Activity when calling the Service? If the latter, is the Activity using a background thread for this?
If you don't start the thread yourself, the only other thread is the UI thread. > I have replaced the aidl call to the service by > an empty call, with no effect. What do you mean by this? > My question is, can a service take so much resources that the UI > freezes for a couple of seconds? Is there a way of giving the service > a lower priority? You can give a background thread a different priority, but if the Service is doing its work on the UI thread, not only will that not help, but I suspect changing the UI thread's priority would be a Very Bad Thing in general. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

