Hello,
I want make service intercept when a user load a program, for that i'm use PackageName insisde of a service.
Now i use StartServiceAt every 500ms and look if the program is load, and when screenoff (PhoneEvents library) change to high 6000ms and comingback screenon change to 500ms. But that use a hi battery. (before that im use timer, but the people kill all process and finaly the timer)
is possible have a activity user when user touch screen or doing anything with phone ???
I want make service intercept when a user load a program, for that i'm use PackageName insisde of a service.
Now i use StartServiceAt every 500ms and look if the program is load, and when screenoff (PhoneEvents library) change to high 6000ms and comingback screenon change to 500ms. But that use a hi battery. (before that im use timer, but the people kill all process and finaly the timer)
is possible have a activity user when user touch screen or doing anything with phone ???
Last edited: