[android-kernel] Re: Detecting current foreground application

2011-11-18 Thread ヘマント
Ah, I type faster than I read.You explicitly stated that you are looking for something in the kernel to do it! I think doing this from the kernel is actually more difficult. Ultimately, it might be simpler and faster to use the framework to lookup the foreground process. Implemented well, it shoul

[android-kernel] Re: Detecting current foreground application

2011-11-18 Thread ヘマント
I just posted the link below in another thread. http://stackoverflow.com/questions/6363207/android-background-service-to-determine-foreground-application It might be useful for you too. On Nov 16, 12:22 am, Bateman <7thharmo...@gmail.com> wrote: > Hi, > I want to detect the currently executing for