sherry wrote: > Thanks again. I'm confused. How can lower the thread priority can let > me know if the screen is at HOME?
Stop focusing on one technical solution (finding out when the device is on the home screen) and focus on the business objective: you want to minimize interference between your application and other running applications. Lowering your thread priority is one way to achieve that business objective, without having to worry about what exactly is running. In particular, it will not matter whether the home screen is active or not. After all, not everybody returns to the home screen and leaves their phone in that state, so your intended solution (do work when the device is on the home screen) will not work for a significant number of users. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---